You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Henry Chen <he...@gmail.com> on 2005/04/11 17:30:44 UTC

How to read " " from properties files?

Hi,

I want to output white space, so I tried "&nbsp;" and "\&nbsp;" in my
properties file. But it was changed to "&ampnbsp;". Can anybody help me with
this? Thanks a lot.

Henry


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


RE: How to read " " from properties files?

Posted by Henry Chen <he...@gmail.com>.
Erik,

It worked! I used <span key="name" raw="true"/> and it worked so well! :)

Thank you very much.

Henry

-----Original Message-----
From: Erik Hatcher [mailto:erik@ehatchersolutions.com] 
Sent: Monday, April 11, 2005 10:43 AM
To: Tapestry users
Subject: Re: How to read "&nbsp" from properties files?

How are you inserting that text into your page?  With @Insert use 
raw="true":

	<span jwcid="@Insert" value="message:key" raw="true"/>


On Apr 11, 2005, at 11:30 AM, Henry Chen wrote:

> Hi,
>
> I want to output white space, so I tried "&nbsp;" and "\&nbsp;" in my
> properties file. But it was changed to "&ampnbsp;". Can anybody help 
> me with
> this? Thanks a lot.
>
> Henry
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: How to read " " from properties files?

Posted by Erik Hatcher <er...@ehatchersolutions.com>.
How are you inserting that text into your page?  With @Insert use 
raw="true":

	<span jwcid="@Insert" value="message:key" raw="true"/>


On Apr 11, 2005, at 11:30 AM, Henry Chen wrote:

> Hi,
>
> I want to output white space, so I tried "&nbsp;" and "\&nbsp;" in my
> properties file. But it was changed to "&ampnbsp;". Can anybody help 
> me with
> this? Thanks a lot.
>
> Henry
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org