You can't use one tag as an attribute value for another tag...
Quoting kalyan inuganti [EMAIL PROTECTED]:
Hi,
I have some thing like -
c:choose
c:when test='${registrationForm.dobYear !=
}'
date:complete monthName=dobMonth
Would it work?
c:set var=auxthevaluetag//c:set
othertag attibute=${aux}/
At 08:18 24/08/2004 -0400, you wrote:
You can't use one tag as an attribute value for another tag...
Quoting kalyan inuganti [EMAIL PROTECTED]:
Hi,
I have some thing like -
c:choose
c:when
Yes. In that case, aux will be a page-scoped variable whose value is the
result of trimming the string produced by the thevaluetag/ tag.
Quoting Helios Alonso [EMAIL PROTECTED]:
Would it work?
c:set var=auxthevaluetag//c:set
othertag attibute=${aux}/
At 08:18 24/08/2004 -0400, you wrote:
Guys - Thanks for the response but in the below
example,
c:set var=auxthevaluetag//c:set
othertag attibute=${aux}/
the othertag is literally taking the String ${aux}
instead of its value. I do have
rtexprvaluetrue/rtexprvalue for that particular
attribute set. Any thoughts?
Thanks
--- Kris
For JSP 1.2 and earlier, rtexprvalue means an attribute can take an expression
of the form %= ... % as its value. It's not until JSP 2.0 that the container
provides the same level of built-in support for EL expressions. If you want to
use EL expressions for attribute values in your own tags you
BTW, trying to concatenate 2 strings using a + is a common mistake - I
think it would worth some sort of FAQ/note on the specification about
how to correctly do it.
On Mon, 2004-08-23 at 14:58, Keith wrote:
c:set var=name value=${firstname} ${lastname} /
There's no JSTL concatenation