aspose file tools*
The moose likes Struts and the fly likes Up Arrow And Down Arrow in html:select in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Up Arrow And Down Arrow in html:select in Struts" Watch "Up Arrow And Down Arrow in html:select in Struts" New topic
Author

Up Arrow And Down Arrow in html:select in Struts

Soumya Saha
Ranch Hand

Joined: Apr 14, 2006
Posts: 64
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

Joined: Jan 10, 2002
Posts: 61610
    
  67

Moved to the Struts forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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 ]

Merrill
Consultant, Sima Solutions
Soumya Saha
Ranch Hand

Joined: Apr 14, 2006
Posts: 64
Thanks..merill..it worked..u are awesome..!!!
thanks once again..
Soumya

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Up Arrow And Down Arrow in html:select in Struts