« Return to Thread: Iterating Over a Collection on Html

Iterating Over a Collection on Html

by Rahul-36 :: Rate this Message:

Reply to Author | View in Thread


I have a bean object(a Hotel object) which contains a List (rooms for
this hotel object).
I am setting the Hotel bean to the template like this

  template.setBean(hotels);

  and

  template.appendBlock("hotels", "hotel");

  to access the bean on the template.

 However I am not able to iterate over the List object on the
template. How can I do this.

 Any help will be appreciated.

Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "rife-users" group.
To post to this group, send email to rife-users@...
To unsubscribe from this group, send email to rife-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rife-users?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: Iterating Over a Collection on Html

 
 
 
Google
rifers.org web