Wouldn't you want a means of getting the converted value, in a
ConverterInvokedEvent?
- Mark Collette
Gurkan Erdogdu wrote:
> I did not able to send this email to JSR-314 EG because not member of
> it. But I think maybe useful to add two other listener
> and event to the Kito D. listener list; these are
>
> - ConverterInvokedEvent/ConverterInvokedListener
>
> public ConverterInvokedListener extends EventListener{
>
> public void
> beforeConverterInvoked(ConverterInvokedEvent event) ;
> public void
> afterConverterInvoked(ConverterInvokedEvent event);
> }
>
> public ConverterInvokedEvent extends EventObject{
> public FacesContext getContext();
> public String getEventType(); //Before or After
> public boolean isExceptionThrown(); //If converter
> exception throws
> public ConverterException getException();
> public UIComponent getComponent();
> }
>
> - ValidatorInvokedEvent/ValidatorInvokedListener
>
> public ValidatorInvokedListener extends EventListener{
>
> public void
> beforeValidatorInvoked(ValidatorInvokedEvent event) ;
> public void
> afterValidatorInvoked(ValidatorInvokedEvent event);
> }
>
> public ConverterInvokedEvent extends EventObject{
> public FacesContext getContext();
> public String getEventType(); //Before or After
> public boolean isExceptionThrown(); //If converter
> exception throws
> public ValidatorException getException();
> public UIComponent getComponent();
> }
>
> What do you think about?
>
> Thanks;
>
> Gurkan Erdogdu
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com