This content has been marked as final. 
    
Show                 8 replies
    
- 
        1. Re: can't remove items from the selectMenuwaq Feb 19, 2009 7:51 AM (in response to waq)can someone help me out...??? 
- 
        
- 
        3. Re: can't remove items from the selectMenuwaq Feb 20, 2009 10:51 AM (in response to waq)i m getting the felling that my question is very difficult... 
- 
        4. Re: can't remove items from the selectMenunbelaevski Feb 20, 2009 11:13 AM (in response to waq)Please post full bean code. 
- 
        5. Re: can't remove items from the selectMenuwaq Feb 20, 2009 11:53 AM (in response to waq)Thanks for the reply <h:selectOneListbox id="day" value="#{CreateMgtTsheet.t_date}" > <f:selectItems value="#{CreateMgtTsheet.date_list}"/> </h:selectOneListbox> <a4j:commandButton action="#{CreateMgtTsheet.createMgmt}" reRender="hours1, day"/>public class CreateMgtTsheet { private List<SelectItem> date_list; private String t_date; //setters and getters public CreateMgtTsheet() { date_list = new ArrayList<SelectItem>(); date_list.add(new SelectItem("Monday")); date_list.add(new SelectItem("Tuesday")); date_list.add(new SelectItem("Wednesday")); }//end constructor public String createMgmt() { //want to remove items here and i tried this temp_list.remove(0); this.setTemp_list(temp_list); //but its not working } }
- 
        6. Re: can't remove items from the selectMenunbelaevski Feb 20, 2009 12:22 PM (in response to waq)The code doesn't compile. 
- 
        7. Re: can't remove items from the selectMenuwaq Feb 20, 2009 12:29 PM (in response to waq)why, whats worng? 
- 
        8. Re: can't remove items from the selectMenunbelaevski Feb 20, 2009 1:18 PM (in response to waq)No temp_list, createMgmt doesn't return anything, etc. 
 I've posted an example for you in the second topic. Please take a look.
 
    