Forum Stats

  • 3,836,897 Users
  • 2,262,204 Discussions
  • 7,900,138 Comments

Discussions

Will Radio group Items display images - APEX 4.1.1 ?

434264
434264 Member Posts: 115
edited Dec 4, 2012 4:44AM in APEX Discussions
Hello all,

how can one display an image in addition to the display value of a radio group item ?

Application Express 4.1.1.00.23 in use on Oracle 11GR2.
Clients are Internet Explorer < 8.

I have the radio group of five items from a static lov.
Each list item needs to show an additional image ( type png) that is stored as app_image.

Examples for one item:
LOV display value:
'Podium'||#APP_IMAGES#podium.png'
Page display of radio group item:
'Podium'||wwv_flow_file_mgr.get_file?p_security_group_id=3472010183987334&p_flow_id=104&p_fname='podium.png'

LOV display value:
'Podium <IMG src="#APP_IMAGES#podium.png'
Page display of radio group item:
'Podium <img src="wwv_flow_file_mgr.get_file?p_security_group_id=3472010183987334&p_flow_id=104&p_fname=podium.png" alt="Podium" />'


Kind regards

Franz Langner
Tagged:

Best Answer

  • Patrick Wolf-Oracle
    Patrick Wolf-Oracle Consulting Member of Technical Staff Posts: 2,455 Employee
    Answer ✓
    Hi Franz,

    for your radio group page item set the attribute "Escape special characters" (under Security) to "No". Please keep in mind that this makes your application potentially vulnerable to XSS attacks if the values of the radio group can be entered by end users.

    Regards
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

Answers

  • Patrick Wolf-Oracle
    Patrick Wolf-Oracle Consulting Member of Technical Staff Posts: 2,455 Employee
    Answer ✓
    Hi Franz,

    for your radio group page item set the attribute "Escape special characters" (under Security) to "No". Please keep in mind that this makes your application potentially vulnerable to XSS attacks if the values of the radio group can be entered by end users.

    Regards
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf
  • 434264
    434264 Member Posts: 115
    Hi Patrick,

    thank your for this hint.
    works perfectly

    Kind regards

    Franz
This discussion has been closed.