This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSF and the fly likes Problem with escape = Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "Problem with escape = "false" and radioButtons" Watch "Problem with escape = "false" and radioButtons" New topic
Author

Problem with escape = "false" and radioButtons

Ewa Musial
Greenhorn

Joined: Oct 11, 2009
Posts: 1
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

Joined: Jan 10, 2002
Posts: 63202
    
  69

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.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
Have you checked out Aspose?
 
subject: Problem with escape = "false" and radioButtons
 
It's not a secret anymore!