1 Reply Latest reply on Jun 6, 2008 3:16 AM by Fahim Aleaf

    <rich:listShuttle> Validator -> How to use it?

    Fahim Aleaf Newbie

      Hi guys.

      I am just trying to use a listShuttle. There should be any items in the targetBox, so I first used targetRequired="true". This option does not work. I do want to write a validator, which checks if there are some items in the target box. A standard Validator has following method:

      public void validate(FacesContext arg0, UIComponent arg1, Object arg2)
      


      Normally I do cast arg2 for Example to String and do check the value. But how do I get the targetList within this Validator and what kind of List does we have in that case?