APEX-PLUGIN.COM

..the apex plugin directory

an initiative of

 

Compete in the ODTUG APEX   Plugin Competition!

·   Rules on ODTUG

·   Register to submit

·   Winner will be announced at Kscope12!

 

Basic Competition Rules

  • Only new plugins can enter the competition
  • Plug-ins must be submitted by May14,2012
  • Select ODTUG Competition as category
  • Provide an URL to a demo location
  • Source code uploaded to ODTUG Competition category is not downloadable during competition

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 DHTML Dialog

DHTML Dialog

10

DHTML Dialog is a flexible dynamic action plugin which displays a modal dialog with dynamic content.

Features:

  • Content is pulled via an AJAX call (PL/SQL Code).
    You have access to the apex_application.g_x01, ... variables, which are passed using the class attribute from the triggering element.
    Example: <a xhref="javascript:;" class="show-employees-plsql {x01: #DEPTNO#, x02: '#DNAME#'}">Employees</a>
  • Use the href attribute from the triggering element to load content into the dialog via an AJAX call.
    When you only want a specific page region loaded, enter the static region id in the correspondig plugin setting.
  • Content is an IFrame using the href attribute from the triggering element. From within the IFrame you can close the dialog using the "Close DHTML Dialog" process plugin.
  • Content is an image of which the source is pulled from the database using PL/SQL Code or using the HREF attribute from the triggering element.
  • You can add dynamic actions based on the "Open"and "Close" events of the "DHTML Dialog" plugin.

See the readme files in the zip file for instructions.

Please also take a look at my demo application hosted at apex.oracle.com.


Keywords
dialog, dynamic, action, process, iframe, ajax

DHTML Dialog
DHTML Dialog
Company:
Date added: 20.7.2010
Views: 9972
Votes: 26
Reviews: 42
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 
Please - PDF Instrution to Use
by Sergio Mondino
on December 13, 2011
Thanks for write the Plug-in, but it would be of great utility, if you write a file pdf with instructions on his use, only print of screen, easy... and his work will be competo

regards.

Sergio..
8 
DHTML Dialog with HREF attribute
by Kiran Pawar
on December 8, 2011
Hello Guido,

A very nice plugin. I was able to use it and show data using PL/SQL ajax pull.

I am using Application Express 4.1.0.00.32 and
Oracle Database 11g Release 2 and browser Mozilla Firefox 8.0.1.

I am not able to use the HREF attribute. The link works and shows a DHTML Dialog with error "Unable to load content. error" and closes and page directs to actual page instead of showing it as a dialog.

I have set the following attributes to the dynamic action:
When :
Event : Click
Selection Type : jQuery Selector
jQuery Selector : a.show-employees-href
Settings ;
Dialog ID : showMyDialog
Dialog Title
Dialog Width : 600
Dialog Height : max
Content Type : Element HREF Attribute
Use IFrame : No
Extract Region: dialogRegID(region on the page where the link redirects and which I want to show in the dialog)
Affected Elements:
Selection Type : Region
Region : Show Employees(20)

Please indicate and guide me where I am going wrong.
Regards,
Kiran Pawar
10 
Cancel event on what
by Ivan
on September 30, 2011
Hi Guido,
I have the problem of Josep, but on which event I have to put Cancel Event. I tried with Open [DHTML Dialog] with JQuery selector - #my_dialog_id and didn't work.
Thx in advance!
0 
Button?
by Kees
on September 28, 2011
Hi Guido,

Is there a way to get this plugin to work with a button? The button uses a javascript redirect instead of a normal URL.

Kees.
0 
Re: Re: APEX 4.1 close dialog workaround
by Frank Klein
on September 7, 2011
Hi Guido,

Thx! Adding apex_application.stop_apex_engine; did it!

Frank.
0 
Re: APEX 4.1 close dialog workaround
by Guido Zeelen
on September 6, 2011
Hi Frank,

In the source code of the "Close DHTML Dialog" process plugin, replace the statement apex_application.g_unrecoverable_error := true;
with apex_application.stop_apex_engine;

This should work.

Kind regards,
Guido
0 
APEX 4.1 close dialog workaround
by Frank Klein
on September 6, 2011
Hi Guido,

Maybe this is a known issue, but i've encountered the following...

After an upgrade to APEX 4.1.(0.00.32) the plugin didn't fully work anymore. The htp.p procedure in the process plugin (to close de dialog) didn't do anything and the dialog stayed open.

I've solved this problem by putting a pl/sql based branch in het dialog page (with no conditions). The branch contained the following pl/sq:

begin
null;
end;

This is an extremely strange solution.

Do you know if this is a known "bug" (the same problem occurs when you put the htp.p in a page process!!!)?

It seems that the plugin first wants to get back to the page before running the htp.p...

Hope this helps someone!!!

With regards,
Frank.
0 
dhtml popup
by Nihad
on July 19, 2011
Hey

Are anyone try to create popup in popup...
First popup works but when i try to open new popup from that it doesnt work!
0 
dhtml popup
by Nihad
on July 19, 2011
Hey

Are anyone try to create popup in popup...
First popup works but when i try to open new popup from that it doesnt work!
10 
Re: APEX Freelancer by Josep
by Guido Zeelen
on July 18, 2011
Have you added the "Cancel Event" action?
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.