[
https://jira.jboss.org/browse/RF-9667?page=com.atlassian.jira.plugin.syst...
]
Lukas Fryc updated RF-9667:
---------------------------
Workaround Description:
1. open
http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
2. set onbegin=alert('begin')
3. type 'abc' into input and click 'Submit'
OK: the XHR request sent
4. set onbegin=window.metamerEvents = "begin "
5. type 'abc' into input and click 'Submit' again
FAIL: HTTP request was fired (you can see in Firebug console that some JS error appeared -
it is visible before the HTTP request completes)
was:
1. open
http://localhost:8080/metamer/faces/components/a4jAjax/hCommandButton.xhtml
2. set onbegin=alert('begin')
3. type 'abc' into input and click 'Submit'
OK: the XHR request sent
4. set onbegin=window.metamerEvents = "begin "
FAIL: HTTP request was fired (you can see in Firebug console that some JS error appeared -
it is visible before the HTTP request completes)
Metamer and MyFaces - h:commandButton+a4j:ajax causes JS error and
then fires HTTP request
------------------------------------------------------------------------------------------
Key: RF-9667
URL:
https://jira.jboss.org/browse/RF-9667
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Environment: * RichFaces 4.0.0-SNAPSHOT r.19944
* Metamer 4.0.0-SNAPSHOT r.unknown
* Apache MyFaces JSF-2.0 Core Impl 2.0.2
* Apache Tomcat 6.0.29
* OpenJDK Runtime Environment 1.6.0_18-b18 @Linux
* Firefox 3.6.12 @ Linux x86_64
Reporter: Lukas Fryc
The h:commandButton doesn't work with a4j:ajax with selected @onbegin.
See steps to reproduce.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira