[opencms-dev] how to access "Link URL"

Taras Vasylkevych t.vasylkevych at inmedias.de
Wed Aug 13 18:18:01 CEST 2003


Hi,

I found the solution, may be somebody else can use it as well:

   	String target = cms.getContent(nav.getResourceName()).trim();
   	if (target.startsWith("/")) {   	
   		target = cms.link(target);
   	}
target is a "link url"

Best Regards,

Taras Vasylkevych

team in medias GmbH - 02 41- 4 09 09 09
www.inmedias.de - www.allfinanz-net.de



-----Original Message-----
From: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org]On Behalf Of Taras Vasylkevych
Sent: Mittwoch, 13. August 2003 12:50
To: Opencms-Dev at Opencms. Org
Subject: [opencms-dev] how to access "Link URL"


Hi List,

if I have an CmsJspNavElement foldernav, how can I check wheather it is an
"OpenCMS link" and get a value set in "Link URL"?

Thanx a lot for help in advance.

Best Regards,

Taras Vasylkevych

team in medias GmbH - 02 41- 4 09 09 09
www.inmedias.de - www.allfinanz-net.de

_______________________________________________
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