[richfaces-issues] [JBoss JIRA] Assigned: (RF-1484) componentControl: doCollapse, doExpand does not work in PanelMenu
Sergey Halipov (JIRA)
jira-events at lists.jboss.org
Tue Mar 11 14:43:58 EDT 2008
[ http://jira.jboss.com/jira/browse/RF-1484?page=all ]
Sergey Halipov reassigned RF-1484:
----------------------------------
Assignee: Ilya Shaikovsky (was: Sergey Halipov)
Fixed in trunk. Committed revision 6723.
Small hints: 1. It make sense call doCollapse/doExpand for concrete panelManuGroup but not for entire panel menu.
2. Element 'assignTo' for componentControl must be defined before componentControl component.
Example:
<pm:panelMenu id="ccPanelMenuID" mode="client">
<pm:panelMenuGroup label="group1" id="panelMenuGroup1">
<pm:panelMenuGroup label="group1" id="group2">
<pm:panelMenuItem label="Item 1"></pm:panelMenuItem>
</pm:panelMenuGroup>
<pm:panelMenuItem label="Item Two"></pm:panelMenuItem>
</pm:panelMenuGroup>
</pm:panelMenu>
<input type="submit" id="testPMID" onclick="return false;" value="Collapse!" />
<input type="submit" id="testPMID2" onclick="return false;" value="Expand!" />
<cc:componentControl attachTo="testPMID2" for=":group2" event="onclick"
operation="doExpand" />
<cc:componentControl attachTo="testPMID" for=":group2" event="onclick"
operation="doCollapse" />
> componentControl: doCollapse, doExpand does not work in PanelMenu
> -----------------------------------------------------------------
>
> Key: RF-1484
> URL: http://jira.jboss.com/jira/browse/RF-1484
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.3
> Environment: jsf 1.1
> Tomcat 6.0.13
> FF
> Reporter: Aleksej Yanul
> Assigned To: Ilya Shaikovsky
> Fix For: 3.2.0
>
>
> <rich:panelMenu id="ccPanelMenuID" mode="client">
> <rich:panelMenuGroup label="group1">
> <rich:panelMenuGroup label="group1 1">
> <rich:panelMenuItem label="Item 1 1"></rich:panelMenuItem>
> <rich:panelMenuItem label="Item 1 2"></rich:panelMenuItem>
> </rich:panelMenuGroup>
> <rich:panelMenuItem label="Item 1"></rich:panelMenuItem>
> <rich:panelMenuItem label="Item 2"></rich:panelMenuItem>
> </rich:panelMenuGroup>
> </rich:panelMenu>
>
> <rich:componentControl attachTo="testPMID" for="ccPanelMenuID" event="onclick" operation="doCollapse"/>
>
> <a href="#" id="testPMID" onclick="return false;">Click text</a>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list