The toArray() call is obsolete. Foreach will handle many kinds of
collections...
ציטוט RR:
Given the following code:
<span jwcid="@Foreach" source="ognl:someCollection.toArray()"
value="ognl:element" index="ognl:cntr">
<table border="0" cellspacing="3" cellpadding="3" class="ognl:(cntr%2
== 0) : 'tableRowEven' ? 'tableRowOdd'">
...
</table>
</span>
How can I determine and assign the appropriate value as determined by
the ognl statement? As it is the whole thing is bypassed by Tapestry
(because it's not being processed w/o a jwcid attribute?).
Thanks,
-RR-
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]