Skip to main content

OOW2010 Tuesday

The day started really early with a 8 o'clock session about ExtJS integrated in APEX. Marc Lancaster is one of the few people I know of who uses ExtJS in an APEX environment, but he still wrote a book about it (due very soon). But I have to admit that the user interface you can create with this framework is very nice. And when you wrap the whole ExtJS stuff in Plugins, it isn't very hard to use. Marc's book will come with a number of Plugins and templates.
The next session was on the Oracle Service Bus. The best thing was that the presenter perfectly demoed how easy (agile) it is to add and change services you need to exchange information from one system to the other.
Next was a session on Edition Based Redefinition. My session is on the same subject, so I was curious what Dan Morgan would tell and show on this matter. But - luckily! - no new stuff for me.
Then I had a very nice lunch with my Logica colleagues here present. Good to meet colleagues from the US, France and Sweden!
The lunch took a little long, so I missed my next scheduled session and went over to Tom Kyte keynote. The coolest thing was he even mentioned my session on one of his slides!
Tonight is the APEX meetup, which I alas have to miss, due to a dinner appointment with Logica colleagues (again) and some customers. After that I'll probably head over to the Benelux cocktail party....

Comments

Popular posts from this blog

Fix Interactive Report headers issue when using a Region Display Selector

When you have multiple Interactive Reports (IR) on your page and use a Region Display Selector to mimic tabs, you might notice some weird behaviour in the IR headings if you switch tabs. The headings are not positioned correctly and you get an extra empty row under the headings. It just looks weird and ugly. But if you resize your browser window, it all looks fine again (until you switch to another tab..) So can we fix this by creating a Dynamic Action that mimics that "browser window resize" event? Yes we can! Create a Dynamic Action that fires on Click of the jQuery selector li.apex-rds-item a . That should fire a JavaScript snippet :  apex.event.trigger(this.triggeringElement, "apexwindowresized"); So now a click on a tab not only switches from one IR to another but also fires that event that will "autofix" the IR headers. A simple solution for an annoying problem. This applies to APEX 5.0, I assume it will be solved in 5.1.

How to create neatly formatted Excel documents using PL/SQL?

If there is a requirement to produce output from an application into Excel, you would probably create a CSV (Comma Separated File) with the data and start Excel to show the data - at least that's what I did...until now. The drawback of this solution is that you could only produce data and no nice layout. But Excel is also capable of opening HTML-files and using this you could create Excel files with data and magnificent layout! Let me give an example: 1. Create a procedure to show the data in formatted in an HTML table. CREATE OR REPLACE PROCEDURE display_emp_list IS v_emp_count NUMBER(5); v_empno NUMBER(8); v_ename VARCHAR2(50); v_job emp.job%TYPE; v_sal emp.sal%TYPE; v_bg_color VARCHAR2(10) := ''; CURSOR c_emp IS SELECT empno, initcap(ename), job, sal FROM emp ORDER BY ename; BEGIN SELECT COUNT(*) INTO v_emp_count FROM emp; owa_util.mime_header('application/ms-excel', FALSE); htp.p('Content...

Transform ORA-xxxx messages into something more user friendly in APEX

When you delete a record that is referenced using a foreign key constraint you get a rather ugly error like this: Of course you can prevent such a thing from happening by creating a Page process that checks if your delete is "Ok". But that's double coding...and dangerous when you have to maintain your database structure: You'll probably forget to update the processes as well. Wouldn't it be nice if you can 'catch' that error an present it to the end user in a more friendly way (and with a somewhat more understandable text)? I guess your users will be more enthusiastic about your application (and you) when you show them something like this: So how do we achieve that? 1. Edit the "Error Page Template Control" region of your Application Default Page Template, because that's the one that is used for presenting errors. Set it to : <script type="text/javascript">$(document).ready(function(){raiseErrorHandler();});</script> ...