[
https://jira.jboss.org/jira/browse/RF-7315?page=com.atlassian.jira.plugin...
]
Nick Belaevski resolved RF-7315.
--------------------------------
Resolution: Rejected
Assignee: Alexander Dubovsky (was: Nick Belaevski)
onclick etc. can be used for groups.
toolBar: onitem* eventhandlers do not trigger for toolBarGroups'
items
----------------------------------------------------------------------
Key: RF-7315
URL:
https://jira.jboss.org/jira/browse/RF-7315
Project: RichFaces
Issue Type: Feature Request
Components: component-output
Affects Versions: 3.3.2.CR1
Reporter: Alexander Dubovsky
Assignee: Alexander Dubovsky
Priority: Minor
Create ToolBar which contains only toolBarGroups.
Define eventhandlers for onitem* ToolBar events.
Example:
<rich:toolBar onitemclick="alert('onitemclick')"
onitemdblclick="alert('onitemdblclick')"
onitemkeydown="alert('onitemkeydown')"
onitemkeypress="alert('onitemkeypress')"
onitemkeyup="alert('onitemkeyup')"
onitemmousedown="alert('onitemmousedown')"
onitemmousemove="alert('onitemmousemove')"
onitemmouseout="alert('onitemmouseout')"
onitemmouseover="alert('onitemmouseover')"
onitemmouseup="alert('onitemmouseup')">
<rich:toolBarGroup>
<h:outputText value="Input 1: " />
<h:inputText value="" />
</rich:toolBarGroup>
<rich:toolBarGroup>
<h:outputText value="Input 2: " />
<h:inputText value="" />
</rich:toolBarGroup>
</rich:toolBar>
# Open page and try to call any eventhandler.
Result: no one event handler triggers.
If define handlers for each toolBarGroup all will work.
But if we need the same handlers for all toolBarGroups it will be very inconvenient.
--
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