Win a copy of Learn Spring Security (video course) this week in the Spring 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
  • 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: 64613
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the Struts forum.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • 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
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks..merill..it worked..u are awesome..!!!
thanks once again..
Soumya

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic