[richfaces-issues] [JBoss JIRA] (RF-11355) commandButton doesn't work at first click in popupPanel

Brian Leathem (JIRA) jira-events at lists.jboss.org
Mon Oct 22 16:00:02 EDT 2012


    [ https://issues.jboss.org/browse/RF-11355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12728458#comment-12728458 ] 

Brian Leathem commented on RF-11355:
------------------------------------

Two things come to mind with this issue:

# Updating components in adjacent forms with JSF will not work with JSF out-of-the-box.  See: http://www.irian.at/en/blog/-/blogs/jsf-ajax-and-multiple-forms
#* We will have to make sure that this works with RichFaces ajax.  It should as we build on top of the JSF ajax.
# popupPanels are not nested within the form in which they are defined.  One has to:
## use the _[domElementAttachment|http://docs.jboss.org/richfaces/latest_4_X/vdldoc/rich/popupPanel.html]_ attribute to put the back in the DOM tree under an appropriate form
## Use a form nested withing the popupPanel.  Be careful as you may have problems with 1) if you do this.

If someone is having trouble that does not fall into either of the above categories, please let us know.

Finally, we can consider chaning the devault DOM Attachment behaviour, if this is causing more problems than it is resolving.
                
> commandButton doesn't work at first click in popupPanel
> -------------------------------------------------------
>
>                 Key: RF-11355
>                 URL: https://issues.jboss.org/browse/RF-11355
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 4.0.0.Final
>         Environment: OS : Windows Seven
> Virtual server : easy php
> Server JEE : Glassfish 3.1
> JSF 2.0
>            Reporter: Loïc TALON
>             Fix For: 5-Tracking
>
>
> Hi,
> Sorry i don't speak very well english.
> I have a problem with a4j:commandButton in popupPanel.
> The first click doesn't work for action to commandButton but the first clic work. That doesn't work only in popupPanel.
> {code}
> <a4j:commandButton value="Valid"
>     action="#{beanManaged.valid}"
>     id="validButton"
>     render="modalPanelInfo, formCreate"
> />
> {code}
> I think the problem is javax.faces.viewstate, beacause before the first clic doesn't have input hidden with javax.faces.viewstate but after the first clic i have input hidden with javax.faces.viewstate.
> How to solve this problem ?
> THX

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the richfaces-issues mailing list