struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harring Figueiredo" <harri...@gmail.com>
Subject Re: S2: Use of s:if tag
Date Mon, 02 Apr 2007 23:34:00 GMT
Tom,

Thanks for the reply. I got it working. But in your example, I think you
have a typo (unbalanced } )

<s:if test="#session.member.name == null}">
                                                                        ^
I bet you meant
<s:if test="%{#session.member.name == null}">

Thank you again.

Harring


Both way works.

On 4/2/07, tom tom <j_lalith@yahoo.com> wrote:
>
> I normally use this,
>
> <s:if test="#session.member.name == null}">
>
> no complications, did you try above
>
> Thanks
>
> --- Harring Figueiredo <harringf@gmail.com> wrote:
>
> > Mark,
> >
> > Thank you very much for the reply.
> >
> > I did slightly different and it works.
> >
> > <s:if test="%{{#session.member.name} == null}">
> >
> > Thanks again.  I think it would be helpful to place
> > something like this on
> > the doc pages. I will see if I can get the right to
> > edit the wiki pages.
> >
> > Harring.
> >
> > On 4/2/07, Mark Menard <mark@mjm.net> wrote:
> > >
> > > On 4/2/07 4:48 PM, "Harring Figueiredo"
> > <harringf@gmail.com> wrote:
> > >
> > > > <s:if test="%{#session.member.name} == null">
> > >
> > > Try <s:if test="%{#session.member.name == null}">
> > >
> > >
> >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail:
> > user-help@struts.apache.org
> > >
> > >
> >
> >
> > --
> > Sincerely,
> >
> > Harring Figueiredo
> > Sr. Software Engineer
> > Email: harringf@gmail.com
> > Telephone: 941-256-0600
> >
> > "We never become truly spiritual by sitting down and
> > wishing to become so.
> > You must undertake something so great that you
> > cannot accomplish it
> > unaided."
> >
>
>
>
>
>
> ____________________________________________________________________________________
> Food fight? Enjoy some healthy debate
> in the Yahoo! Answers Food & Drink Q&A.
> http://answers.yahoo.com/dir/?link=list&sid=396545367
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
Sincerely,

Harring Figueiredo
Sr. Software Engineer
Email: harringf@gmail.com
Telephone: 941-256-0600

"We never become truly spiritual by sitting down and wishing to become so.
You must undertake something so great that you cannot accomplish it
unaided."

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message