[richfaces-issues] [JBoss JIRA] Closed: (RF-960) a4j:commandButton oncomplete bug for IE6

Ilya Shaikovsky (JIRA) jira-events at lists.jboss.org
Thu Sep 27 09:20:42 EDT 2007


     [ http://jira.jboss.com/jira/browse/RF-960?page=all ]

Ilya Shaikovsky closed RF-960.
------------------------------


> a4j:commandButton oncomplete bug for IE6
> ----------------------------------------
>
>                 Key: RF-960
>                 URL: http://jira.jboss.com/jira/browse/RF-960
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>         Environment: Java 1.6
> GlassFish v2
> RichFaces v3.1.0 (release)
> Firefox 2.0.0.6
> IE 6.0.
>            Reporter: Abdulla Abdurakhmanov
>             Fix For: 3.2.0, 3.1.1
>
>
> The test case:
> <?xml version='1.0' encoding='utf-8'?>
> <jsp:root xmlns="http://www.w3.org/1999/xhtml"
>           xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
>           xmlns:f="http://java.sun.com/jsf/core"
>           xmlns:h="http://java.sun.com/jsf/html"
>           xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
>           xmlns:rich="http://richfaces.ajax4jsf.org/rich">  
> <f:view>
>     <html>
>       <jsp:output omit-xml-declaration="false" doctype-root-element="html"
>                   doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
>                   doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
>       <jsp:directive.page contentType="text/html;charset=utf-8"/>
>       <head>
>         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
>       </head>
>       <body>
> 	<h:form id="TestForm">
> 		<a4j:commandButton id="testButton"
> 			onclick="this.disabled=true; runButton=this;"
> 			value="Test"
> 			oncomplete="alert(runButton);runButton.disabled=false;"
> 			type="submit"/>
> 	</h:form>
>       </body>
>     </html>
> </f:view>
> </jsp:root>
> For IE: The alert is executed but IE didn't see definition for runButton and JS errors are occured.
> For Firefox: The alert is successfully showed and JS  console haven't any errors.
> For 3.0.1 and 3.1.0 RC3 this worked.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list