Passing a variable to $$ViewTemplateDefault

Hi,

I have a document which is launched when user access the application from the browser.

There are 2 buttons in this document, one to open Vehicle Booking View while the other opens Air Ticket Booking view. I also have a $$ViewTemplateDefault form. This forms are designed to mimic the frameset look, but I actually use the HTML and CSS to emulate it. It contains 2 panes, left to display the menu and the right displays the view. The left pane contains buttons to open views, which are generated using the HTML & CSS agent, fired from WebQueryOpen.

Problem:

I want to display different set of menu/buttons depending on the button (upon opening the database) clicked by user.

My idea is, when user clicks on Vehicle Booking button i want to set a variable so that when the agent in the webqueryopen is fired, it will use this as criteria on which view to lookup from etc. and subsequently the kind of menu displayed. I tried to use get/set environment string but this does not work in web environment…

any suggestion…

appreciate your help.

Subject: Passing a variable to $$ViewTemplateDefault

You can pass a value in the URL or use @ViewTitle.