Hi list,

I was in the process of designing tags for my pages when i came
across a problem.
I need to display a list of subjects, and for each subject, a list
of sub-sections, and for each sub-section a list of topics.
I intend to use nested tags for this. But all 3 tags would
introduce a variable named "name" into the pagecontext. Wouldn't
these variables clash in the jsp? How do I go about having a
simple nested design without having any attribute-name clashes?
I know, the simplest solution is to have different attribute names
for each tag, but does anyone have a better cleaner approach,
wherein I don't have to carefully forsee the usage of all my
tags?

I hope I wasn't too unclear...
TIA!

-Erwin

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to