on 08-05-2008 2:39 PM
Hi experts,
I am new to scripts. I have got a problem when developing a script form. I have two pages in my script. In the MAIN window i wrote a piece of code. But, in the second page when i create the MAIN window, the data is not getting printed. Also i observed that the code in the MAIN window of the first page is not there. It's becoming blank.
So, please provide me a solution.
Thanks.
Hi Pavan,
We can have more than one MAIN window in Scripts. But, the content in the MAIN window should be the same in every MAIN window, i.e. the same piece of code would be executed under the MAIN window of each and every page.
In your case, u r creating a new MAIN window in every page, u created. But, if you do that, the code in the newly created MAIN window (which is Blank) would be copied to the MAIN window created for the previous pages.
So u can copy the first PAGE layout to the second PAGE and remove or add the windows according to your requirement. For this go to the Tab PAGES and click on u201CEDIT->Copy Elementu201D.
Hope this works.
Phaniram.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Copy the same main window in your next page......
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First you should make sure we can call 99 instence of main window in script,we cannot copy the main window over 99 times.this confusion should be clear.
how did you create second main window?
just call the same main window in second page and do changes in second main widown as required.
Amit.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.