Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Universal Theme Tabs: Adding icons to tabs

hafferlOct 30 2016 — edited Nov 17 2016

Hi,

On my page is one tab container with several tabs which contain some classic reports on them. I'd like to show whether the reports within the tabs have data so the user does not have to go through all the tabs to see if there is data available.

I used to to it the following way back in Apex 4.2 with the Tab Plugin:

In the footer of each report I placed the following.

<div id="csc_chronic_count" style="display:none;">#TOTAL_ROWS#</div>

For the tab title I used the a name and added an empty div with the id "csc_chronic_count_in" and also an font-awesome icon.

Then I placed the following code in the page footer so it gets executed after the tab region is rendered.

if ($("#csc_chronic_count").text()!="0")

$("#csc_chronic_count_in").html($("#csc_chronic_count").text());

Starting from Apex 5 Universal Theme I can't put my code in the footer anymore because it does not get loaded.

When I just put the code as a normal function and call it on page load it is unable to find the tab title.

Any help?

This post has been answered by Marko Goricki on Oct 30 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 29 2016
Added on Oct 30 2016
2 comments
987 views