Is #page one of the stack context vars? I'd consider using #attr, unless you 
can confirm that it is (I always forget). Or just use #request.

Dave

--- On Fri, 7/11/08, Othon Reyes Sanchez <[EMAIL PROTECTED]> wrote:
> I have a problem with the following code:
> 
> <s:set name="aver" scope="page"
> value="one"></s:set
> ...
> <s:if test="#page.aver=='one'">
> <%-- Some code goes here --%>
> </s:if>
> 
> I don't know what is happening but the code
> conditionated by the if is not
> executed.
> If i use request instead of page in the s:set tag, and
> obiosly in the s:if
> tag, the code works fine.
> 
> can somebody tell me what i'm doing wrong?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to