Re: How to use index in EL expression?
Stuart Thiel <[email protected]> Thu, 25 Sep 2014 05:08:54 -0400
| Newsgroups | gmane.comp.jakarta.taglibs.user |
|---|---|
| Message-ID | <CAEp2D=4tLfoJMXHu4-TrXPzd_tKqtY0z1xqSNuYH6XqDG8OeHA@mail.gmail.com> |
Hello Kazuaki,
Can you not use i directly as you're already within el? I'm not sure
why you want to embed the el.
<sql:param value="${paramValues.name[i]}" />
On Thu, Sep 25, 2014 at 5:03 AM, Kazuaki Miyauchi <[email protected]> wrote:
> 2014-09-24 22:53 GMT+09:00 Stuart Thiel <[email protected]>:
>> I really think something in your domain layer should be parsing your
>> params and cleanly taking care of this all. You can still provide the
>> cleaned up POJOS via attributes, and that makes more sense. If you're
>> entirely skipping regular servlets and allowing direct access to JSP
>> you can probably use something like
>>
>> ${paramValues.key[i]}
>
> Using paramValues, it causes the same problem.
> EL cannot be nested, so
>
> <sql:param value="${paramValues.name[${i}]}" /> cannot be compiled.
>
> I think we need pre-taglibs-taglibs or EL can be nested for resolving this.
>
> Regards.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
--
Stuart Thiel, P. Eng.