2526272829303132
@Override public String getAsString(FacesContext arg0, UIComponent arg1, Object arg2) { if (!(arg2 instanceof TicketClass)) return ""; TicketClass ticketClass = (TicketClass) arg2; return ticketClass.getId().toString(); }
36373839404142
public void init(){ reset(); } public void reset(){ selectedTicketClass = new TicketClass(); }