Yes, but you need TagExtraInfo class where you would specify fully qualified
name of the class (e.g. Person in your example)
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jill Foley
> Sent: Tuesday, September 26, 2000 4:09 PM
> To: [EMAIL PROTECTED]
> Subject: taglib attribute question
>
>
> I'm reading about tag libs and I have a question about
> attributes.
>
> I read "The attribute value is supplied to the method as a
> String". But then I saw an example of a tag handler for the tag
>
> <tlt:twa attr1="value1">
>
> that had:
>
> private AttributeClass attr1;
> setAttr1(AttributeClass ac) {...}
>
> So my question is: can an attribute be any java object? Can I do
> this?:
>
> <mylib:presonHeader param="<%= personBean.getPerson() %>" />
>
> and have a setParam(Person person) in my tag handler?
>
> Thanks
> Jill
>
> ==================================================================
> =========
> 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
>
===========================================================================
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