Nick Pellow-san wrote:
> <logic:iterate collection="personList" id="element" property="">
> <html:text property="personTable">
> <html:name>
> person<bean:write name="element" property="personName"/>
> </html:name>
> <html:value>
> <bean:write name="element" property="personId"/>
> </html:value>
> </html:text>
> </logic:iterate>
Sorry for continuing, but...
The above sample has one thing that worries me. The charage returns before and after
the actual value. Won't they be included in the value of name? So something like:
<logic:iterate collection="personList" id="element" property="">
<html:text property="personTable">
<html:name>person<bean:write name="element" property="personName"/></html:name>
<html:value><bean:write name="element" property="personId"/></html:value>
</html:text>
</logic:iterate>
(Your mail software may wrap the <html:name>...</html:name> lines. Please assume them
both to be on single lines.)
Might be more appropriate. It's a minor detail, but one that could cause trouble
unless measures are taken to remove leading and trailing [CR]s, which somebody,
wherewhere, for some odd reason, would probably want to preserve.
--
Michael Westbay
Work: Beacon-IT http://www.beacon-it.co.jp/
Home: http://www.seaple.icc.ne.jp/~westbay
Commentary: http://www.japanesebaseball.com/