Problem when i assign variable to contentsURL

i am using following code :

var mfgID = “manageMfg”+count ;
isc.HTMLPane.create({
ID:mfgID,
width:“100%”, height:“100%”, showEdges:false,
contentsURL:“../manufacturer/manageManufacturer.html”,
//contentsURL:HTMLFilesConstants.MANAGE_MANUFACTURER_PAGE,
contentsType:“page”
});

	tabSet.addTab({
		title: "Mfg Management",canClose: true,
		pane:mfgID, width : 100
	});
	tabSet.selectTab(tabSet.tabs.length-1);

tabSet is already defined

Here you can see attribute “contentsURL” twice in above code.
The one that is not commented works fine.
But when i try to do it with the one that is commented , it does not work.
I found the problem it was the “.” that i use in “HTMLFilesConstants.MANAGE_MANUFACTURER_PAGE” variable

Instead of this variable if i use simple variable like MANAGE_MANUFACTURER_PAGE it works fine.

But i have to be consistent throughout my application and have to use variables like HTMLFilesConstants.MANAGE_MANUFACTURER_PAGE

What can i do ?? what problem it has if there is “.” in the variable ?

Hi vgattini,

SmartClient component definitions are ordinary JavaScript, nothing special going on - SmartClient can’t influence the behavior of the “.” in your JavaScript expression. Something is actually wrong the HTMLFilesConstants variable - possibly a typo in the variable name.