..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
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
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
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
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
..
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
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
://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
8 matches
Mail list logo