AW: [opencms-dev] how to include a link content ??

Prestel Marianne m.prestel at akap.de
Fri Aug 8 16:07:02 CEST 2003


Hi M and Guillaume, Hi all,

I followed your exchange of ideas.
I'm developing a jsp that displays all documents of a download-gallery
(including links and files: *.pdf, *.doc, ...).

Can I get the navigation of a named folder (not the current folder)?

Thanks for any help.

Regards Marianne
 

-----Ursprüngliche Nachricht-----
Von: Apostoly Guillaume [mailto:ApostolyG at mail.europcar.com]
Gesendet: Freitag, 25. Juli 2003 16:39
An: opencms-dev at opencms.org
Betreff: [opencms-dev] how to include a link content ??


Hi all,
 
I've developed a peace of JSP that display all documents (to be shown in
navigation from a directory) by using cms.include.
This is basically the code.
 
com.opencms.flex.jsp.CmsJspNavElement rootNe
while (rootI.hasNext())
    {
    rootNe = (com.opencms.flex.jsp.CmsJspNavElement)rootI.next();
    cms.include(rootNe.getResourceName());
    }

This works, but if i put in my folder a link to another document, instead of
a page, this doesn't work anymore.
So how can I : 
- test if the current "rootNe" is a link or a page ?
- gain access to the linked page to include it ?
 
Thanks by advance for your help,
 
Regards,
 
Guillaume.
 
_______________________________________
Guillaume APOSTOLY 
Business-Analyst EIS-BSD 
Tél: +33 (0)1.30.44.95.22 
Fax: +33 (0)1.30.44.98.08 
ApostolyG at mail.europcar.com <mailto:ApostolyG at mail.europcar.com>  
_______________________________________ 






 
_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev



More information about the opencms-dev mailing list