Hi,
I would like to bind a backing bean's field to the selected value of a selectOneListbox. This value could be null, so i want to convert this to 0. This will set the selected value to the "default" selectItem. I'm using JSF2
I'm planning to do this with the http://java.sun.com/jstl/core taglib (using <c:if test="#{empty...}>
)
My question is: is there a "cleaner" way to do this. Maybe JSF(2) related taglib?
Thankyou!