[jboss-jira] [JBoss JIRA] Resolved: (JBAS-5950) SelectManyListBox is not working in SUN RI
Stan Silvert (JIRA)
jira-events at lists.jboss.org
Thu Sep 11 08:20:38 EDT 2008
[ https://jira.jboss.org/jira/browse/JBAS-5950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stan Silvert resolved JBAS-5950.
--------------------------------
Resolution: Rejected
Jira is not the place for user help. These simple things certainly work because tens of thousands of developers are doing it without any problem.
If you do find a bug with JBoss/JSF integration please post it here.
For user help with JSF, I suggest posting to the JSF forum:
http://forums.java.net/jive/forum.jspa?forumID=138
Regards,
Stan
> SelectManyListBox is not working in SUN RI
> ------------------------------------------
>
> Key: JBAS-5950
> URL: https://jira.jboss.org/jira/browse/JBAS-5950
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JSF
> Environment: I am using JBoss 4.3.0
> Reporter: Alexis Binu
> Assignee: Stan Silvert
>
>
> h:selectManyListbox is not working in JSF Sun RI.
> When i click on create.....The create() method is not calling...
> Can anyone help me in this ?
> My code
> <h:selectManyListbox value="#{Bean.addTasks}" id="availableTasks" >
> <f:selectItems value="#{Bean.allTasks}" />
> </h:selectManyListbox>
> <h:commandButton " value="Create" type="submit"
> styleClass="jsf-command-button" action="#{Bean.create}"/>
> Bean
> private ArrayList<SelectItem> allTasks=null;
> private ArrayList<String> addTasks=null;
> public ArrayList<SelectItem> getAllTasks() {
> allTasks = new ArrayList<SelectItem>();
> allTasks.add(new SelectItem("Task1","Task1"));
> allTasks.add(new SelectItem("Task2","Task2"));
> allTasks.add(new SelectItem("Task3","Task3"));
> return allTasks;
> }
> public ArrayList<String> getAddTasks() {
> return this.addTasks;
> }
> public void setAddTasks(ArrayList<String> addTasks) {
> this.addTasks = addTasks;
> }
> public void create()
> {
> System.out.println(" Inside create");
> System.out.println(" Task :- "+addTasks);
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list