Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 3.0.RC1
-
Component/s: ACE-Components
-
Labels:None
-
Environment:ICEfaces 3.0 RC1, Williams App and POC, FireFox browser
-
Assignee Priority:P1
Description
Steps to reproduce issue in Williams POC:
- SVN update POC to make sure you have latest code and use the ICEfaces 3.0 RC release.
- Load POC
- Load the first tab with Screen 1.
- Click retrieve button.
- Click on the '+' Menu item to load a new blank tab.
- Go back to the first tab.
- Enter in '2' for the ID column filter input.
- Clear out the input.
- Click on the '+' Menu item to try and load a new tab. -> Nothing happens.
- Click on the '+' Menu item again, a JavaScript error is thrown, two tabs are now loaded at once.
- SVN update POC to make sure you have latest code and use the ICEfaces 3.0 RC release.
- Load POC
- Load the first tab with Screen 1.
- Click retrieve button.
- Click on the '+' Menu item to load a new blank tab.
- Go back to the first tab.
- Enter in '2' for the ID column filter input.
- Clear out the input.
- Click on the '+' Menu item to try and load a new tab. -> Nothing happens.
- Click on the '+' Menu item again, a JavaScript error is thrown, two tabs are now loaded at once.
JavaScript for the DataTable appears to generate the component IDs that are not found:
<script type="text/javascript">var rtrvdTbl = new ice.ace.DataTable('sub_Screen1:screen1Form:masterTable',{formId:'sub_Screen1:screen1Form',filterEvent:'change',configPanel:'sub_Screen1:screen1Form:j_idt31',paginator:new YAHOO.widget.Paginator({rowsPerPage:5,totalRecords:19,initialPage:1,containers:['sub_Screen1:screen1Form:masterTable_paginatortop','sub_Screen1:screen1Form:masterTable_paginatorbottom'],template:'
{CurrentPageReport}',rowsPerPageOptions : [5,15,30],alwaysVisible:false}),selectionMode:'single',instantSelect:true,panelExpansion:true,behaviors:{select:function() {ice.ace.ab(
{"source":"sub_Screen1:screen1Form:masterTable","execute":((arguments[1]) ? arguments[1] + ' ' + 'sub_Screen1:screen1Form:masterTable' : 'sub_Screen1:screen1Form:masterTable'),"render":((arguments[2]) ? arguments[2] + ' ' + 'sub_Screen1:screen1Form:dtlDvdr' : 'sub_Screen1:screen1Form:dtlDvdr'),"event":"select","params":arguments[0]});}}});</script>