Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using logic iterate Question

 
Alan Hermin
Ranch Hand
Posts: 290
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi ranchers....
i am using jsp1.2, and i am trying <logic:iterate > with collection property....like this :

And i tried this :


however there is an JspException thrown at run time..can any one give me what is the problem?

[ September 07, 2006: Message edited by: Ala'a Hendi ]
[ September 07, 2006: Message edited by: Ala'a Hendi ]
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Change this:



to this:

 
alan wamser
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It should look like this...

<logic:iterate id="row" name="myList">
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Alan is right... it should be name instead of collection.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic