>On Mon, 20 May 2002, Paul DuBois wrote:
>
>>  I'm curious whether it's possible to use dotted names as lvalues in
>>  JSTL tags.
>
>I assume you mean, "can you assign to them?"

Right, exactly.

>  Not as such.  But <c:set>
>now lets you perform the assignment you're looking for.  Instead of this:
>
>>  <c:set var="sessionScope.count" value="${sessionScope.count + 1}" />
>
>you would write this:
>
>   <c:set
>      target="${sessionScope}"
>      property="count"
>      value="${sessionScope.count + 1}">
>
>You're right that the 'dot notation' works only in ${...}.

Thanks!

By "now lets you perform ..." do you mean in beta2, or in more recent
nightly builds?  (I just tried it with beta2 and got an
UnsupportedOperationException.)

>
>--
>Shawn Bayern
>"JSP Standard Tag Library"   http://www.jstlbook.com
>(coming this summer from Manning Publications)


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to