Results 1 to 2 of 2
  1. #1
    Samurai Coder is offline Member
    Join Date
    Dec 2009
    Rep Power

    Default Appending and item to a Select List

    I am trying to append an Item to the end of a Select List.

    Java Code:
    <s:selectItems id="billing01_payments" var="_var"
    	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.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Blog Entries
    Rep Power

Similar Threads

  1. Button to remove item from list
    By dacool25 in forum Java Applets
    Replies: 6
    Last Post: 10-14-2009, 05:30 AM
  2. Replies: 0
    Last Post: 03-16-2009, 12:53 AM
  3. How to retain value in struts 2 using <s:select></s:select> tag
    By SaiPrasad@Sella in forum Web Frameworks
    Replies: 0
    Last Post: 02-09-2009, 08:23 AM
  4. Displaying a Java List in Html:select tag
    By ramitmehra123 in forum New To Java
    Replies: 0
    Last Post: 02-07-2008, 06:48 AM
  5. linked list nodes all refernce same item.
    By yllawwally in forum New To Java
    Replies: 0
    Last Post: 12-18-2007, 09:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts