Hi Arie,
why don't you want to use two nested loops on the same bean?
since they use different properties they wouldn't interfere with each other
and create those properties' cross product (creating all inner values for
every
outer iteration) - I asume that is what you seek.
<LOOP PROPERTY=beanA:prop1 PROPERTYELEMENT=x>
<LOOP PROPERTY=beanA:prop2 PROPERTYELEMENT=y>
x = <display PROPERTY=x> / y = <display PROPERTY=y>
</LOOP >
</LOOP >
providing a specific language construct within JSP for exactly the same
result would just
would just increase the JSP-Handler's complexity, risk for bugs, effort to
learn....
bye, Werner
> -----
> Re: Loops on multiple properties
>
> Is there a way to include more than a single property in a LOOP tag? From
> the spec it seems that the LOOP allows using a single
> property/bean and all
> its sub properties, but not several properties. I want to do
> something like
> <LOOP PROPERTY=myBean:property1 PROPERTYELEMENT=x,
> PROPERTY=myBean:property2 PROPERTYELEMENT=y>
>
> and then use x and y in the LOOP body. Is there a way to do it?
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".