Re !

I have foolow the Data Module How To on the wiki, it's works ! :-D

Now I would like create contact lists !
So I create a new Type "annuaire", I create my dialogs definition like this
:
http://www.nabble.com/file/p20071159/Sans%2Btitre.png 

And finally i have a paragraphs definitions like this :
        final String DATA_FOOTER_PATH = "/annuaire/superuser/00"; // The
path/node within the data module
        final String FOOTER_TEXT_PROPERTY = "prenom";       // The property name
for the footer text

        Content footerTextNode = null;
        String footerText = StringUtils.EMPTY;  

        try {
                footerTextNode =
MgnlContext.getHierarchyManager("data").getContent(DATA_FOOTER_PATH);
        } catch (Exception e) {
                e.getMessage();
        }

        footerText =
StringUtils.defaultIfEmpty(footerTextNode.getNodeData(FOOTER_TEXT_PROPERTY).getString(),
" ");

But My New Bar ask me add contact info (nom, prenom, email, naissance, ...
like on the image) and after it redirect me on the adminCentral on Annuaire
from the menu data where there are 2 folders superuser and david (default
magnolia's user ).
I don't understand why it redirect me on AdminCentral ? 

Finally, you've noticed that my page annuaire.jsp is not perfect !!!!! I
don't succeed in listing all nodes (superuser >> Contact1 ; superuser >>
Contact 2   ; ; david >> Contact 1 etc...)

I'm so sorry, it's much works for you....
Thanks for your help and your time ! ;-)

-- 
View this message in context: 
http://www.nabble.com/Creata-a-directory-%28contact-book%29-tp20064998p20071159.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
----------------------------------------------------------------

Reply via email to