jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] Re: Missing StateHolder in Behaviour API for usage in dataTable and alike

From: arjan tijms <arjan.tijms_at_gmail.com>
Date: Fri, 22 May 2015 09:55:26 +0200

Hi,

Interesting point, certainly something we should at least take a closer
look at.

Kind regards,
Arjan

On Friday, May 22, 2015, Rudy De Busscher <rdebusscher_at_gmail.com> wrote:

> Hi Experts,
>
> Recently I came across the fact that the Behaviour API is not using the
> StateHolder.
>
> This means that EL Expressions in attributes of custom ClientBehaviours
> are executed during the buildView step and not during the 'rendering'
> (getScript() ) of the clientBehaviour.
>
> As a consequence, the EL can't reference a var defined in the dataTable.
>
> Any plans / ideas for adding this in some next version?
>
> Thanks for the feedback
> Rudy.
>
>
>