> -----
> Betreff: Re: <LOOP> on Enumeration
>
> I meant how would we want the jsp code to look and what should it
> translate to?
>
> > ---Archie Russell <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > could just add to the gnu implementation.  how would people want
> > this to
> > > work?
> > >

How about this:

Class App
{
  public boolean getHasMoreElements()
  public Data getNextElement()
}

<useBean
  name=appBean
  type=App
  lifespan=page>
  ...
</useBean>

<loop
  while="appBean:hasMoreElements"
  property="appBean:nextElement"
  propertyElement="dataBean">
   ...
</loop>

this would directly map to the Enumeration interface.

bye & regards,
Werner

===========================================================================
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".

Reply via email to