APEX-PLUGIN.COM

..the apex plugin directory

an initiative of

 

Top Rated Plugins

Add your APEX4.0 Plugin info

Describe your Plugin’s features. You can upload the Plugin’s code and documentation, or, alternatively, submit the URLs to your website or blog.

You are here:
Follow us on Twitter
Dynamic Action Plugin Context(rightclick) Menu

Context(rightclick) Menu

10
Categories: Dynamic Action Plugin
Author: vikram

A beautiful apex dynamic action plugin

A beautiful apex dynamic action plugin created using http://www.abeautifulsite.net/blog/2008/09/jquery-context-menu-plugin/ that adds the context menu to any APEX Report or Region.

Just use this dynamic action plugin on page load event to create context menu for region, report or any jQuery selector.

It also works on  Interactive reports and SQL Reports.

Adding Icons:

You can add your own icons to the menus by adding CSS entries to your page header.

For example:

As shown below you can add an icon to the menu called Test1 space, The actual menu name is 'Test1 space'  but the menu css class attribute will be set to Test1_space by this plugin(replaces space with _).

.contextMenu LI.Test1_space A { background-image:url('#WORKSPACE_IMAGES#help.png'); }

Click here to see an working example

 

Please add a comment below, if you need any more help on how to use this plugin.


Keywords
apex plugin,apex context menu,dynamic action

Context(rightclick) Menu
Context(rightclick) Menu
Company:
Date added: 20.3.2012
Views: 23198
Votes: 19
Reviews: 59
Min. APEX Version:
4.0
Share on Facebook
Digg! Share on Digg
Save This Page
Download
download apex plugin
If something is not correct please report it here: Report Listing
Do you have a question about this Plugin? Want to write a Review or Comment?
Login first.
Reviews / Questions / Comments are e-mailed to the author of the Plug-in.
0 
RE: Some more Details
by vikram
on April 9, 2014
Thanks Peter,

I will look at this and get back to you by this weekend.
10 
Some more Details
by Peter Ettinger
on April 9, 2014
I kept testing my issue and found out some mor interesting details that may help us:
in my ie8 runnung on windows xp the akction property was not passed to the callback function correct. instead the url of the edit column of the IR was passed, the action concatenated at the end.

the ie on the custimers win7 pc reported an error when clickin' on my context menu entry"
Webpage error details:
Message: 'console' is undefined
Line: 21"
i already had some problems with the "console" object in the IE in past projekts. maybe that helps to find the cause of the problem.

grets fom germany
peter
10 
Push
by Peter Ettinger
on April 1, 2014
just to push my last post/question
0 
IE8 issue
by Peter Ettinger
on March 24, 2014
Hi,
i think i got an issue regarding IE8:
Some of my Customers working in a real big company, are forced by central policy to use ie8 as primary browser in windows 7 systems.
the customers complain that using the context menu stalls the browser, windows pops up with "application not responding" error.

then i try to reproduce the error using ie8 on my win-xp test box:
the selected action is not executed. but the default section of the js function is always executed; this pops up the information window of your demo app.

did you ever try using ie8?

Regards
Peter



<<<<<<<<<<<<<<<<<<<<<<
function myMenuAction2(action, el, pos) {
var url = 'f?p=&APP_ID.:90023:&SESSION.:COPY_BELEG:&DEBUG.::P90023_NR_VASUCHE:';
url = url+ $(el).children('td[headers="NRBELEG"]').text();
var get = new htmldb_Get(null,$x('pFlowId').value ,'APPLICATION_PROCESS=URL_CHKSM',0);
get.addParam('x01', url);
gReturn = get.get();
get = null;
if (action =='Beleg kopieren') {
console.log('Verzweige zu URL'+gReturn);
redirect(gReturn);
}
else
alert(
'Action: ' + action + 'nn' +
'IR Element Id: ' + $(el).children('td[headers="NRBELEG"]').text() + 'nn' +
'URL: '+ gReturn +'nn' +
'Element Html: ' + $(el).html() + 'nn' +
'X: ' + pos.x + ' Y: ' + pos.y + ' (relative to element)nn' +
'X: ' + pos.docX + ' Y: ' + pos.docY+ ' (relative to document)'
);
}
>>>>>>>>>>>>>>>>
0 
RE: Left-click
by vikram
on March 21, 2014
Hi Scott,

No there is nothing I can think of now. I think it has to be customized to be a button menu.

Thanks
0 
Left-click
by Scott
on March 21, 2014
Hi,

Is there a way to modify the plug-in to respond to a left click on a button?

I'd like to use it while on a tablet.
0 
regex
by asdad
on March 15, 2014
Hi, thanks for your great plugin!
Is there any chance we can use regex as jquery selector? I tried to use something like this div[id^='abc'] and it does not work. I need this, cause i want to add a context menu to a tree in apex 4.2.

Thanks
0 
RE: Feature Request
by vikram
on March 11, 2014
Hi Peter Ettinger,

That makes sense and I will incorporate that feature and share it with you.

Thanks
10 
Feature Request
by Peter Ettinger
on March 11, 2014
Great plugin. Got it up and running within minutes. Does its job nice and smooth. Using conext menues gives my app a stylish modern look and feel. thanks!
i have a, maybe small, feature request:
can you separate the menue item name and the name of thie action which is passed to the js function? maybe in one string separated by >;< like in static lov entries.
background:
i stumbled across various problems, because my customers wanted the menu text to be changed after i presented them the release candidate of the app. but i always forgot to change the js function as well :-(
the other point is, that i often provide a multi language version of the app. but i can not translate the menu texts

could i make my wish clear?

thnaks
peter
0 
RE: tony miller
by vikram
on February 14, 2014
Np thanks tony
Powered by Sigsiu.NET RSS Feeds

Disclaimer: The APEX Plugins on this site are not supported by Oracle Support Services.

If you have a question about a Plugin or need support: Login and select the plugin detail page. At the bottom you can enter your Question / Review / Remark.
Your message will be sent to the author of the plugin.