[richfaces-issues] [JBoss JIRA] (RF-11943) [a4j:commandLink] [a4j:queue] IE8 throws an js error if using an global queue within site

Jean ANDRE (JIRA) jira-events at lists.jboss.org
Mon Feb 13 08:38:02 EST 2012


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

Jean ANDRE commented on RF-11943:
---------------------------------

The error is also triggered by a <a4j:commandButton> but not for every button. Here is a code extraction - The code below displays different search forms based on a user choice. The command button triggers the page rendering and also performs the tooggle of the user choice.

{code}
<a4j:outputPanel id="toggleSearchOutput" layout="block">
   <!--                 -->
   <!--  TOGGLE SEARCH  -->
   <!--                 -->
   <a4j:commandButton id="toggleCommandSearch"
		   value="#{msg[desktopTabController.toggleSearchLabel]}"
	  actionListener="#{desktopTabController.doToggleSearch}"
		  render="toggleSearchOutput">
   </a4j:commandButton>
   <br />
   <br />
   <ui:fragment rendered="#{desktopTabController.isSearchClient}">
      <!--                   -->
      <!--  SEARCH CLIENT    -->
      <!--                   -->
      <ui:include src="client/searchClient.xhtml" />
   </ui:fragment>
   <ui:fragment rendered="#{desktopTabController.isSearchWorkItems}">
      <!--                   -->
      <!--  SEARCH WORKITEMS -->
      <!--                   -->
         <ui:include src="workitems/searchWorkItems.xhtml" />
   </ui:fragment>
</a4j:outputPanel>
{code}



                
> [a4j:commandLink] [a4j:queue] IE8 throws an js error if using an global queue within site
> -----------------------------------------------------------------------------------------
>
>                 Key: RF-11943
>                 URL: https://issues.jboss.org/browse/RF-11943
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.2.0.CR1
>         Environment: richfaces-4.2.0-SNAPSHOT, IE8
>            Reporter: Rene O
>            Assignee: Brian Leathem
>             Fix For: 4.2.0.Final
>
>
> Note, that this issue only occurs with IE8.
> This issue doesn't occur with richfaces-4.1.0.Final
> To reproduce this issue test the following site and click the a4j:commandLink
> {code:title=Testpage}
> <!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:h="http://java.sun.com/jsf/html"
> 	  xmlns:f="http://java.sun.com/jsf/core"
> 	  xmlns:ui="http://java.sun.com/jsf/facelets"
> 	  xmlns:a4j="http://richfaces.org/a4j"
> 	  xmlns:rich="http://richfaces.org/rich"	 
> 	 >
> 	<h:head>
> 		<title>JSF Test</title>		
> 	</h:head>
> 	<h:body>
> 		<a4j:queue id="myQ" name="myQ" requestDelay="1200" ignoreDupResponses="true" />
> 		<h:form id="myForm">
> 			<a4j:commandLink id="myLink" value="myLink" />
> 		</h:form>
> 	</h:body>
> </html>
> {code}
> The following error occurs:
> {code:title=JS Console Error within IE8}
> Meldung: Das Objekt unterstützt diese Eigenschaft oder Methode nicht.
> Zeile: 130
> Zeichen: 17
> Code: 0
> URI: http://localhost:8080/jsftest/javax.faces.resource/richfaces-queue.js.jsf;jsessionid=E3710A95AC0A7B09EF8BD21314767E3C
> {code}

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