XPages, dijit.Menu & server side js

Hi guys,

is there a way to get the “dijit.Menu”/“dijit.MenuItem” widget to work with server side js?

I’m looking forward to read your suggestions.

Thanks

Subject: menu

…and what would the result be of such an operation? a menu displayed on the server?

Thomas

Subject: result

Hi Thomas,

i have a view control inside my xpage & would like to have the function that when you do a right-click on a view entry it appears a menu (thats no problem). but i want to bind a server-side js to the menu entry.

e.g.: “show document fields”.

So the click on the menu entry has to start a server-side js. but it doesn’t work so far.

Subject: Ajax

hello. assuming I understand you question, here is My answer

you need to do an ajax request using dojo and return the values you want. you could call an agent that get you the values or probably call an xpage that trigger ssjs on load.