Hi,
I'm actually developping some custom tags to clarify my jsp pages.
Of course I wrote the 'iterate' tag which takes an
iterator as attribute and I wrote 2 TagExtraInfo : one which return a
String as scriplet variable (commonly used) and an other one which
return an Object.
I have often an iterator on objects (many differents beans) and in
the 'iterate' loop i want to get properties from the bean. In order to
use the jsp:getProperty tag I'd like to use the scriplet variable
created by the iterate tag as an entry to the jsp:useBean tag. Is this
possible, or is there an other way to do this ? For now, after the
iterate tag i have a lot of
<% String val1 = ( (BeanType) newBean).getVal1(); %> So the tag use
doesn't really clean up my jsp pages. I know I could do an iterate tag
for all beans (by creating as TagExtraInfo as I have bean ) but I'd like
to have something more general.
Thanks For You Furtur Help ;)
Veronique
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets