[jsr-314-open-mirror] [jsr-314-open] Attribute and State Management in Custom ClientBehaviors
Andy Schwartz
andy.schwartz at oracle.com
Tue Aug 3 09:39:18 EDT 2010
Hey Cagatay -
Yes, this is definitely a problem. Ideally we should have generic
support for both:
- ValueExpression-based attributes and...
- State saving (including partial state saving)
Across components, behaviors, converters and validators.
In Trinidad-land we solve this problem by reusing FacesBean across these
various types of objects (ie. FacesBean is not component-specific). We
should take a look to see whether we can do something similar with
StateHelper.
Andy
On 8/3/10 9:26 AM, Cagatay Civici wrote:
> Hi,
>
> When working on a custom client behavior implementation, I've noticed that there is no state helper that we have for UIComponent.
>
> Also checked implementation of AjaxBehavior in mojarra&myfaces and there seems to be a lot of private implementation of state management, evals, handling of valueexpressions.
>
> So my question is do I miss something because it doesn't seem to be trivial process to create a clientbehavior properly with attributes and handle state management.
>
> Thanks,
>
> Cagatay
More information about the jsr-314-open-mirror
mailing list