hi,
<logic:iterate id="mybean" name="formbean"
property="collectionofmybeans"> <bean:write name="mybean"
property="aPropertyOfmybean">
<bean:define id="var" name="mybean"
property="aPropertyOfmybean"> <html:hidden
property="thishiddenfieldname" value="<%= var %>" />
</logic:iterate>
hope this helps....
--nagi
-------Original Message-------
Date: Wednesday, July
30, 2003 12:10:58 PM
Subject: Newbie
:rendering hidden fields
How do you render an input hidden field inside a
<logic:iterate> tag ..?? Actually here is what my code looks like
: <logic:iterate id="mybean" name="formbean"
property="collectionofmybeans"> <bean:write name="mybean"
property="aPropertyOfmybean"> -- Here I want to put my hidden field
like this--- <html:hidden property="thishiddenfieldname"
value=???(what should I
put here)
</logic:iterate>
I want the value of
hidden field as another property of bean "mybean"(which is used in
<bean:write> tag) suppose "anotherPropertyofmybean" .What to
do?
Thansk, Jitesh
--------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For
additional commands, e-mail: [EMAIL PROTECTED]
. |