[richfaces-issues] [JBoss JIRA] (RF-12040) Multi-form document - command button (submit) does not work after rendering

Jean ANDRE (JIRA) jira-events at lists.jboss.org
Tue Mar 13 13:22:47 EDT 2012


     [ https://issues.jboss.org/browse/RF-12040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean ANDRE updated RF-12040:
----------------------------

           Description: 
We have one page that contains two forms. The first form contain a menus bar (ajax switchType) while the second contains a tabPanel (also in ajax switchType). When a user select a menu, we select the corresponding tab that contains a submit button. Once the tab is selected, the submit button does not work. We have to click twice for submitting.

1) If we move the menu bar inside the second forms, it is working. 
2) If we set the menu bar in client switchType, selecting the menu doesn't do anything.
3) If we set the menu bar in server switchType it's working.

As the rendering is well executed, the submit button should works but is not whatever we set as render="@all, or any valid id".

We have prepared a small application that demonstrates the case. This is a simple but realistic application. Edit the index.xhtml to play with the menu. Let us know if we doing something wrong.

Note also that the JIRA JAVASERVERFACES-2016 was reopened :[JIRA] Reopened: (JAVASERVERFACES-2016) Resources not loaded when using a dynamic ui:inlclude and rendered via ajax

[ http://java.net/jira/browse/JAVASERVERFACES-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]



  was:
We have one page that contains two forms. The first form contain a menus bar (ajax switchType) while the second contains a tabPanel (also in ajax switchType). When a user select a menu, we select the corresponding tab that contains a submit button. Once the tab is selected, the submit button does not work. We have to click twice for submitting.

1) If we move the menu bar inside the second forms, it is working. 
2) If we set the menu bar in client switchType, selecting the menu doesn't do anything.
3) If we set the menu bar in server switchType it's working.

As the rendering is well executed, the submit button should works but is not whatever we set as render="@all, or any valid id".

We have prepared a small application that demonstrates the case. This is a simple but realistic application. Edit the index.xhtml to play with the menu. Let us know if we doing something wrong.


    Steps to Reproduce: 
1) Setup the application, read the readme.txt file
2) Once the index page is displayed, the menu "Items Management" is selected by default
3) Click one the first static tab "Tab S-#1"
4) From the menu, select the menu "items management"
5) Then click on button "New List"
6) A list of item should be displayed


  was:
1) Setup the application, read the readme.txt file
2) Once the index page is displayed, the menu "Items Management" is selected by default
3) Click one the first static tab "Tab S-#1"
4) From the menu, select the menu "items management"
5) Then click on button "New List"



    
> Multi-form document - command button (submit) does not work after rendering
> ---------------------------------------------------------------------------
>
>                 Key: RF-12040
>                 URL: https://issues.jboss.org/browse/RF-12040
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: cssparser-0.9.6 - guava-11.0.1 - hibernate-validator-4.2.0.Final - JSF/Mojarra 2.1.6 - springframework-3.0.6.RELEASE - sac-1.3 - Windows 7 - FireFox 10 - RichFaces 4.2 Final
>            Reporter: Jean ANDRE
>
> We have one page that contains two forms. The first form contain a menus bar (ajax switchType) while the second contains a tabPanel (also in ajax switchType). When a user select a menu, we select the corresponding tab that contains a submit button. Once the tab is selected, the submit button does not work. We have to click twice for submitting.
> 1) If we move the menu bar inside the second forms, it is working. 
> 2) If we set the menu bar in client switchType, selecting the menu doesn't do anything.
> 3) If we set the menu bar in server switchType it's working.
> As the rendering is well executed, the submit button should works but is not whatever we set as render="@all, or any valid id".
> We have prepared a small application that demonstrates the case. This is a simple but realistic application. Edit the index.xhtml to play with the menu. Let us know if we doing something wrong.
> Note also that the JIRA JAVASERVERFACES-2016 was reopened :[JIRA] Reopened: (JAVASERVERFACES-2016) Resources not loaded when using a dynamic ui:inlclude and rendered via ajax
> [ http://java.net/jira/browse/JAVASERVERFACES-2016?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list