[richfaces-issues] [JBoss JIRA] Resolved: (RF-9009) switchablePanel's: improve cycled switching

Alex Kolonitsky (JIRA) jira-events at lists.jboss.org
Wed Aug 18 15:44:12 EDT 2010


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

Alex Kolonitsky resolved RF-9009.
---------------------------------

    Resolution: Done


> switchablePanel's: improve cycled switching
> -------------------------------------------
>
>                 Key: RF-9009
>                 URL: https://jira.jboss.org/browse/RF-9009
>             Project: RichFaces
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.0.0.Milestone1
>            Reporter: Ilya Shaikovsky
>            Assignee: Alex Kolonitsky
>             Fix For: 4.0.0.Milestone2
>
>
> TOGGLE PANEL
> 1) 
> <rich:togglePanel id="panel1">
> ...
> <rich:toggleControl forPanel="panel1"/> 
> show works. (successfull switching to the first state from empty one)
> 2) 
> <h:form>
> <rich:togglePanel id="panel1" activeItem="item1">
> <rich:togglePanelItem name="item1">
> <h:outputText value="Item1"/>
> </rich:togglePanelItem>
> <rich:togglePanelItem name="item2">
> <h:outputText value="Item2"/>
> </rich:togglePanelItem>
> </rich:togglePanel>
> </h:form>
> <h:commandButton>
> <rich:toggleControl forPanel="panel1"/>
> </h:commandButton> 
> also should works. 
> GENERAL NOTES:
> switching without next state definition should be performed only till the last item.
> probably we need to add cycledSwitching boolean attribute.  if true - switching from the last one should be performed to first if no next item defined at activated control. If need to discuss or postpone - let's create separate task for that.
> TAB AND PANEL BAR
> switching from JS api without the next state definition should worrks in the same way as for TP from controls without state defined.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list