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!

Adding Html tag into the title of the Tree query in Oracle APEX

GrrshRSep 12 2017 — edited Sep 13 2017

I have a requirement to make few text in the title of my tree query in Oracle APEX 5.0 to bold by adding b tag. But when i do that, the tag is displayed at the front end. My query is as mentioned below. I do not want to see the b tag, rather i want the text enclosed by b tag to be bold. Please help.

SELECT

                    CASE

                              WHEN CONNECT_BY_ISLEAF = 1 THEN 0

                              WHEN level = 1             THEN 1

                              ELSE -1

                    END

          AS status,

          level,

                    CASE

                              WHEN level = 1  THEN questions

                              ELSE '<b>'

                               || flow_condition

                               || '</b>'

                               || ' - '

                               || questions

                    END

          AS title,

          NULL AS icon,

          question_id AS value,

          NULL AS tooltip,

    --null as link

          apex_page.get_url(

                    p_page          => 401,

                    p_items         => 'P401_QUESTION_ID',

                    p_values        => question_id,

                    p_clear_cache   => 401

          ) AS link

FROM

          (

                    SELECT

                              mmq.*,

                              mmm.flow_condition

                    FROM

                              msd_mc_questions mmq

                              LEFT OUTER JOIN msd_mc_par_chld_mapping mmm ON (

                                                  mmq.parent_id = mmm.parent_question_id

                                        AND

                                                  mmq.question_id = mmm.child_question_id

                              )

          )

START WITH

          parent_id IS NULL

CONNECT BY

          PRIOR question_id = parent_id

ORDER SIBLINGS BY questions

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 11 2017
Added on Sep 12 2017
4 comments
939 views