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

Reply via email to