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.3.2.CR1, 3.3.1, 3.3.0, 3.2.2, 3.2.1, 3.2.0.SR1, 3.2.0
         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

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to