3 Replies Latest reply on Oct 11, 2012 9:09 AM by Nejc G

    event after validation failure

    Lukasz Rozek Newbie

      hi guys,


      I am trying to use event / observer model to implement some logic. I'd like to raise event immediately when validation fails for specific ui component, and pass this component to consumer of event. (it prevents from looking for that component in ui tree, or binding that component to seam component). I found that seam raises org.jboss.seam.validationFailed, but it takes place after validation phase has finished, so the consumer has to retreive that component and check whether it is valid or not. Is there any way to get notified immediately when validation fails for specific ui component.


      I will be greatefull for any help and advices