Skip to main content

Posts

Showing posts from April, 2009

APEX Star Rating - Amazon style

Recently there were two threads on the APEX OTN Forum regarding the implementation of an Amazon-style star rating mechanism (this thread and this thread).
Using this jQuery plug-in that implementation is not so difficult. The first step (of course you've installed jQuery) is to install the JavaScript and CSS of the plug-in. To create a demo I added two columns to the DEMO_PRODUCT_INFO table : RATING and VOTES.
The second step is to create a PL/SQL function and use that in your select statement to show the current rating:
create or replace function GET_STARS
( pID in NUMBER
, pRating in NUMBER
) return VARCHAR2
is
l_retval varchar2(2000) :='';
BEGIN
FOR i in 1..5 LOOP
IF i = pRating
THEN l_retval := l_retval ||'<input class="star" id="'||pID||'" name="star'||pID||'" value="'||i||'" checked="checked" type="radio">';
ELSE l_retval := l_retval ||'<input class="star" id="…

Discussion about Forms to APEX Conversion

On his blog, Grant started a discussion about the reasons - and especially managing the expectations - of converting Forms to APEX. The interesting thing is that also Joel Kallman (from the APEX Development team) joined the conversation, therefore making it a sort of Oracle internal discussion platform...
That you can use both technologies together proves this picture (the region on the upper left is an Oracle Form). I will present at ODTUG on the "how-to's".... (another shameless plug).

OBUG 2009

Yesterday (March 31), the Oracle Benelux User Group held its (almost) annual conference in Antwerp. Apart from the three central keynotes, the around 600 attendees (my guess) could pick one of the 10 concurrent sessions - in three timeslots. The conference was mainly 'Apps' driven: most sessions where from an Apps-perspective - so there were only a few interesting sessions from a database / development point of view.
José Lazares (Vice President Applications Development and Applications Integration Architecture) did the first keynote. The message I got from it was: more BI dashboards presenting data from different sources (a lot of screen shots with nice graphs). I skipped the first concurrent session, because I had to be on our stand. The second sort of keynote was by Tom Sligting, a Dutch stand-up comedian. He had some very funny jokes, but had a hard time with the sometimes barely-responsive audience.
Lonneke & Lucas did a duo presentation on SOA Suite 11g (in fact it was…

OOW2009 CFP

The above mysterious acronym stands for: Oracle Open World 2009 - Call for Papers. You can be part of the 'greatest show on earth: Submit your papers here.
With the risk of reducing my own chances of getting a paper accepted...