]
Jay Balunas updated RF-10867:
-----------------------------
Fix Version/s: 4.1.0.Milestone1
(was: 4.0.1.Milestone1)
JS API: switchablePanels: rename a few methods
----------------------------------------------
Key: RF-10867
URL:
https://issues.jboss.org/browse/RF-10867
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-panels-layout-themes
Affects Versions: 4.0.0.Final
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Fix For: 4.1.0.Milestone1
problematic API methods:
firstItem(), prevItem(), nextItem(), lastItem()
and description from documentation:
Switch to and display the first item, the previous item, the next item, or the last
item.
But actually all that methods just returns name of corresponding item. So them do not
perform switching but only could be used as a parameter of switchToItem(itemName) method.
Actually I do not think we need them to be used as parameters as there is more convenient
way already:
tabPanelObject.switchToItem('@last')
tabPanelObject.switchToItem('@next')
...
But let's keep as option for users and rename to
getFirstItem(), getPrevItem(), getNextItem(), getLastItem()
Approved via email discussion.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: