struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From carmi_cd <carmi_...@yahoo.com>
Subject Re: [S2]Checkbox value
Date Fri, 14 Dec 2007 09:21:06 GMT

i already solved it..
i hope this help other new struts user

just replaced it with this one..

<s:checkbox name="userId" fieldValue="%{getUserId()}"/>  



carmi_cd wrote:
> 
> hello
> i have a checkbox which supposed to have the value of UserId property of
> the action class
> I try to do it this way but its having an exception..
> 
> here is how i've done it..
> <input name="chkUserId"  type="checkbox"  value="<s:property
> value="%{getUserId()}"/> />   
> 
> and here is the exception..
> 
> Unexpected Exception catched: Error setting expression 'chkUserId' with
> value '[Ljava.lang.String;@104496b'
> 
> please help me..thanks in advance..
> 

-- 
View this message in context: http://www.nabble.com/-S2-Checkbox-value-tp14291211p14332370.html
Sent from the Struts - User mailing list archive at Nabble.com.


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


Mime
View raw message