Hi,
I have the following:
<sun:addRemove
id="toolName"
items="$attribute{toolList}"
selected="#{pageSession.toolName}"
availableItemsLabel="Available:"
selectedItemsLabel="Selected:"
sorted="#{true}"
labelOnTop="#{true}"
rows="$int{6}"
/>
In my handler code, toolName is of type String[]. When I submit on this
page, eventhough I haven't set this component as "required", it keeps
coming back in "red" suggesting it is required. So I am guessing maybe
I am defining it wrong in the above code. Can someone let me know what
do I need to change to get this to work.
What would be the correct code for:
selected="#{pageSession.toolName}"
thanks
Karam