Results 1 to 2 of 2
- 12-04-2009, 10:07 PM #1
Member
- Join Date
- Dec 2009
- Posts
- 5
- Rep Power
- 0
Appending and item to a Select List
I am trying to append an Item to the end of a Select List.
But I don't know what to put in as either a value or itemValue.Java Code:<s:selectItems id="billing01_payments" var="_var" label="#{_var.formattedAddress}" value="#{customerSession.payments}" /> <f:selectItem id="newCard" itemLabel="New Card" itemValue="noSelectionValue"/>
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.
-
This looks like JavaScript, not Java. What does this have to do with programming in Java?
Similar Threads
-
Button to remove item from list
By dacool25 in forum Java AppletsReplies: 6Last Post: 10-14-2009, 04:30 AM -
"Cached Item Was Locked" causing Select Statement: Hibernate + EHCache
By cloutierm in forum Advanced JavaReplies: 0Last Post: 03-15-2009, 11:53 PM -
How to retain value in struts 2 using <s:select></s:select> tag
By SaiPrasad@Sella in forum Web FrameworksReplies: 0Last Post: 02-09-2009, 07:23 AM -
Displaying a Java List in Html:select tag
By ramitmehra123 in forum New To JavaReplies: 0Last Post: 02-07-2008, 05:48 AM -
linked list nodes all refernce same item.
By yllawwally in forum New To JavaReplies: 0Last Post: 12-18-2007, 08:45 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks