Yes.  There's an example in
http://java.sun.com/products/jsp/tutorial/TagLibraries16.html

<tlt:iteration name="departmentName" type="String"
     group="<%= org.getDepartmentNames()%>">


Chris Walker
Brainbench MVP for ASP
http://www.brainbench.com



> -----Original Message-----
> From: Dan Cancro [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 23, 2000 10:05 PM
> To: [EMAIL PROTECTED]
> Subject: Object attributes for custom tags
>
>
> Can you pass objects other than strings as attributes to a
> custom tag?  I'm
> thinking of something that would look something like this:
>
> <%
> Vector v = new Vector();
> v.addElement("asdfasdf");
> %>
> <myTagLib:testObjectAttribute Vector=<%v%>/>
>
> ==============================================================
> =============
> 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

Reply via email to