Jon Wynacht wrote:
...
You see, when I iterate through the ArrayList, I do something like this:
<logic:iterate id="event" name="AddEventGroup" property="events">
<html:text name="AddEventGroup" property="eventDuration"
value="<bean:write name='event' property='aDuration'/>
......
</logic>
For starters, the <bean:write/> just gives me a lot of <> stuff.
My taglibs are all good as I've tested the <bean:write/> outside of the
value="" and it works fine.
...
Well, nesting tags that way isn't legal JSP. You can't have a JSP custom
tag as the value of an attribute on another JSP custom tag. That's what
jsp:attribute is for:
<html:text ...>
<jsp:attribute name="value">
<bean:write name='event' property='aDuration'/>
</jsp:attribute>
...
Of course if you bind the html:text to your form bean properly, you
don't need to specify the value, it'll come from the form automatically.
If your form bean is named 'AddEventGroup', just delete the 'name' and
'value' attributes and it should just work.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]