Re: [S2]Checkbox value

2007-12-14 Thread carmi_cd
..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: [EMAIL

Re: [S2]Checkbox value

2007-12-13 Thread Johannes Geppert
input name=chkUserId type=checkbox value=s:property value=getUserId()// try this version: input name=chkUserId type=checkbox value=%{userId()}/ you can't use tags in tags. Best Regards Johannes Geppert

Re: [S2]Checkbox value

2007-12-13 Thread Alberto A. Flores
Yes, you can use tags within tags, but remember that the quotes are important: input name=chkUserId type=checkbox value='s:property value=getUserId()/'/ (Notice the single quotes with double quotes). I see two things wrong: 1. You are calling a method directly. the %{#userId} approach

Re: [S2]Checkbox value

2007-12-13 Thread Laurie Harper
Alberto A. Flores wrote: Yes, you can use tags within tags, ... To clarify: you can use JSP Custom Action tags within arbitrary HTML/XML tags; you *cannot* use JSP Custom Action tags within JSP Custom Action tags. So, input ... value='s:property... is OK, since input is not a JSP

Re: [S2]Checkbox value

2007-12-13 Thread carmi_cd
tags in tags. Best Regards Johannes Geppert - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-S2-Checkbox-value

[S2]Checkbox value

2007-12-12 Thread carmi_cd
.. 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-tp14291211p14291211.html Sent from the Struts - User mailing list archive at Nabble.com

Re: [S2]Checkbox value

2007-12-12 Thread Ray
carmi_cd 写道: 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

Re: [S2]Checkbox value

2007-12-12 Thread carmi_cd
://clraychen.blogcn.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/-S2-Checkbox-value-tp14291211p14311050.html Sent