Recent Questions Tree Examples Apex 4Q: I'm testing the trial version and I'm having a little problem with the state saving. Everytime it navigates to another page, it does not save the state, even with
In fact, it actually opens up a different menu other than the one I originally clicked.
A: See, if you open pages (with menus) from different folder it means that you open different menus. So, when you change a state, for example, of the first menu within "newzap/" folder and then open another page with the menu within "newzap/learn/", browsers looks for another cookie file and can't find it and the second menu stays in a default state.
Try to set different
for different menus.
That should work.
dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
I want to disable some fields for different users.
I have 3 role id's set in my database.
I want certain fields disabled for different users.
For eg : For Roleid =1 , i.e admin , I want all items to be visible.
For Roleid =2 , i dont want the Admin Options to be visible.
For Roleid=3 , I dont want Admin Options & Status reports.
Can you please elaborate on the working of the changeItemVisibility function. I was confused as there were no examples to demonstrate the code.
A: Notice also that you should set
parameter to use API functions.
Q: My question is regarding the single user license. I am currently writing a website for use on my companies intranet. The machine I am writing it on will unlikely be the machine that it eventually lives on, which could also quite possibly change as well. Looking at the instructions for the license, it seems I require a domain name for the key. The problem is that the current machine I am using is not in DNS, & even if it were, the machine that it will eventually live on will not resolve to the same name (if it even will have a DNS entry in our internal DNS server). So, does the license look for the name that is specified from the client browser, or does it look internally on the web server itself? I am wondering if I set the web servers hosts file or httpd.conf to reference the name given in the license key taht will allow me to transfer the menu to another server?
A: You can register the menu for a domain name or for IP address.
In other words, you should register the menu for the domain name thatyou print in a browser's search string, for example:
var showByClick = 0;          Show submenus on a mouse click only.
0 - disabled (default),   1 - enabled.
You can use such parameter in you menu:
var transDuration = 300;         - Delay of a transitional effect (in ms) on submenu's showing.