struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: swith to struts-el
Date Mon, 04 Jul 2005 15:02:22 GMT
are you sure your variable is defined ?
for example
<%
  boolean b = true;
  pageContext.setAttribute("b",new Boolean(b));
%>
<c:if test="">
b is TRUE
</c:if>

Take a look at
http://www.caucho.com/resin-3.0/jsp/el.xtp
HTH,
Martin-
----- Original Message ----- 
From: "Dewitte Rémi" <remi@gide.net>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Monday, July 04, 2005 12:50 PM
Subject: Re: swith to struts-el


Hum, I tried :
Unable to find a value for "sex" in object of class
"org.apache.struts.validator.LazyValidatorForm" using operator "." (null)

Indeed, it's a DynaBean.
Have an idea ?

Le Lundi 4 Juillet 2005 16:43, Ivan Rodriguez a écrit :
> <c:if test="${myForm.sex eq 'F'}">
>
> Dewitte Rémi escribió:
> >I'd like to switch all my callic struts tags to struts-el in order to not
> > mix all tags. How do you switch logic.equal to c:if ?
> >For example :
> ><logic:equal name="myForm" property="sex" value="F">
> >
> >Thanks again...
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> >For additional commands, e-mail: user-help@struts.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message