[opencms-dev] How to send a parameter to the "<cms:contentcheck>" tag ? Please.. easy question

Rainer Steinegger steinegger at synyx.de
Thu Oct 5 15:40:51 CEST 2006


Hi Sebastian,

try this:

<%
String myParameter = "Test";
session.setAttribute("myParameter", myParameter);
<cms:contentcheck ifexist="${pageContext.myParameter}">
...
</cms:contentcheck>
session.removeAttribute("myParameter");
%>

Bye Rainer

Sebastian Lavena schrieb:
> Hi list,
>
>     I´m trying to send a parameter to the "cms:contentcheck" tag, like
> this:
>
> <%    String myParameter = "Test";
>     pageContext.setAttribute("myParameter", myParameter ); %>
>
> <cms:contentcheck ifexist="${pageContext.MyParameter}">
> ...
> </cms:contentcheck>
>
>
> And did not work.. I also tried ${MyParameter}, replacing
> ${pageContext.MyParameter}. But nothing...
>
> Somebody knows how to do it?
>
> Thanks a lot!!
>
> Sebastian
>
>
>
>
> _______________________________________________
> 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