AW: [opencms-dev] using variables in jsp templates
mark.miller at hema.ch
Thu Jun 5 12:18:01 CEST 2003
I think each template is its own object ... so any vars defined are
class properties .. hence are encapsulated and cannot be accessed by
Von: opencms-dev-admin at opencms.org
[mailto:opencms-dev-admin at opencms.org] Im Auftrag von Thomas Hieck
Gesendet: 05 June 2003 11:59
An: opencms-dev at opencms.org
Betreff: [opencms-dev] using variables in jsp templates
my first active participation in this list. :-)
I'm no great jsp expert- maybe its a very simple problem.
I have a jsp template and a defined variable:
<% String letters = "abcde"; %>
Using this variable in the same template work fine:
<%= letters %>
Here my problem. I load a jsp file in the template
<cms:include file="../elements/loaded.jsp" />
and want use my variable ("letters") in this loaded.jsp
Unfortunately it doesn't work.
"cannot resolve symbol: symbol: variable letters"
I use this loaded.jsp in different templates, but the
variable depends on the template.
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please
More information about the opencms-dev