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)
The solution is:
Object[] list = (Object[]) arg2; List<E> target = (ArrayList<E>) list[1];