[richfaces-issues] [JBoss JIRA] Commented: (RF-7801) Not mentioned that actionListener and action supported in client mode only

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Wed Sep 2 15:17:23 EDT 2009


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

Nick Belaevski commented on RF-7801:
------------------------------------

Test case:

<h:form>
	<a4j:outputPanel>
		<rich:toolTip action="#{forum5Bean.action}" mode="ajax">ajax</rich:toolTip>
		ajax
	</a4j:outputPanel>
	<a4j:outputPanel>
		<rich:toolTip action="#{forum5Bean.action}" mode="client">client</rich:toolTip>
		client
	</a4j:outputPanel>
</h:form>

Checked with 3.3.1.GA

> Not mentioned that actionListener and action supported in client mode only
> --------------------------------------------------------------------------
>
>                 Key: RF-7801
>                 URL: https://jira.jboss.org/jira/browse/RF-7801
>             Project: RichFaces
>          Issue Type: Bug
>          Components: doc
>    Affects Versions: 3.2.0, 3.2.0.SR1, 3.2.1, 3.2.2, 3.3.0, 3.3.1, 3.3.2.CR1
>         Environment: http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_toolTip.html
>            Reporter: Viacheslav Garmash
>
> In documentation here: http://docs.jboss.org/richfaces/latest_3_3_X/en/devguide/html/rich_toolTip.html and at livedemo website here http://livedemo.exadel.com/richfaces-demo/richfaces/toolTip.jsf?tab=info&cid=4351895 actionListener and action attributes mentioned like following:
> action	MethodBinding pointing at the application action to be invoked, if this UIComponent is activated by you, during the Apply Request Values or Invoke Application phase of the request processing lifecycle, depending on the value of the immediate property
> actionListener	MethodBinding pointing at method accepting an ActionEvent with return type void
> There is no any code examples or notes about those parameters later in the document.
> In reality those attributes work in client mode only. Any attempt to use those attributes in ajax mode doesn't make any effect. As for now I see Feature Request about "Add support for an ActionListener in the toolTip component.": https://jira.jboss.org/jira/browse/RF-3166. So it is well known fact that those attributes doesn't work in ajax mode.
> Please add note to online documentation and live demo website about this limitation.

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

        


More information about the richfaces-issues mailing list