off course the request scope did the trick. for completeness: in the body jsp <s:set name="progressBarPosition" value="2" scope="request"/>
and this in the menu.jsp <c:if test="${1 < progressBarPosition}"> <td id="progressbarColumn1" class="progressbarPast"> <s:url id="url" namespace="/consumer" action="selectPerformance!reEnter" /> <s:a href="%{url}">Selecteer</s:a> </td> </c:if> <c:if test="${1 == progressBarPosition}"> <td id="progressbarColumn1" class="progressbarcurrent"> <br>Selecteer </td> </c:if> <c:if test="${1 > progressBarPosition}"> <td id="progressbarColumn1" class="progressbarFuture"> <br>Selecteer </td> </c:if> tibi Matt Raible wrote: > If you use <c:set> and put the variable in the request > (scope="request"), you should be able to retrieve it's value in your > decorator or menu.jsp. > > Matt > > On Wed, Aug 12, 2009 at 6:23 AM, tibi<t...@dds.nl> wrote: > >> hi list, >> >> i have a complex menu bar which is more like a progress bar. >> step1 will be clickable after from step 2,3 and 4 >> and step 2 will be from 3 and 4 etc... >> so i want to do something like this: >> >> <c:if test="${1 < progressBarPosition}"> >> do some link menu stuff here >> </c:if> >> >> <decorator:body/> >> >> >> with this: >> <s:set name="progressBarPosition" value="1"/> >> in the jsp file which will be renderd at the body position. >> but when i put the set tag next to the if all is fine. when i put the >> set tag in the body jsp file it does not work. >> >> any idea how i can toggle the menu from the included jsp file? >> >> thanks, >> >> tibi >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net >> For additional commands, e-mail: users-h...@appfuse.dev.java.net >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net > For additional commands, e-mail: users-h...@appfuse.dev.java.net > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net For additional commands, e-mail: users-h...@appfuse.dev.java.net