How i can execute the tag bean:write ../ inside the tag html:hidden
Hi I'm using strtus 1.0.2 and Jrun 3.1, and my jsp page look like this: html:hidden property=id value='bean:write name=usuario property=id/'/ and produces this output in the web browser: input type=hidden name=id value=lt;bean:write name=quot;usuarioquot; property=quot;idquot;/gt; the tag bean:write../ is not executed, is interpreted as a literal. How i can execute the tag bean:write ../ inside the tag html:hidden ../?? --- Ferran Parra [EMAIL PROTECTED] http://www.mubimedia.com MUBIMEDIA S.L. C/ Mallorca, 275, 1r 2a 08008 BCN Tel: 93 215 21 91 / Fax: 93 215 41 21 ---
RE: How i can execute the tag bean:write ../ inside the tag html:hidden
html:hidden property=id value=bean:write name=\usuario\ property=\id\ / / -Original Message- From: Ferran Parra [mailto:[EMAIL PROTECTED]] Sent: Monday, June 03, 2002 11:28 AM html:hidden property=id value='bean:write name=usuario property=id/'/ produces this output in the web browser: input type=hidden name=id value=lt;bean:write name=quot;usuarioquot; property=quot;idquot;/gt; the tag bean:write../ is not executed, is interpreted as a literal. How i can execute the tag bean:write ../ inside the tag html:hidden ../?? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: How i can execute the tag bean:write ../ inside the tag html:hidden
JSP tags use XML syntax and so they cannot be nested as attribute values this way. You can use scriptlet notation to define tags attributes at run time : html:hidden property=id value='%= myData % / So you just have to define a scripting variable to handle your datas bean:define id=myData name=usuario property=id/ html:hidden property=id value='%= myData % / I'm not sure, but you can try this too: html:hidden property=id bean:write name=usuario property=id/ /html:hidden Nico Hi I'm using strtus 1.0.2 and Jrun 3.1, and my jsp page look like this: html:hidden property=id value='bean:write name=usuario property=id/'/ and produces this output in the web browser: input type=hidden name=id value=lt;bean:write name=quot;usuarioquot; property=quot;idquot;/gt; the tag bean:write../ is not executed, is interpreted as a literal. How i can execute the tag bean:write ../ inside the tag html:hidden ../?? --- Ferran Parra [EMAIL PROTECTED] http://www.mubimedia.com MUBIMEDIA S.L. C/ Mallorca, 275, 1r 2a 08008 BCN Tel: 93 215 21 91 / Fax: 93 215 41 21 --- -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]