dev@javaserverfaces.java.net

Re: JSR-252 Issue 21 - Provided an additional "binding" attribute for the core Converter, Listener and Validator tags does not fit as spec doc says

From: Leonardo Uribe <lu4242_at_gmail.com>
Date: Tue, 30 Oct 2007 10:55:26 -0500

Hi

I have an idea about this topic. Why don't do a change like this:

If the converter/validator or actionListener does not have binding, the
component does the same.

If the converter/validator or actionListener has a binding, but not
implements StateHolder, use a delegate or binding class to store the
converterId, validatorId and binding on the state to be restored properly
later. When is restored, obtain the delegate an instantiate the correct
object and set it.

This change implies some changes on UIOutput, UIInput and related classes.

regards

Leonardo Uribe