You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ashish Kulkarni <ku...@yahoo.com> on 2005/04/26 17:14:36 UTC
question about jstl tag c:if
Hi
I have a struts tag like below
<logic:equal name="loginForm" property="singlesignon"
value="0">
</logic:equal>
I tried to use jstl c:if tag as below
<c:if test="${loginForm.singlesignon == '0'}">
</c:if>
i get error
An error occurred while evaluating custom action
attribute "test" with value "${loginForm.singlesignon
== '1'}": Unable to find a value for "singlesignon" in
object of class
"org.apache.struts.validator.DynaValidatorForm" using
operator "." (null)
in sturts-config.xml file i have defined
<form-bean name="loginForm"
type="org.apache.struts.validator.DynaValidatorForm"
dynamic="true">
<form-property name="singlesignon" initial=""
type="java.lang.String" />
</form-bean>
So how can i use this in jstl tag library
ashish
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org