SmartClient version : SmartClient_v90p_2014-03-07_PowerEdition
Browser(s) and version(s) : Internet Explorer Version 9 and Google Chrome Version 28.0.1500.95 m
We tried to override the default value of emptyPickListMessage of PickList interface after loading required smart client libraries
The code is as follows :
Below is the code to construct the PickList in my jsp:
but when we put the emptyPickListMessage in pickListProperties,it is working fine.
But we need this customized/overriden value to be appeared/shown in all our pick list menus accross the application.
so we decided to keep the overriden value in a common file called common.jsp which will be included in all jsp pages.
Browser(s) and version(s) : Internet Explorer Version 9 and Google Chrome Version 28.0.1500.95 m
We tried to override the default value of emptyPickListMessage of PickList interface after loading required smart client libraries
The code is as follows :
Code:
isc.PickList.addInterfaceProperties({emptyPickListMessage : "test message"});
Code:
sc.ListGrid.create({ ID:"test", fields:[ { name:"DEPARTMENT", pickListProperties: {showFilterEditor:true}, pickListFields:[{name:"NUM",title:formatText('<fmt:message key="Field.DEP_NUMBER"/>')}, {name:"NAME",title:formatText('<fmt:message key="Field.ENGLISH_NAME"/>')} ] } ] });
But we need this customized/overriden value to be appeared/shown in all our pick list menus accross the application.
so we decided to keep the overriden value in a common file called common.jsp which will be included in all jsp pages.
Comment