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: Sat, 27 Oct 2007 14:53:58 -0500

Hi

I have checked jsf ri 1.2_05 and something about binding behaviour has
changed.

The first time a page is called it return the following:

    * This is the message for phase before RENDER_RESPONSE 6
    * Component:javax.faces.component.html.HtmlInputText_at_1a5e68a converter:
javax.faces.convert.BigIntegerConverter_at_c26ede
    * Validator:org.apache.myfaces.bindingCLV.DummyValidator_at_fccada
    * Converter:javax.faces.convert.BigDecimalConverter_at_69ed4a
    * ConvertNumber:null
    * ActionListener:null

When you submit some data it returns this:

    * This is the message for phase before APPLY_REQUEST_VALUES 2
    * Component:javax.faces.component.html.HtmlInputText_at_9d5793 converter:
javax.faces.convert.BigIntegerConverter_at_1e090ee
    * Validator:null
    * Converter:null
    * ActionListener:null
    * This is the message for phase after APPLY_REQUEST_VALUES 2
    * Component:javax.faces.component.html.HtmlInputText_at_9d5793 converter:
javax.faces.convert.BigIntegerConverter_at_1e090ee
    * Validator:null
    * Converter:null
    * ActionListener:null
    * This is the message for phase before PROCESS_VALIDATIONS 3
    * Component:javax.faces.component.html.HtmlInputText_at_9d5793 converter:
javax.faces.convert.BigIntegerConverter_at_1e090ee
    * Validator:null
    * Converter:null
    * ActionListener:null
    * This is the message for phase after PROCESS_VALIDATIONS 3
    * Component:javax.faces.component.html.HtmlInputText_at_9d5793 converter:
javax.faces.convert.BigIntegerConverter_at_1e090ee
    * Validator:null
    * Converter:null
    * ActionListener:null
    * This is the message for phase before UPDATE_MODEL_VALUES 4
    * Component:javax.faces.component.html.HtmlInputText_at_9d5793 converter:
javax.faces.convert.BigIntegerConverter_at_1e090ee
    * Validator:null
    * Converter:null
    * ActionListener:null
    * This is the message for phase after UPDATE_MODEL_VALUES 4
    * Component:javax.faces.component.html.HtmlInputText_at_9d5793 converter:
javax.faces.convert.BigIntegerConverter_at_1e090ee
    * Validator:null
    * Converter:null
    * ActionListener:null
    * This is the message for phase before INVOKE_APPLICATION 5
    * Component:javax.faces.component.html.HtmlInputText_at_9d5793 converter:
javax.faces.convert.BigIntegerConverter_at_1e090ee
    * Validator:null
    * Converter:null
    * ActionListener:null
    * This is the message for phase after INVOKE_APPLICATION 5
    * Component:javax.faces.component.html.HtmlInputText_at_9d5793 converter:
javax.faces.convert.BigIntegerConverter_at_1e090ee
    * Validator:null
    * Converter:null
    * ActionListener:
org.apache.myfaces.bindingCLV.DummyActionListener_at_cb2185
    * This is the message for phase before RENDER_RESPONSE 6
    * Component:javax.faces.component.html.HtmlInputText_at_9d5793 converter:
javax.faces.convert.BigIntegerConverter_at_aa2ef2
    * Validator:org.apache.myfaces.bindingCLV.DummyValidator_at_f052d5
    * Converter:javax.faces.convert.BigDecimalConverter_at_1ce4a8a
    * ActionListener:
org.apache.myfaces.bindingCLV.DummyActionListener_at_cb2185

This is bad. Why do i have a binding attribute for converters an validators
if i cannot use on INVOKE_APPLICATION?
 The previous behaviour of jsf ri 1.2_04-p02 is preffered.

What is the correct behaviour? I have to do a change about this in myfaces,
so please help me!

regards

Leonardo Uribe