Check out
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg14326.html

Clay Graham wrote:

>can you give a more verbose example of how you would do this?
>
>I would like to do this too.
>
>the exact syntax is important, I cant seem to make it work.
>
>-----Original Message-----
>From:  John Raley [SMTP:[EMAIL PROTECTED]]
>Sent:  Wednesday, September 05, 2001 12:08 PM
>To:    [EMAIL PROTECTED]
>Subject:       Re: Quick question (nesting tags)
>
>Everyone wants to do this.  Unfortunately JSP syntax doesn't allow it. 
> The best you can do in a tag attribute is a scriptlet (<%= ... %>).
>
>Greg Lehane wrote:
>
>>Hello all,
>>
>>
>> In my JSP I'm iterating through a vector I've stored in my ActionForm
>>bean, I write out information from the vector to the JSP and the end
>>result is a populated table on the JSP. What I would like to do is add a
>>form to each row on the table (as I iterate through), however, I need to
>>grab info from the form in order to populate the action= part of the
>><html:form ...> tag.
>>
>> So, I attempt to write something like this for each iteration:
>>
>>   <html:form action="/browseRec?action=open&recset=<bean:write
>>name="resultSetVO" property="title" filter="true"/>"> <html:submit
>>property="submit" value="open"/>
>>
>> However, compilation throws up a "Non matching extension tags error"
>>on the JSP. Presumably because have the nested <bean:write ...> tag.
>>
>> I know that this nesting works using regular HTML, but I would rather
>>use the custom tags. Hopefully this simply involves adding commas or
>>something!
>>
>> Thanks,
>>
>>- Greg
>>
>>----------------------------------------------
>>Greg Lehane
>>Software Developer
>>H5 Technologies Inc.
>>520 3rd St. No 17
>>San Francisco, CA 94107
>>415.625.6701 ext. 610 (direct)
>>415.625.6799 (fax)
>>[EMAIL PROTECTED]
>>
>>
>
>
>
>



Reply via email to