Can you use css instead?  I usually just use:

<span style="white-space: nowrap">message goes here</span>

or something like it to accomplish the non-breaking spaces.

-Brian


On Wed, 13 Oct 2004 18:12:25 -0400, Joe Hertz <[EMAIL PROTECTED]> wrote:
> I have a number of property values that will be internationalized and need
> non-breaking spaces between each word in them.
> 
> I could put &nbsp; into each space, but that
> 
> 1) is going to confuse my native language translators who know nothing of
> HTML. 2 words in english could be 3 in language-x).
> 
> 2) would be wrong.
> 
> There doesn't appear to be any built in method of handling this with
> bean:message or anything else, so I'm about to write a custom configuration
> class for a separate Message Resource Bundle that will contain the
> properties where I want spaces displayed as "&nbsp;"'s
> 
> I have a hard time believing no one else has run into this...so I ask the
> following:
> 
> Do I need to do this? Is there a way of doing it without writing a custom
> handler? or a better way of doing it? And if not, who wants to see the code
> when it's done? :-)
> 
> -Joe
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to