Appending and item to a Select List
I am trying to append an Item to the end of a Select List.
Code:
<s:selectItems id="billing01_payments" var="_var"
label="#{_var.formattedAddress}"
value="#{customerSession.payments}" />
<f:selectItem id="newCard" itemLabel="New Card" itemValue="noSelectionValue"/>
But I don't know what to put in as either a value or itemValue.
What do I put there? The reason we are not wanting to use noSelectionLabel is because we want to order by The default credit card first.