tag:blogger.com,1999:blog-869579236085438805.post1099942927050849188..comments2024-02-17T17:44:10.911+10:00Comments on Random Insights into Oracle: Apex Modal Windows are a snap using ExtJSMark Lancasterhttp://www.blogger.com/profile/06316329564169609358noreply@blogger.comBlogger19125tag:blogger.com,1999:blog-869579236085438805.post-56900656205229270722011-03-19T12:25:39.673+10:002011-03-19T12:25:39.673+10:00Hi cst
To close the window, take a look at the mo...Hi cst<br /><br />To close the window, take a look at the <a href="http://apex.oracle.com/pls/otn/f?p=200801:2032" rel="nofollow">modal window with updates example</a><br /><br />This example was done a couple of years ago.<br /><br />In my book, <a href="https://www.packtpub.com/oracle-application-express-4-0-with-ext-js/book" rel="nofollow">Oracle Application Express 4 with Ext JS</a> I have revisited the functionality so when you "Apply Changes" the window automatically closes on success, optionally refreshing the calling interactive report or classical report.<br /><br />The book is a very worthwhile investment, <b>saving you many weeks of work</b>. You get a template application using Ext JS 3.3.1, as well as detailed explanation on how it all works.<br /><br />The book is at the printers now, and is due for official release in a weeks time.<br />I'm aiming to have the download code available at the same, and am finalizing it now.Mark Lancasterhttps://www.blogger.com/profile/06316329564169609358noreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-25276174683172516562011-03-19T02:49:38.781+10:002011-03-19T02:49:38.781+10:00Hi Mark,
i update my code and all works fine.
I ha...Hi Mark,<br />i update my code and all works fine.<br />I have only one problem. I can't close popup window.<br />Any help?<br />Thanks in advance<br />kmUnknownhttps://www.blogger.com/profile/16927980375041580401noreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-34383326266762920872011-03-17T12:36:30.150+10:002011-03-17T12:36:30.150+10:00Hi cst
This has already been answered.
If you lo...Hi cst<br /><br />This has already been answered.<br /><br />If you look at the example notes carefully, or read through the other comments you will find the answer.Mark Lancasterhttps://www.blogger.com/profile/06316329564169609358noreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-19778447666095044592011-03-16T23:56:45.656+10:002011-03-16T23:56:45.656+10:00Hi Mark,
i try to use your brillant solution on m...Hi Mark,<br /><br />i try to use your brillant solution on my application.<br /><br />1. i downloaded and copied ext-3.3.1 files on \i\themes\ext-3.3.1 directory<br />2. i modified my page template due your example<br />3. i modified my report with appropriete link<br /><br />on firebug console get this error<br /><br />Ext.ux.PopupWindow is not a constructor<br /><br />Any Help<br />Thanks in advance<br />kmUnknownhttps://www.blogger.com/profile/16927980375041580401noreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-77148736584446354582011-03-16T23:55:18.187+10:002011-03-16T23:55:18.187+10:00Hi Mark,
i try to use your brillant solution om m...Hi Mark,<br /><br />i try to use your brillant solution om my application.<br /><br />1. i downloaded and copied ext-3.3.1 files on \i\themes\ext-3.3.1 directory<br />2. i modified my page template due your example<br />3. i modified my report with appropriete link<br /><br />on firebug console get this error<br /><br />Ext.ux.PopupWindow is not a constructor<br /><br />Any Help<br />Thanks in advance<br />kmUnknownhttps://www.blogger.com/profile/16927980375041580401noreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-67427468503559119972011-02-15T01:21:56.686+10:002011-02-15T01:21:56.686+10:00Hi,
Firebug is giving me this error: "this.h...Hi,<br /><br />Firebug is giving me this error: "this.header is undefined" someone can help me?<br /><br />ThanksGanzansahttps://www.blogger.com/profile/02107265674016832737noreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-60754603370745410942010-11-17T09:48:55.783+10:002010-11-17T09:48:55.783+10:00Hi Davisyk
Interactive reports call a different J...Hi Davisyk<br /><br />Interactive reports call a different JS function to refresh.<br /><br />Just modify the on close listener to call the appropriate function.<br /><br />i.e.<br /><br />gReport.navigate.paginate('pgR_min_row=1max_rows=15rows_fetched=15')<br /><br />MarkMark Lancasterhttps://www.blogger.com/profile/06316329564169609358noreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-67461613703700345122010-11-17T05:26:38.487+10:002010-11-17T05:26:38.487+10:00Marc, Nice job. I just implemented a Modal Popup W...Marc, Nice job. I just implemented a Modal Popup Window and Modal Popup Window (with update) on Apex 3.2. The only thing not happening (with the second one) is the refresh of the interactive report. <br /><br />Davedlsykeshttps://www.blogger.com/profile/07226742080496022606noreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-85579812491050815862010-07-20T05:57:09.413+10:002010-07-20T05:57:09.413+10:00Mark,
It is a very beautiful example of ExtJs Moda...Mark,<br />It is a very beautiful example of ExtJs Modal window!<br /><br />I tried to implement it, but it did not work!? It seems like I followed all the steps that you outlined in your example, but I have no results at all.<br />The page is acting like no code exists in Link attributes and page header...<br /><br />These errors I get in IE:<br />Message: 'parent.Ext.WindowMgr' is null or not an object<br />Line: 12<br />Char: 1<br />Code: 0<br />URI: http://apex.oracle.com/pls/apex/f?p=17029:2:3474463419053361::NO:::<br /><br />Message: 'Ext' is undefined<br />Line: 17<br />Char: 1<br />Code: 0<br />URI: http://apex.oracle.com/pls/apex/f?p=17029:2:3474463419053361::NO:::<br /><br />These errors I get in Firefox firebug:<br />parent.Ext is undefined<br /><br />Ext is not defined<br />Ext.BLANK_IMAGE_URL = '/i/1px_trans.gif';<br /><br />I have created a test case:<br />http://apex.oracle.com/pls/apex/f?p=4550:1:4486732951357154<br />workspace: csdb<br />username : test<br />password : testcase<br /><br />application and page:<br />http://apex.oracle.com/pls/apex/f?p=17029:2:3830150920428743<br /><br />I am trying to create a Modal window with update, to be called form Edit link of the report column - a small pencil pic..))<br />I would really appreciate if you could have a look at it and let me know what I'm missing?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-54086507830390858102010-06-15T09:36:14.149+10:002010-06-15T09:36:14.149+10:00Hi Srinivas
No that's it, apart from includi...Hi Srinivas <br /><br />No that's it, apart from including the Ext javascript files and CSS file in your page template.<br /><br />MarkMark Lancasterhttps://www.blogger.com/profile/06316329564169609358noreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-65597300757268111762010-06-14T22:23:37.800+10:002010-06-14T22:23:37.800+10:00Hi Mark
Thanks for ur prompt reply.
The file was ...Hi Mark<br /><br />Thanks for ur prompt reply.<br />The file was place in webserver(by running the config file)<br />and that was refered in page header like <br /><br /><br /> type="text/javascript" src="/i/themes/ext-3.2.1/popup_window.js"<br /><br />with in script tags<br /><br />and pasted the code <br />onClick="new Ext.ux.PopupWindow({url: this.href, height: 450}).show(); return false;"<br />in Link Attributes <br /><br />please let me know if any thing else to done<br /><br />With <br />Thanks<br />Srinivas SomisettiAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-8914605904466114362010-06-12T19:02:52.252+10:002010-06-12T19:02:52.252+10:00Hi Anonymous
The file itself needs to be on your ...Hi Anonymous<br /><br />The file itself needs to be on your webserver or included as a workspace file.<br /><br />You need to include a reference to popup_window.js in your page with an appropriate path.<br />This can be done in the page template, or directly in the page header.<br /><br />If you don't understand how to do this - I'd suggest reading the APEX manual.<br /><br />MarkMark Lancasterhttps://www.blogger.com/profile/06316329564169609358noreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-20351253532003954092010-06-11T20:54:25.150+10:002010-06-11T20:54:25.150+10:00Can you tell where we need to copy popup_window.js...Can you tell where we need to copy popup_window.js?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-85520880773878595102010-04-19T02:09:47.301+10:002010-04-19T02:09:47.301+10:00sorry my mistake
yeah...I should read properly
i f...sorry my mistake<br />yeah...I should read properly<br />i forgot to include the javascript<br />thanks for the fast response<br />marvelousJacknoreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-42305416231970557372010-04-18T21:30:59.483+10:002010-04-18T21:30:59.483+10:00Hi Jack
Did you read the notes section and copy t...Hi Jack<br /><br />Did you read the notes section and copy the popup-window.js file?<br /><br />MarkMark Lancasterhttps://www.blogger.com/profile/06316329564169609358noreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-76439499230563491802010-04-18T20:09:26.535+10:002010-04-18T20:09:26.535+10:00hi
nice thing this modal popup in your demo
i tr...hi<br /><br />nice thing this modal popup in your demo<br /><br />i try to use it in my app in an interactive report<br /><br />i just copied the url in the link attributes field<br /><br />when i click on the link no popup window opens but it branches to the page<br /><br />i tried it with extjs 2.0.2 and 2.3.0<br /><br />can it be that something in my page template is missingJacknoreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-43326816704973331092010-01-06T08:46:22.244+10:002010-01-06T08:46:22.244+10:00Great site .. with even greater stuff. but my ques...Great site .. with even greater stuff. but my question is : i have installed apex 3.2 and would like to use extjs but how do i install this ? seems not same as your manual. <br /><br />thnx<br />MarcianoMarcianohttps://www.blogger.com/profile/01785383808608672045noreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-6388127795403940802009-12-20T11:13:59.075+10:002009-12-20T11:13:59.075+10:00Hi there!
Well i'm trying o create a modal win...Hi there!<br />Well i'm trying o create a modal window but i can't. i integrated the js and css files and modified the link attributes but it does not work, do i miss something? do i need modify my one level tab emplate? tx in advance!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-869579236085438805.post-36136343828585027722009-09-19T01:31:47.915+10:002009-09-19T01:31:47.915+10:00Looks pretty slick Marc!
And easy to implement as ...Looks pretty slick Marc!<br />And easy to implement as well.<br />Concerning the jQUI looks: These are 100% stylesheet configurable. So also available in 'windows like light blue' ;-)Roelhttps://www.blogger.com/profile/03592016581410637420noreply@blogger.com