Loading...
Mark´s Playpen Integrating ExtJS javascript library with Oracle Application Express
APEX_PUBLIC_USER
Value
Rows Displayed
Instructions

Pressing the "Show Window" button calls javascript to open another page in a ExtJS window.

Display another page in a ExtJS Popup Window   
IRR in page definition   
Id
Domain
Code
Code Description
Parent Id
251COUNTRY_SUBDIVISIONDZ-ADEAin Defla8
252COUNTRY_SUBDIVISIONDZ-ADRAdrar8
253COUNTRY_SUBDIVISIONDZ-ALGAlger8
254COUNTRY_SUBDIVISIONDZ-ANNAnnaba8
255COUNTRY_SUBDIVISIONDZ-ATEAin Temouchent8
256COUNTRY_SUBDIVISIONDZ-BATBatna8
257COUNTRY_SUBDIVISIONDZ-BBABordj Bou Arreridj8
258COUNTRY_SUBDIVISIONDZ-BECBechar8
259COUNTRY_SUBDIVISIONDZ-BEJBejaia8
260COUNTRY_SUBDIVISIONDZ-BISBiskra8
261COUNTRY_SUBDIVISIONDZ-BLIBlida8
262COUNTRY_SUBDIVISIONDZ-BMDBoumerdes8
263COUNTRY_SUBDIVISIONDZ-BOABouira8
264COUNTRY_SUBDIVISIONDZ-CHLChlef8
265COUNTRY_SUBDIVISIONDZ-CONConstantine8
1 - 15 Next
Page Comments

Author Comment
Frankklajdl;fkakl;fla;df
qdsfqsdf​qdsfn skd,xlckwssdlk,flsd
teste​dafadfa
monsehola
gordanThers so good and nice report - bravo!
I have question how to set SHOW WINDOW from this simple report on
http://htmldb.oracle.com/pls/otn/f?p=21920:3:855573373550650:::::
I was typing code java script on REGION HEADER on pages wheres select displayed
and I was changed 
as
html: '<iframe style="overflow:auto;width:100%;height:100%;" frameborder="0"  src="f?p=21920:3:120368568695011::NO:::"></iframe>'
Whats need to show report on popup?
gordan

Source Code   
<input type="button" id="show-win" value="Show Window"/>

<script type="text/javascript">

Ext.onReady(function(){

    var panelContent;
    var win;
    var button = Ext.get('show-win');
    
    button.on('click', function(){
        if (!win) {
            // content for window
            panelContent = new Ext.Panel({
                region: 'center',
                margins: '0 0 0 0',
                autoScroll: true,
                html: '<iframe style="overflow:auto;width:100%;height:100%;" frameborder="0"  src="f?p=&APP_ID .:2023:&SESSION_ID ."></iframe>'
            });
            
            win = new Ext.Window({
                title: 'Popup Window',
                closable: true,
                closeAction: 'hide',
                width: 600,
                height: 600,
                border:false,
                plain: true,
                layout: 'border',
                items: [panelContent],
                buttons: [{
                    text: 'Close',
                    handler: function(){
                        win.hide();
                    }
                }]
            });
        };
        win.show(this);
    });
});

</script>
Page Ref: 200801:2022
Generate: 0.15
  Release 1.0
©2008 Mark Lancaster. All rights reserved.
ExtJs