Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with escape = "false" and radioButtons

 
Ewa Musial
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I try to use escape ="false" to display exponents.
When I use escape ="false" within selectOneRadio tag, the text 12<sup>2</sup>. (escape is not working )


I cannot put escape ="false" within the selecItems tag because selectItems does not have an escape as an attribute.
I would rather not try to change selectItems to selectItem because responses is a list of items.



<t:selectOneRadio escape ="false" layout="pageDirection" value="#{takeTest.answer}">
<f:selectItems value="#{takeTest.responses}" />
</t:selectOneRadio>

Thank you for any suggestions how to make escape work.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64827
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take the time to choose the correct forum for your posts. This forum is for questions on JSP, not JSF.

For more information, please read this.

This post has been moved to a more appropriate forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic