• Post Reply Bookmark Topic Watch Topic
  • New Topic

Tag handler classes...

 
mendy smith
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am just curious to know whether it is a good idea to have many tag handler classes with not much details in each tag class or is it good to have everything we need to do in a particular tag handler class. I am not sure which is the efficient way of doing this. Let's say there is a report , in which we need to have forward , backward, first or last pages to be reviewed back and forth, then is it a good idea to have 4 tags or is is good to have 1 tag taking an attribute value(parameter value like "first", "last"...).
Thanks,
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Custom tag libraries are really for the convenience of the person writing the JSP pages, so I would use whichever method is clearest, easiest and least likely to be screwed up if you have to turn the JSP writing over to somebody else.
Bill
 
Oh the stink of it! Smell my tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!