myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scott McMasters (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TRINIDAD-1774) javascript error in IE using ppr with selectOneChoice
Date Thu, 01 Apr 2010 10:10:27 GMT
javascript error in IE using ppr with selectOneChoice
-----------------------------------------------------

                 Key: TRINIDAD-1774
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1774
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions: 1.0.12-core
         Environment: Internet Explorer 8.0.6001.18702, Tomcat 5.5.28 (probably inapplicable)
            Reporter: Scott McMasters
            Priority: Minor


When there are two selectOneChoice's where one is updated via ppr when the other's value changes,
an error appears in Internet Explorer (version stated above):

-------------------------------------------------------------------

Dettagli errore pagina Web [Web page error details]

Agente utente: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.4; .NET
CLR 1.1.4322; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729;
OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
Timestamp: Thu, 1 Apr 2010 10:02:47 UTC


Messaggio: Proprietà o metodo non supportati dall'oggetto
[Message:  unsupported object property or method]
Linea [Line]: 10645
Carattere [Character]: 1
Codice [Code]: 0
URI: http://localhost:8080/Jsf_Base/adf/jsLibs/Common1_0_11.js

-------------------------------------------------------------------

This error is NOT happening in Firefox 3.6.2.

The relevant JSF tags are as follows:

-------------------------------------------------------------------

<tr:selectOneChoice autoSubmit="true" value="#{titolare.idAslCompetente}" id="aslcompetente"
			valueChangeListener="#{titolare.aslCompetenteChange}" valuePassThru="true"
			rendered="#{not titolare.viewing}">
			<f:selectItems value="#{commonLists.aslCompetenteList}"/>
		</tr:selectOneChoice>

<tr:selectOneChoice value="#{titolare.idComune}" id="comune"
				size="1"
				valuePassThru="true" partialTriggers="aslcompetente">
				<f:selectItems value="#{titolare.comuneList}"/>
			</tr:selectOneChoice>

-------------------------------------------------------------------

The web.xml is:

-------------------------------------------------------------------

<?xml version = '1.0' encoding = 'ISO-8859-1'?>

<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
	version="2.4">

<context-param>
		<param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
		<param-value>com.sun.facelets.FaceletViewHandler</param-value>
	</context-param>

	<context-param>
		<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
		<param-value>.xhtml</param-value>
	</context-param>

	<context-param>
		<param-name>facelets.VIEW_MAPPINGS</param-name>
		<param-value>*.xhtml</param-value>
	</context-param>

	<context-param>
		<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
		<param-value>client</param-value>
		<!--param-value>server</param-value-->
	</context-param>

	<context-param>
		<param-name>org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE</param-name>
		<param-value>false</param-value>
	</context-param>

	<context-param>
		<param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
		<param-value>true</param-value>
	</context-param>

	<context-param>
		<param-name>org.apache.myfaces.trinidad.CHANGE_PERSISTENCE</param-name>
		<param-value>session</param-value>
	</context-param>

	<filter>
		<filter-name>trinidad</filter-name>
		<filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
	</filter>

	<filter>
		<filter-name>extensionsFilter</filter-name>
		<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
	</filter>
	
	<filter>
      <filter-name>shale</filter-name>
      <filter-class>
        org.apache.shale.application.faces.ShaleApplicationFilter
      </filter-class>
    </filter>
	
	<filter-mapping>
      <filter-name>shale</filter-name>
      <url-pattern>/*</url-pattern>
    </filter-mapping>

	<filter-mapping>
		<filter-name>trinidad</filter-name>
		<servlet-name>faces</servlet-name>
	</filter-mapping>

	<filter-mapping>
		<filter-name>extensionsFilter</filter-name>
		<servlet-name>faces</servlet-name>
	</filter-mapping>

	<servlet>
		<servlet-name>faces</servlet-name>
		<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
	</servlet>

	<servlet>
		<servlet-name>resources</servlet-name>
		<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
	</servlet>

	<servlet-mapping>
		<servlet-name>faces</servlet-name>
		<url-pattern>*.jsf</url-pattern>
	</servlet-mapping>

	<servlet-mapping>
		<servlet-name>resources</servlet-name>
		<url-pattern>/adf/*</url-pattern>
	</servlet-mapping>

	<filter-mapping>
		<filter-name>extensionsFilter</filter-name>
		<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
	</filter-mapping>

</web-app>

-------------------------------------------------------------------

And the faces-config.xml includes:

-------------------------------------------------------------------

<application>
		<default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
	</application>

-------------------------------------------------------------------



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message