Loading...
Mark´s Playpen Integrating ExtJS javascript library with Oracle Application Express
APEX_PUBLIC_USER
Value
Rows Displayed
Notes
Just to keep Vikas happy, here's an example showing a modal window, with an update event to refresh the calling page.

This time, the edit link attributes are:

    onClick="Ext.app.PopupWindow({url: this.href, height: 450},4009224866130853); return false;"


The function is:

Ext.app.PopupWindow = function (config,regionId) {

    var w = new Ext.ux.PopupWindow(config);
    w.on({
        'close': {
            fn: function () {
               /**  
                *  Refresh using Apex call
                *
                *  NOTE: 1. Assumes a "classic" report with Partial Page Refresh enabled
                *
                *        2. Doesn't deal with pagination - an exercise for the reader
                *
                */
                new Ext.LoadMask('report_' + regionId + '_catch', {removeMask: true}).show();
                $a_report(regionId,'1',null,'1');
            }
         }
    });

    w.show();
}

The popup form includes the following javascript in it's success message:

    Action Processed.
    <script type="text/javascript">parent.Ext.WindowMgr.getActive().close();</script>

Ditto for the cancel button.

The custom component js is not minified so it is readable. See popup-window.js.
Existing Customers   
Create
EditFirst NameLast NameStreet AddressCityStatePost CodeHome PhoneMobileCredit LimitEmail
EditB1 ąęė ŠŲŪŽAA AAA     
EditABCABC        
Editteste 551 pg221Aaron Jr.2342342342fghfghfg asas..aöö asdcv    
EditEllena 235 srtAbelaaff29 Elizabeth Road's Street 30SANDSTRON234CA6639713212-555-3923(456)456-0056950support@microsoft.com
EditMadamAdam g1 Erebus StBLAIR ATHOL WESTSAppppp89878042950260 madams@nowhere.com.au
Editetztzertz kmAdam hFlat 33 4 Bonnington RdLAKE TABOURIENSW253940910032031698 jadams@nowhere.com.au
EditDeniseAdams1 Wellington St Wyoming CornerBOSSLEY PARKNSW217677292024273842 dadams@nowhere.com.au
EditGill1-oo1Adams15 JoffreSALISBURYQLD41079368207841783511gadams@nowhere.com.au
EditJohnAdams127 Irby BvdRUSONSW2560790685492620952jadams@nowhere.com.au
EditJohnAdams43 Pirie St 45TACOMAQLD427534890904435876 jadams@nowhere.com.au
EditKathryn1AdamsPO BOX 150INGGARDAWA670175822026088309 kadams@nowhere.com.au
EditLarry 1121Adams8 Dwyers RdST KILDAVIC318274920261690778 ladams@nowhere.com.au
EditLindaAdams8/27 Notley StECHUNGAWSA515349379536803954 ladams@nowhere.com.au
EditLynetteAdams11 Hookey St xzvzxcvzxfcvNORTH BOOVALQLD430427039952962726 ladams@nowhere.com.au
EditMattAdams1 Betts RdMURRUMBONSW284934146934644362 kadams@nowhere.com.au
Page Comments

Author Comment
xxx​aweweqwe
Marnus VenterI cannot get my cancel button to close the popup window. Any ideas?​
 ​Beautiful!! - So how I can get in touch with you to ask about licensing on extJS?
I am trying to develop/convert desktop applications to APEX for internal use and not commerical use.

Please let me know.
Thank you.

Shaun
shaunATshoaeeDOTnet
Lev​Probably one more issue - if user updates record on the second page grid returns to the 1 page when user saves changes
Mark LancasterHmm, the commenting system seems to have broken (or just slow), thanks for mentioning it.

I've added a mask to show that an AJAX request is in progress.
VikasOf course, the comments widget could benefit from the same treatment!
Vikas​Much better, thanks!
Page Ref: 200801:2032
Generate: 0.18
  Release 1.0
©2008 Mark Lancaster. All rights reserved.
ExtJs