RE: Cooperating tag

2002-12-31 Thread Karr, David
In the Struts source distribution, look at: contrib/struts-el/src/share/org/apache/strutsel/taglib/html/ELButtonTag.java Look at the "evalAttr()" and "evaluateExpressions()" methods, and the "EvalHelper" utility class. The latter is what calls the EL evaluator. Also note that you may have to w

RE: Cooperating tag

2002-12-31 Thread Randy Belknap
er 31, 2002 7:54 AM > To: Tag Libraries Users List > Subject: RE: Cooperating tag > > > In JSP 1.2, you have to specifically use the API for the JSTL > expression language engine if you want attributes to use the > "${...}" syntax. In JSP 2.0, this will happen

RE: Cooperating tag

2002-12-31 Thread Karr, David
29 PM > To: '[EMAIL PROTECTED]' > Subject: Cooperating tag > > > Should I be able to create a variable using and then > use it to set > the value of an attribute in my own custom tag? > > When I try and use "${myVar}" to pass the value to my cus

Cooperating tag

2002-12-30 Thread Randy Belknap
Should I be able to create a variable using and then use it to set the value of an attribute in my own custom tag? When I try and use "${myVar}" to pass the value to my custom tag, what receive is the literal "${myVar}". In otherwords it doesn't evaluate the expression. I've tested under Tomca