struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jae K" <invr...@gmail.com>
Subject Re: S2: Use of s:if tag
Date Mon, 02 Apr 2007 20:59:54 GMT
This is unrelated to this thread, i'm sorry but I have no choice.
I asked a question on this thread this morning (5 hours ago) but the post
still hasn't shown up on user@struts.apache.org. Does it usually take so
long for a new thread to show up?

 - Jae

On 4/2/07, Harring Figueiredo <harringf@gmail.com> wrote:
>
> Hi Folks,
>
> What is the proper syntax for the tag  <s:if test=" ...">  (the example on
> http://struts.apache.org/2.0.6/docs/if.html does not really tell how to
> get
> a object from the session map and test for values.
>
> I have an object on the session map, and I can acess with
> <s:property value="%{#session.member.name}"/>
>
> However, when I test with
>
> <s:if test="%{#session.member.name} == null">
>
> </s:if>
>
> The test passes, when inf fact name is not NULL. I am sure I am now
> referencing the variable the correct way.
>
>
> Thank you for the help.
>
> hff
>

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