Aug 22, 2011, 12:59 PM
64 Posts
topic has been resolvedResolved

How does one include markup in a <xp:radio> label?

  • Category: Other
  • Platform: Windows
  • Release: 8.5.1
  • Role: Developer
  • Tags: markup radio
  • Replies: 0
- I have a custom control that uses a repeat to emit <xp:radio> buttons.  This all works a treat.  Now I'd like to be able to set markup in the label on the radio buttons, which for some reason is the "text" attribute.  So I bust out text:
 
<xp:radio blah blah>
<xp:this.text escape="false"><![CDATA[#{javascript:"my markup";}]]></xp:this.text>
</xp:radio>
 
- Yet I still get escaped values in the radio button.  I'm about to jettison what seems to be the typically limiting XPage control and simply use <input...>, but if there's a way to keep <xp:radio> I will.
 
Thanks for your time...
 
"RESOLUTION"
- I was attempting to add images for labels.  I added custom css per button that pulled in the images instead.  So while the images appear, there is still no way to include markup as a label in <xp:radio>.  Be nice to have that fixed.