Hi all,

I want to control the sequence of panel initialization. Reason:

On system start up, I have a login panel to display and a procedure, sys_login, to execute on pressing the login button. But even before the log in screen is displayed and before my sys_login procedure is executed some of my other panels are initialized. These are my main menu panels and the main screen that is meant to be displayed on successful log in. In fact, on successful log in only, I am giving the following command, in my sys_login procedure, to display the CM_MENU panel :

      api_panel.replacepanel('mainPanel', 'CM_LOGIN', 'CM_MENU');

But before even executing this command in my sys_login procedure and even before displaying the log in screen, the CM_MENU panel is initialized which is meant to be displayed after successful log in only.

How can I solve this problem or how can I control the sequence of panel initialization?

Regards.

George

asked 30 Jan '14, 00:59

grajan777's gravatar image

grajan777
1011226
accept rate: 10%


Hi George,

Formspider initializes a Panel when it is referenced. This reference can come from two places: 1) The Panel or one of its parent Panels is referenced by an API call 2) The Panel or one if its parent Panels is being shown on the screen.

There is no way a developer can control the initialization of Panels.

Kind Regards,
Yalim

link

answered 30 Jan '14, 08:06

Yalim%20Gerger's gravatar image

Yalim Gerger ♦♦
1.8k5
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×3

Asked: 30 Jan '14, 00:59

Seen: 609 times

Last updated: 30 Jan '14, 08:06


© Copyright Gerger 2017