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 should do
the trick (so long as it is part of your Action)
2. IMHO, I would almost guess you are missing the tag declaration on
your JSP page. Have you added <@ taglib uri="/struts-tags" prefix="s"/>
Johannes Geppert wrote:
<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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Alberto A. Flores
http://www.linkedin.com/in/aflores
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]