Re: Problem with s:set and s:if

2008-07-16 Thread Othon Reyes Sanchez
thanks!!!. that solved my problem On Sat, Jul 12, 2008 at 12:23 PM, Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > Looking at the docs: > http://struts.apache.org/2.1.2/docs/ognl.html > > there is no #page notation when using struts taglibs, since they all > use OGNL syntax. > If you need to ac

Re: Problem with s:set and s:if

2008-07-12 Thread Gabriel Belingueres
Looking at the docs: http://struts.apache.org/2.1.2/docs/ognl.html there is no #page notation when using struts taglibs, since they all use OGNL syntax. If you need to access a page scoped object, you need to use the #attr notation. 2008/7/12 Othon Reyes Sanchez <[EMAIL PROTECTED]>: > #page is no

Re: Problem with s:set and s:if

2008-07-12 Thread Othon Reyes Sanchez
#page is not an instance of a user class. page is an implicit object of jsp like request, session, application, etc. i don't know what is happening if i use to put the variable "aver" in the page object it works fine. i mean, i can use EL to use this var i.e. ( ${pageScope.aver} ). I think that

Re: Problem with s:set and s:if

2008-07-11 Thread Dave Newton
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: > > value="one"> ... > > <%-- Some

Problem with s:set and s:if

2008-07-11 Thread Othon Reyes Sanchez
Hi to everyone I have a problem with the following code: <%-- Some code goes here --%> 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

Re: [Struts 2] problem with s:set and s:if

2006-09-17 Thread Ted Husted
Personally, for something like this, I try to simplify the task as much as possible in the Action. For example, I might put this sort of a loop in the Action class and create a list of milestone numbers, each with it's onw list of milestone items. So that the page can just iterate through the numb

[Struts 2] problem with s:set and s:if

2006-09-17 Thread Garner Shawn
I'm not sure what I'm doing wront but I only want to write out the table row and table data tags if it is a new milestone different than the last one. I seem to get either all or none here. Can somebody help me? MilestoneTentative Release DateFeatures