You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Stephan Strittmatter (JIRA)" <my...@incubator.apache.org> on 2005/09/01 16:33:05 UTC
[jira] Aktualisiert: (MYFACES-477) does not work within portlet
[ http://issues.apache.org/jira/browse/MYFACES-477?page=all ]
Stephan Strittmatter updated MYFACES-477:
-----------------------------------------
Attachment: stacktrace.txt
Stacktrace of exception attached.
> <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
> Attachments: stacktrace.txt
>
> 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