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!

I need to insert in the XSL the right click funcionality!!

Status
Not open for further replies.

matolivera

Programmer
Jan 15, 2003
2
AR
I need to insert in the XSL the right click funcionality!!
I have an XML an and XSL. Also have the Jcripts functions yo put it to work, but i dont know what i have to insert in the xsl. Thank U all.
 
Does MicroStrategy provide an XSL that handles right-click navigation? This functionality (out-of-the-box) is available when DHTML is enabled and a customized XSL is not being applied to the XML, but I have not seen this provided in XSL template.

I'm sure it is doable, but I don't think this comes shipped with MSTR.
 
Matolivera,
Chael is right, the right mouse click functionality has nothing to do with the XSL used, but rather the XML. You could manipulate XML through server side VB script functions inside the Active Server Pages. Not easy, though. The result will be a code set that writes JavaScript and browser neutral dynamic HTML as each report is processed.

Lancet markets that, check:
Alfredo
 
Thanks Alfredo for the link.

If this is a requirement for an XSL stylesheet, it could be done. Part of the solution is already there for you in a javascript include file called contextmenu.js -- at least this shows you the basic idea behind what right-click js fucntions are doing, etc. The problem would be the same encountered by the Lancet folks: how to build out the drill paths correctly via the nodes built into the XML and then draw them out properly into the menu.

My advice is not to reinvent the wheel...OOB MicroStrategy 7 already has this as a feature...I think this capability was first introduced in 7.1? Maybe someone can clarify for me. It would be FAR easier to upgrade than to create the XSL...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top