Greetings,
I've got a strange problem and I'm chasing my tail. I'm hoping the folks at Isomorphic can shed a little light.
I have a tab set where each tab uses a ViewLoader to load a .jsp. The first jsp has a form with a number of select items generated from a datasource. Works perfectly. The second tab, loading another .jsp with a form, throws an error and displays incorrectly when the select list has a datasource attached. I've check the DS definition, made the startrow, endrow and totalrows are set. I've checked the RPC responses. I've stripped down the code to almost nothing, and yet the select item won't display right (appears in upper left hand corner instead of inside the tab). Again, this only happens when I specify the datasource. Without the datasource, it works fine. The error I get is:
Viewing the html source, the datasource looks like this:
The form creation that gets pulled into the tabset through the viewloader looks like this:
The RPC response looks like this:
Does the error message above give any hints as to what is going on?
I've got a strange problem and I'm chasing my tail. I'm hoping the folks at Isomorphic can shed a little light.
I have a tab set where each tab uses a ViewLoader to load a .jsp. The first jsp has a form with a number of select items generated from a datasource. Works perfectly. The second tab, loading another .jsp with a form, throws an error and displays incorrectly when the select list has a datasource attached. I've check the DS definition, made the startrow, endrow and totalrows are set. I've checked the RPC responses. I've stripped down the code to almost nothing, and yet the select item won't display right (appears in upper left hand corner instead of inside the tab). Again, this only happens when I specify the datasource. Without the datasource, it works fine. The error I get is:
Code:
12:01:44.334:XRP5:WARN:clickMask:Attempting to unmask target canvas:isc_PickListMenu_65 with respect to a hard click mask. This is not a top level Canvas - all ancestors of this Canvas will also be unmasked.
Code:
isc.DataSource.create({ serverType:"generic", dataFormat:"iscServer", fields:[ {name:"option_value", type:"text"}, {name:"display_value", type:"text"}, {name:"db_field", type:"text"} ], operationBindings:[ {methodArguments:"$request, $dsRequest", serverMethod:"fetch", operationType:"fetch"} ], ID:"AdvancedSearchValueMapDS" })
Code:
isc.DynamicForm.create({ ID:"financialSearchForm", fields: [ {name:"criteriaField", showTitle:true, title:"Criteria", type:"select", pickListFields: [ {name: "display_value"} ], optionDataSource:"AdvancedSearchValueMapDS" } ] });
Code:
[ { invalidateCache:false, data:[ {display_value:"TEST", option_value:"TEST"}, {display_value:"TEST", option_value:"TEST"}, {display_value:"TEST", option_value:"TEST"}, {display_value:"TEST", option_value:"TEST"}, {display_value:"TEST", option_value:"TEST"}, {display_value:"TEST", option_value:"TEST"} ], endRow:6, status:0, totalRows:6, startRow:0, isDSResponse:true } ]
Comment