File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

logic:iterate without Collection

 
Ganesh Ramani
Greenhorn
Posts: 20
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I want to create an array-of-elements (textboxes) for which i want to include the text tag in an iterator which will produce an array-of-textboxes in my form.

Is there any optimal way to do this? How logic:iterate can be used here without a collection attribute? Please help.

Ganesh
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The logic:iterate tag will iterate over either an array or a collection. It recognizes which one is being used and makes the appropriate Java calls.
 
Lakshmanan Narayanan
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you cannot use logic:iterage tag in this senario,
whereas you an make use of c:forEach tag.

njoy.....
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic