Hi Slawek,
Try to use css style with the attribute white-space: nowrap;
Example:
<div style="white-space:nowrap;">
<h:commandLink value="#{msg.MENU_TEMP_ORDER}" onclick="return
openWindowBasket()" />
</div>
Use normal spaces in you msg.MENU_TEMP_ORDER value.
Mathias
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 11, 2005 1:36 PM
> To: [email protected]
> Subject: nbsp in value attribute
>
>
> hi
>
> i want to render a href containing two words and i want to make sure
> that words will be in one line (not broken into two lines).
>
> i tried to do it like this:
>
> <h:commandLink value="#{msg.MENU_TEMP_ORDER}" onclick="return
> openWindowBasket()" />
> where MENU_TEMP_ORDER=word1 word2
>
> or like this:
>
> <h:commandLink
> value="#{msg.MENU_TEMP_ORDER1} #{msg.MENU_TEMP_ORDER2}"
> onclick="return openWindowBasket()" />
> where MENU_TEMP_ORDER1=word1 and MENU_TEMP_ORDER2=word2
>
> in both cases i see rendered explicit: word1 word2 instead of
> word1 word2.
>
> how to force jsf to render space?
>
> slawek
>
>