[opencms-dev] Where does JSP code get {cms.???} values?

Sébastien Bianco s.bianco at eurelis.com
Thu May 7 12:37:34 CEST 2009


I'm not totally sur, but I had similar problem with Spring... 

Check if the value is stored as Attribute of the pageContext... (It's the case in SpringMVC).

Sebastien 

-----Message d'origine-----
De : opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] De la part de David Goodenough
Envoyé : jeudi 7 mai 2009 12:17
À : opencms-dev at opencms.org
Objet : [opencms-dev] Where does JSP code get {cms.???} values?

In the template-two code, in main.jsp line 62, there is the following
line:-

<c:out value="${cms.options.value['Header'].resolveMacros}" 
escapeXml="false" />

Now I the JSTL, but I do not know where it finds the value for 
${cms.options.value['Header'].resolveMacros}.  I have looked right
through the OpenCMS JSP documentation and I can find no reference to this kind
of variable in any of the examples or in the text.  There are various other
${cms.???} values used in this template as well.

Is there any documentation as to where these values are picked up 
from, and how I can set them for a site/folder/page?  It feels as though
it should be in the properties, but I am not sure.

David

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



More information about the opencms-dev mailing list