A simple operation throws "java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1" when I switch between the tabs on a tabpanel.
The tabpanel has two tabs referring to the same table view form through two different relations.
If I remove either of the tabs - the form looks fine.
However, if I execute the line below, the exception is thrown:
- Code: Select all
elements.tab_report_lists.tabIndex = elements.tab_report_lists.getMaxTabIndex();
Setting the tab index with a number (2) or the tab name as a string produce the same effect.
Bug?
Cheers,
Maria