myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Strittmatter (JIRA)" <myfaces-...@incubator.apache.org>
Subject [jira] Erstellt: (MYFACES-477) <x:jsValueChangeListener /> does not work within portlet
Date Thu, 01 Sep 2005 13:35:04 GMT
<x:jsValueChangeListener /> does not work within portlet
--------------------------------------------------------

         Key: MYFACES-477
         URL: http://issues.apache.org/jira/browse/MYFACES-477
     Project: MyFaces
        Type: Bug
  Components: Tomahawk  
 Environment: Portal Liferay 3.6.0 on Tomcat 5.0
 Reporter: Stephan Strittmatter


If you use <x:jsValueChangeListener /> within a page of a portlet, there are exceptions
thrown and the portlet is not renderd.
If I remove the listener everything is renderd properly.


If you enhance the sample_jsf_myfaces_portlet.war by a simple code like following, you can
reproduce it (It should update the input field on changing the combobox):

<h:selectOneMenu id="type" value="#{view.type}" immediate="true">
		<f:selectItem itemValue="A" itemLabel="A" />
		<f:selectItem itemValue="B" itemLabel="B" />

		<x:jsValueChangeListener for="typeValue" property="value" expressionValue="($destElem.value=$srcElem.value)"
/>
</h:selectOneMenu>

<h:inputText id="typeValue" value="#{view.type}" />


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


Mime
View raw message