[richfaces-issues] [JBoss JIRA] (RF-11969) 4.2.0.CR1 a4j:commandLink broken in IE8 with resourceOptimization.enabled true (possibly always)

Brendan Healey (JIRA) jira-events at lists.jboss.org
Thu Feb 9 09:07:49 EST 2012


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

Brendan Healey commented on RF-11969:
-------------------------------------

The following simple page reproduces the problem for me. The issue I experienced without
resource optimisation will be because I'd need to manually include the jquery ui core
modules, so I think I'll stick with resource optimisation turned on.

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html
    xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:sqcc="http://java.sun.com/jsf/composite/sqcc"
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:rich="http://richfaces.org/rich">
    <h:head>
        <h:outputScript library="javax.faces" name="jsf.js"/>
        <h:outputScript name="jquery.js"/>
    </h:head>
    <h:body>
        <h:form>
            <a4j:commandButton value="push" action="empty"/>
        </h:form>
    </h:body>
</html>
                
> 4.2.0.CR1 a4j:commandLink broken in IE8 with resourceOptimization.enabled true (possibly always)
> ------------------------------------------------------------------------------------------------
>
>                 Key: RF-11969
>                 URL: https://issues.jboss.org/browse/RF-11969
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-a4j-core
>    Affects Versions: 4.2.0.CR1
>         Environment: Internet Explorer IE8, Glassfish 3.1.1, Mojarra 2.1.6, Richfaces resource compression enabled
>            Reporter: Brendan Healey
>            Priority: Critical
>
> When I click on the link I get a javascript error as shown and there is no
> navigation:
> <h:form id="myform" prependId="false">
>   <a4j:commandLink value="push" action="newPage"/>
> Webpage error details
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; HPNTDF; .NET4.0C; BRI/2)
> Timestamp: Thu, 9 Feb 2012 00:54:34 UTC
> Message: Object doesn't support this property or method
> Line: 2797
> Char: 8
> Code: 0
> URI: https://localhost:8181/TestApp/org.richfaces.resources/javax.faces.resource/org.richfaces.staticResource/4.2.0.CR1/PackedCompressed/packed/packed.js
> This works ok with h:commandLink and also with a4j:commandLink on chrome &
> firefox browsers.
> I just tried it with resource optimisation false, and got a whole load of other
> javascript errors, which I'll have to look into tomorrow, it's 2am.

--
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