This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Up Arrow And Down Arrow in html:select in Struts

 
Soumya Saha
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am trying to display Up Arrow and Down Arrow besides the Labels in a dropdown. I am able to do it in html using the following entity, but I am not able to do it in Struts using a Collection.If I use the same value as &uarr -- it is just displaying it only not converting it into arrow.
The Code I am using in Html:
<select>
<option>---choices---</option>
<option>↑Field 1 </option>
<option>↓Field 2</option>
</select>

Any Help on how to do it in Struts?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64186
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Struts forum.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try adding filter="false" to the <htmlptions> tag. This tells Struts not to change characters that might have significance for HTML.
[ May 08, 2006: Message edited by: Merrill Higginson ]
 
Soumya Saha
Ranch Hand
Posts: 64
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks..merill..it worked..u are awesome..!!!
thanks once again..
Soumya

 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic