We have an application written with a heavily customised Theme 25 built for 10" tablets, and we feel the Universal Theme justifies the move, in part because of the surrounding ecosystem. Check out this forum discussion on the topic.
We've been looking through the packaged applications for applied ideas, and using the Universal Theme sample application as a component reference.
I came across a requirement where we had a list of items that indicated completion level out of 100.
Then I thought about a group of pie icons I saw in Dick Dral's Font APEX icon reference, and knew what I wanted to do.
All I needed to do was round a bunch of numbers to the nearest 5.
To solve such as problem, I usually start by giving myself a bunch of numbers to play with
Then defining that as a
We can then feed the result as the relevant icon into whatever region template we need.
Simple, yet effective.
We've been looking through the packaged applications for applied ideas, and using the Universal Theme sample application as a component reference.
I came across a requirement where we had a list of items that indicated completion level out of 100.
Then I thought about a group of pie icons I saw in Dick Dral's Font APEX icon reference, and knew what I wanted to do.
All I needed to do was round a bunch of numbers to the nearest 5.
To solve such as problem, I usually start by giving myself a bunch of numbers to play with
select rownum rn from dual connect by level <= 100
Then defining that as a
WITH
statement, so I can refer to the derived column as often as I like.with nbrs as (And I used a divide/multiply by 20 math trick to do the rounding.
select rownum rn from dual connect by level <= 100
)
select rn
, floor(rn/100 * 20) / 20*100 rnd
,'fa fa-pie-chart-'||floor(rn/100 * 20) / 20*100 icon
from nbrs
where mod(rn,5)=0
We can then feed the result as the relevant icon into whatever region template we need.
![]() |
I like pie. |
Simple, yet effective.