A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ampersand from action class escaped to '&amp;'
Joined: Oct 07, 2011
Oct 10, 2011 08:39:09
Currently I'm having issues with generating non-breaking white space for options in a Struts select tag. Trying to make multi-column select if you will, and line up the option text.
If my action property has a " ", the '&' is replaced with "&" I get "&nbsp;" which will not generate non-breaking spaces of course.
I did a quick search in the source, but nothing really surfaced.
I have seen were the <s:property> has the "escape" property, but nothing like that for the select.
Seems like my only option (no-pun intended) is to build the select more manually with an iterator...
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Ampersand from action class escaped to '&amp;'
IE not taking characters
A regex question
OOP considered harmful (was: C. Date on UML book)
nbsp in .xsl?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014