NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Rene Simons on March 29, 2010, 12:48:50 AM

Title: Switch Tab remembering on and off
Post by: Rene Simons on March 29, 2010, 12:48:50 AM
Hi,
Is it possible to switch the Tab remembering on and off at procedure level.
In some cases, tab remembering is annoying for users and sometimes it is convenient.
Rene
Title: Re: Switch Tab remembering on and off
Post by: Poul on March 29, 2010, 08:53:44 AM
I seem to remember being annoyed when the tabs were not "remembered".

if i understand you, the sessionvalue you need to set is 'showtab_yourupdateform' - if you can find the right embeded to set it to 1 or whatever value you prefer -
bruce will have it set to loc:tabnumber (the current value) or loc:invalidtab when there is an error.

one place i might do this would be at the bottom of the proceduresetup
Code: [Select]
  IF p_web.getPageName(p_web.RequestReferer)   = 'formIcamefrom' 
     ... override some tab/focus session values fields.
  end
Title: Re: Switch Tab remembering on and off
Post by: Rene Simons on March 29, 2010, 01:22:45 PM
Thanks Poul,

That's why I want to have a choice.
Thanks for the tips. I think I can sort it out this way.

Rene