dev@jsftemplating.java.net

Re: JSFTemplating: How to access a entry in a list

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Mon, 22 Jan 2007 22:19:43 -0800

Using standard JSF EL, you can access it:

    #{requestScope.lavaBuildsList[0]}

You can omit the "requestScope." part and it will search through the
various scopes for it... specifying it explicitly will perform better
and avoid the chance of it being unexpectedly masked. But this works also:

    #{lavaBuildsList[0]}

Ken


Karam Singh Badesha wrote:
> Hi,
> If I have an attribute of list, how do I access its element.
> $attribute{lavaBuildsList}
>
> thanks
> Karam