You need to modify your Tag library descriptor and put <rtexprvalue>true</rtexprvalue> inside <attribute></attribute> tags for attributes that needs to be dynamically assigned. -- Best regards, Dejan Bosanac, Software Developer DataGate Network Solutions Ltd. - http://www.datagate.net Tel: +44 8700 119090, Fax: +44 8700 119080
----- Original Message ----- From: "Praveer Mathur" <[EMAIL PROTECTED]> To: "Struts Developers List" <[EMAIL PROTECTED]> Sent: Tuesday, June 04, 2002 11:00 AM Subject: Passing Dynamic values to tags > Hi All, > > When I use tags in Apache tag libraries in my JSPs, I am able to pass > dynamic values from Java as its attributes. > Ex - <lib: form form name = <%=formname%> > > However when I write my own tags, I can only pass constant attibutes as the > tag replaces the attribute vales as as a string instead of treating it as > Java code that needs to be executed. Any clues what I need to do to make my > tags accept dynamic values? or rather what has Apache done so that it takes > it? > > Thanks in advance. > > Regards, > Praveer > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>