Just do it!
<mytaglib:mytag data="<%= someVectorObject %>">
You need to support the object type in your getter and setter
methods for the tag attribute...
public Class MyTag extends TagSupport {
private Vector data;
public void setData(Vector newData) { data = newData; }
public Vector getData() { return data; }
...
}
You also need to use <rtexprvalue>true</rtexprvalue> in your tld.
Jeff
----- Original Message -----
From: "Zsolt Koppany" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 09, 2002 8:26 AM
Subject: Passing objects to taglib file
> Hi,
>
> I understand that I can pass Strings and numbers to taglib files, but how can
> I pass other objects (for example a Vector)?
>
> --
> Zsolt
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>