This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Ampersand from action class escaped to '&'

 
Henry Horace
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 " " 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...

Struts 2.0.11.1

Thanks,

HH
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic