SectionStack problem

Hi ,
As we are migrating from smart client version 5.7 to 6.5.1 we are getting SectionStack error, SectionStack is undefined.Please help me to slove this.
the which i am using is
[
isc.SectionStack.create({
margin:3,
visibilityMode:“multiple”,
sections:[
{
expanded:false,
canCollapse:false,
resizeable:false,
autoShow:true,
title:“Home”,
click:function()
{
bannershow();
var LPcookie=Cookies.getCookie(‘LPsave’);

        },
        mouseDown: function()
        {
            ChangeSecFontColor();
            SetActionTypeAsButton();
            if(this.expanded == false)
            {
                
                return (this.setExpanded(true));    
            }    
        },
        ID:"sssApplnHm_Home"
        }
  ],
autoDraw:false,
animateSections:true,
animateMembers:true,
overflow:"scroll",
scrollSectionIntoView:true,
height:"95%",
ID:"ssAppln_application"

})
In the page load we using

sssApplnHm_Home.setExpanded(true);

]

At this line it is giving error
sssApplnHm_Home is undefined

Note:It work fine with version 5.7

SectionStack works fine in 6.5.1 as you can see in many examples. You have somehow botched the upgrade - take a look at the Deploying SmartClient chapter in the SmartClient Reference, make sure you’ve followed all the steps and have cleared browser cache.

The document which you have told refer we refred that i think there is no change in code, just look at the both codes of the document and the which we are using

This code is copied from the document
<HTML><HEAD>
<SCRIPT>var isomorphicDir=“../isomorphic/”;</SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Core.js></SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Containers.js></SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Grids.js></SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_Forms.js></SCRIPT>
<SCRIPT SRC=../isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
<SCRIPT SRC=../isomorphic/skins/SmartClient/load_skin.js></SCRIPT>
</HEAD><BODY>

this is coded what we are using

<script> var isdisableISCCode = false; function toggleLayer () { return; } </script>
<META HTTP-EQUIV=“Cache-Control” CONTENT=“no-cache”>
<script>var isomorphicDir=“isomorphic/”;</script>
<script src=“isomorphic/system_6_5_1/modules/ISC_Core.js”></script>
<script src=“isomorphic/system_6_5_1/modules/ISC_Foundation.js”></script>
<script src=“isomorphic/system_6_5_1/modules/ISC_Containers.js”></script>
<script src=“isomorphic/system_6_5_1/modules/ISC_Grids.js”></script>
<script src=“isomorphic/system_6_5_1/modules/ISC_Forms.js”></script>
<script src=“isomorphic/system_6_5_1/modules/ISC_DataBinding.js”></script>

note:we have renamed the system to system_6_5_1 for using 6.5.5 version
Please help me in this.

Again, there’s no SmartClient problem here, you just need to fix your installation using the provided instructions. Best of luck.

is that this line of code causing the problem?.

<script> var isdisableISCCode = false; function toggleLayer () { return; } </script>

as per configuration it is working fine with 5.7 version but when changed to 6.5.1 it is giving the said error. i have referred & followed to the deployment document for non java platfrom it as specified this much only.

there no change code in the deployment document and the our code…

I hope this will help you to provide us the proper solution.

Hi ,
actually the section is inside the SectionStack i think so not getting the section name , is there any method to get the setction of the sectionstack
the code is[

isc.SectionStack.create({
sections:[
{autoShow:true, title:“Home”, ID:“SectionStackSection1”,click:function(){alert(‘hi’),;
}},
{autoShow:true, title:“work”, ID:“SectionStackSection0”,click:function(){alert(‘hi’);}}
],
visibilityMode:“multiple”,
ID:“SectionStack0”,
autoDraw:false
})

isc.VLayout.create({
members:[
SectionStack0
],
height:“100%”,
width:“100%”,
autoDraw:true
})

]

can you please tell me how to get the scetion name from sectionstack..
i think now have all the information to give the solution …

Hi ,

i got the solution for it we need to use syatax like this
syantax i have used is like this
sectionstackID.expandSection(indexof the section stack);
example
ssAppln_application.expandSection(0);
collapse
sectionstackID.collapseSection(indexof the section stack);
ssAppln_application.collapseSection(3)

Note : this can be used in version 6.5.1

how to specify the array in valuemap

hi
I am having one array and i want use it in combox as datasource ie data to be displayed can u plz help in this .

var days = new Array(‘Sunday’,‘1’, ‘Monday’,‘2’, ‘Tuesday,’‘3’, ‘Wednesday’,‘4’, ‘Thursday’,‘5’, ‘Friday’,‘6’, ‘Saturday’,‘7’);

how to display this array as the data source to the combobox ?

isc.DynamicForm.create({
ID:“dynfAppln_login”,
left:50,
top:50,
height:215,
numCols:3,
backgroundColor:“#FFFFFF”,
cellSpacing:5,
autoDraw:true,
fields:[

{
name: “cmbAppln_staff”,
title: “Staff”,
startRow:true,
colSpan:2,
editorType: “comboBox”,
width:260,
///valueMap:{days }

],
ID:“dynfAppln_Version”,
//colWidths:[400,“*”],
colWidths:[“40%”,“60%”],
height:15,
numCols:4,
autoDraw:false
})
]
});

When starting a new discussion, please post as a new thread.

That being said, why not use a valueMap: example