[richfaces-issues] [JBoss JIRA] Work started: (RF-5671) Panel Menu. selectedChild problems

Alex Kolonitsky (JIRA) jira-events at lists.jboss.org
Fri Feb 27 14:59:44 EST 2009


     [ https://jira.jboss.org/jira/browse/RF-5671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on RF-5671 started by Alex Kolonitsky.

> Panel Menu. selectedChild problems
> ----------------------------------
>
>                 Key: RF-5671
>                 URL: https://jira.jboss.org/jira/browse/RF-5671
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>            Reporter: Ilya Shaikovsky
>            Assignee: Alex Kolonitsky
>             Fix For: 3.3.1
>
>
> 1)
> 		<rich:panelMenu selectedChild="#{userBean.name}" id="pb" mode="ajax">
> 				<rich:panelMenuItem id="one" label="one"/>
> 				<rich:panelMenuItem id="two" label="two"/>
> 		</rich:panelMenu>
> In this case initial rendering is ok. But after clicking two - this value not saved into the model - so selection lost after refresh 
> 2)
> 		<rich:panelMenu selectedChild="#{userBean.name}" id="pb" mode="ajax">
> 				<rich:panelMenuItem id="one" label="one"/>
> 				<rich:panelMenuItem id="two" label="two"/>
> 		</rich:panelMenu>
> 		<a4j:commandButton value="change selected" action="#{userBean.action}" reRender="pb"></a4j:commandButton>
> action on the command button changes selected child in the model via ajax, but the component isn't read it from the model on rendering - so selection change doesn't happens.
> 3)		<rich:panelMenu selectedChild="#{userBean.name}" id="pb" mode="ajax">
> 			<rich:panelMenuGroup expanded="true">
> 				<rich:panelMenuItem id="one" label="one"/>
> 				<rich:panelMenuItem id="two" label="two"/>
> 			</rich:panelMenuGroup>
> 		</rich:panelMenu>
> In this case if the User.name="one" by default - no selection will happens at all from the beggining because item in collapsed group.

-- 
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