NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on April 15, 2012, 12:36:58 PM
-
Hi Guys,
How do I get a menu-selection from the menu-extension to set a local/session value?
I don't want to open another URL or procedure, but set a value only.
I have a NetWebBrowse with some conditional children on the same procedure as the menu-extension.
I'd like to show the child procedure (browse) related to the menu item the user selected.
Any advice will be appreciated.
Thanks, Rupert
-
You could try adding the parameters to the URL of you parent browse which would trigger a refresh and show the right child browse.
-
Thanks Kevin,
What should the parameters look like, as an example?
I am using for instance LOC:MnuVal for the menu value as the condition for the child-browse.
-
'myparentbrowseurl?childbrowse=' & p_web.gsv(LOC:MnuVal) !you would need to pass LOC:MnuVal to a SSV
use & if you have more than 1 parameter to pass
In the parent browse you would use p_web.getvalue('childbrowse') to get the value of the parameter. This needs to be done at the start of the code as the value is short lived. So it's a good idea to pass it to a SSV at this point.
Hope that makes sense.
Kev