[opencms-dev]

René Toller R.Toller at decadis.de
Thu Dec 7 12:46:08 CET 2006


Greetings,
is anybody able to help me? I am new to OpenCMS and Java. I have some trouble with a script:

[String child_of = cms.contentshow(cms.contentload("singleFile", !--URI needs to be here--! ,false),"child_of");

I can't find the right tag for inserting the uri of the now opened file in there.

I tried to copy the ${opencms.uri} from this passage but it doesn't seem to work.

[<cms:contentload collector="singleFile" param="${opencms.uri}" [editable="false">	
[		<cms:contentshow element="title" />
[	</cms:contentload>

Then I tried to use:

CmsJspTagInfo.getProperty()

But I don't know how to select the property... it is described here: http://www.opencms.org/export/javadoc/core/org/opencms/jsp/CmsJspTagInfo.html#getProperty()

But I don't understand what they mean with: "This tag supports the following special "property" values"
Where do I define that I need this special property "opencms.uri"?

Thanks for any help in advance

René



René Toller
-------------
Decadis AG

Pfuhlgasse 21         Tel:      
56068 Koblenz         Fax:     
                      Mobil:   
www.decadis.de        Email:   r.toller at decadis.de
--------------------------------------------------- 

Der Inhalt dieser Email oder eventueller Anhänge ist ausschließlich für den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen und diese Mail anschließend zu löschen.

The information contained in this email is intended solely for the addressee. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. Please notify the sender immediately.



More information about the opencms-dev mailing list