Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

displaying Oscript FunctionMenu

Status
Not open for further replies.

andreke

Programmer
Feb 25, 2004
2
BE
In the html response file for an action, I would like to display some livelink nodes extracted from the database.
Could someone explain me what should I do to have the functionMenu applet correctly displayed ?

I have included the functionMenu.js in my html and I use :
<A HREF="" ONCLICK="javascript:showFunctionMenu('', `rec.dataId`, event); return false"> ........ </a

 
Are you having problems getting it to work, if so please provide some more information.

Looking at the template, the BROWSEVIEW.HTML page in the WEBNODE directory shows that you have the correct syntax, I assume that you have the correct object loaded as well.

If you run the Builder in Debug mode you can see the values that are used in the standard BROWSEVIEW and then compare them to the ones in your custom page.
 
I agree with Greg that builder is the easiest debugger.But curious are these custom nodes?( has a positive integer in dtree subtype) and if so then you may have to enable the node this one from the documentation
If the custom node object is a container in which other Livelink items are stored, set the value of the fContainer feature to TRUE.Read up fully on the documenation as this may not be the only setting you have to tinker.

Everybody is ignorant, only on different subjects. - Will Rogers

appnair

 
I have no problem to retrieve the webNode from the database (standard nodes, folders, projects, retrieved by an SQL command using DAPI).

I successfully display links to "open" or "properties" actions and these links works fine, but I don't know exactly what should I do to initialize the applet FunctionMenu. The icon appears but doesn't work, I'm redirected to livelink root and naturally I get an unhautorized error page.

. I suppose some initialisation should be done before calling
showmenufunction ?

thanks for your help !!!
 
do you have the same problem with the Main menu bar as well ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top