[richfaces-issues] [JBoss JIRA] Created: (RF-7315) toolBar: onitem* eventhandlers do not trigger for toolBarGroups' items

Alexander Dubovsky (JIRA) jira-events at lists.jboss.org
Wed Jun 3 11:00:18 EDT 2009


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: Nick Belaevski
            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

        



More information about the richfaces-issues mailing list