aspose file tools
The moose likes JSP and the fly likes Using JSTL forEach with a custom tag Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "Using JSTL forEach with a custom tag" Watch "Using JSTL forEach with a custom tag" New topic
Author

Using JSTL forEach with a custom tag

Jason Pepper
Greenhorn

Joined: Oct 15, 2005
Posts: 9
I want to use the JSTL <c:forEach> tag to iterate over my own custom tag.
What changes do I have to make to my tag so as to allow iteration through
the JSTL tag.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56191
    
  13

Impossible to say without more details. What does it do? Does it need to interact with the iteration variable created by the forEach tag? What about the loop status variable?

If it doesn't interact at all, you probably need to do nothing.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Using JSTL forEach with a custom tag
 
Similar Threads
Please Help this Argument solve
JSTL validation error
custom tag attribute items cannot be runtime expression
my custom tag inside struts tag.
Display tags and Jsp Scriptlet