Inside Oracle APEX by Patrick Wolf

New Statement of Direction for Oracle Application Express (APEX)

The Oracle APEX team has just published a new Statement of Direction for Oracle Application Express (APEX) which outlines the roadmap for the next two releases (3.1 and 4.0).

3.1 doesn't really contain a lot of new stuff, but the planned features for 4.0 are looking very interesting! Have a look.

Labels:


« ... Read full posting ... »

Oracle Application Express (APEX) at Oracle Open World 2007

Looks like that the Session List for Oracle Open World 2007 has finally been published. Did a quick check for Oracle Application Express (APEX) related sessions and found 10 so far. Check out the search result by yourself. Would have hoped that there are more, but I'm sure there are a lot of other presentations I'm interested in. :-)

BTW, if you go to OOW 2007 and you are interested in Oracle APEX, add yourself to the Oracle OpenWorld Connect - Application Express group!

Join Me at Oracle OpenWorld Connect!

Labels:


« ... Read full posting ... »

Add colors or images to your select list

Some time ago I was asked if it's possible to set the background color of the entries of a select list.

Sure why not! I thought I had already answered the question before, so I searched on the OTN forum but didn't find my posting. No problem, shouldn't be too hard to find the solution again.

My first attempt was to use the span tag with the style attribute in the lov query, like
SELECT '<span style="background-color:red">'||
DESCRIPTION||
'</span>' AS D
, OID AS R
FROM REQUEST_STATUS
ORDER BY OID

Nice try, but it didn't work, because the span tag is ignored for select list elements.

My next attempt was to change the option tag which Oracle Application Express (APEX) generates. Like with the following lov query
SELECT DESCRIPTION AS D
, OID||'" style="background-color:red' AS R
FROM REQUEST_STATUS
ORDER BY OID
Great that worked, the select list showed the red background color. But wait! For existing records the current select list entry wasn't displayed anymore.

Why? Because I modified the index column by adding the " style=..., so Oracle Application Express (APEX) wasn't able to map the database column value to the select list entry anymore. So that wasn't really a working solution.

I think the only really working solution is to use some JavaScript code in the "Post Element Text" property of the page item.
<script type="text/javascript">
$x("P5_STATUS")[2].style.backgroundColor = "yellow";
$x("P5_STATUS")[3].style.backgroundColor = "red";
</script>

The APEX Javascript function $x will return an array with all the options of a select list. The array starts with 0. As you can see it's quite easy to change the style of a single option and assign a different background color to it.

BTW, if you have a Firefox only environment, you can also assign images. Too bad that Internet Explorer doesn't support it. The code for example would be:
<script type="text/javascript">
$x("P5_LANGUAGE")[1].style.background = "transparent url(uk.png) no-repeat";
$x("P5_LANGUAGE")[1].style.paddingLeft= "30px";
$x("P5_LANGUAGE")[2].style.background = "transparent url(de.png) no-repeat";
$x("P5_LANGUAGE")[2].style.paddingLeft= "30px";
</script>

BTW, you can also put the stuff into a CSS and assign a class to the option.

Don't think that I really have solved that in the past, must have been something else with select lists. :-)

Labels: , ,


« ... Read full posting ... »

Oracle APEX development team is looking for you input

The Oracle APEX development team is looking for your input about a new feature which they consider to integrate into the next major Oracle APEX release. Carl has started a thread about that on the OTN forum and is waiting for your input. So that's your chance to influence the APEX development!

Labels:


« ... Read full posting ... »

Using tooltips in Oracle APEX applications

That's maybe an old tip and probably everybody already knows it, but because I just answered that question on the OraFAQ forum, I wanted to share it with you in case you didn't know.

Maybe you have already noticed that in the Oracle APEX Builder at some pages a tooltip is used. For example for the icons on the Drag and Drop Layout page. This tooltip functionality can be reused in your own applications. You just have to add
onmouseover="toolTip_enable(event,this,'This is a tooltip')"
into the "Attributes" property of your HTML button or into the "HTML Form Element Attributes" property of your page item. In the end you can attach it to any HTML element. But I think you got the idea how it works.

Labels: , ,


« ... Read full posting ... »

Presenting at the DOAG conference

Just got a confirmation mail from DOAG (German Oracle User Group) that they approved my Oracle APEX presentation "Ein Blick unter die Motorhaube von Oracle APEX" (Oracle APEX under the hood) for there next annual conference in November in Nürnberg. My presentation slot is on Thursday between 15:00 and 15:45. In the conference schedule I have seen that Dietmar Aust's presentation has also been confirmed. Will be nice to hang out with him again!

But before that, a lot of work has to be done. Until 17th September they want to have a 4-page summary of my presentation which will be included into the conference printouts and until 7th November the complete presentation material...

Maybe this time I should start earlier, so that I don't have to work the nights before the deadline... :-)

Labels:


« ... Read full posting ... »

My top 10 enhancement request for the next major Oracle APEX release

Haven't blogged about an Oracle APEX topic for a long time, so I thought it's time again!

As I have heard the Oracle APEX development team is going to discussing the roadmap of the next major Oracle APEX release, so I'm taking the opportunity to summarize my top 10 enhancement request wishes.

And no, this should not influence them in any way in there decisions... ;-)

  1. Error handling enhancements as described in the following thread.

  2. Error handling enhancements

  3. Did I already say "Error handling enhancements"? :-)

  4. Improvements for the tabular form handling. Like declarative validations for columns as we can do it for page items, ... And maybe some of the other ideas which I have implemented in that area in the ApexLib Framework.

  5. A required property which can be set for page items/tabular form columns. Based on that checkbox APEX should automatically do a "NOT NULL" validation check during submit. The same for date pickers and numeric (numeric format mask) page items/columns. It shouldn't be necessary to create all this "technical" validations which are hiding the real business validations. It's all in the meta data! :-)

  6. Reduction of the generated Javascript code (eg. for Popup Lovs, ...). A library call would also make it easier to replace the existing functionality.

  7. Check for non existing page items.

  8. Custom Item Types as described here

  9. Resizeable textareas in the APEX Builder, like seen here.

  10. The wizards should not escape all the columns/tables with quotes. That's so ugly looking. It should only do it if the column/table definition is really mixed case.

Oh, already 10. I would have so many more, like the "A new condition for report regions which checks if data has been returned by the query. Read here the details", ...

Looking forward to the cool new features of the next release!

Labels:


« ... Read full posting ... »

Oracle 11g available for download!

Good news! Oracle 11g is finally available for download! Ok, until now it's just available for Linux, but I'm sure other platforms will follow soon.

For those who can't install it yet, at least you can have a look at the Oracle 11g documentation and the New features section in the documentation.

Have fun!

Labels:


« ... Read full posting ... »

I have become an Oracle Ace!

Carl and John where much faster with this news than me! Carl blogged already about it and John started a thread on the APEX OTN forum and finally I also found the time to write about it.

I have become and Oracle Ace!

It's a really honor for me and I really appreciate it! Thanks a lot for all the congratulations I got from you guys!

« ... Read full posting ... »