---
<c:set var="test" value="myval"/>
here you see the value:${test}
the same again<%=pageContext.getAttribute("test")%>
---
Philipp Bracher
On 13.10.2005, at 02:28, Robert Van Overmeiren wrote:
To work with Magnolia, I've found it necessary to read up a little bit
on JSTL and EL which is used quite a bit in the JSP templates. It seems
like scriptlets, or expression tags at least (<%= %>), tend to get
mixed in here and there no matter how you try to avoid them.
How can I access a variable value defined in a 'c' tag from a scriptlet
or expression?
How can I access a variable value defined in a scriptlet from a 'c'
tag?
I seem to recall doing something like that in Magnolia 1.1 with
'pageContext.request...', but can't remember.
I searched around, and tried things like 'scope="page"' and
'scope="session"', but haven't gotten anywhere.
Regards,
Bob V
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------