You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Nugroho DS <nd...@nwa.iao.co.id> on 2004/09/01 06:53:45 UTC

Display string contains spaces

Hi,

I want to display string contain spaces, ex: "three   spaces"  using
Insert or 
InsertText component but in browser it displays "three spaces" (with 1
space).
I think it is because Insert component doesn't replace space with &nbsp;

Can anybody help me how to display those spaces  ?

Thanks.

regards,
Nugroho

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 16/08/2004
 


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


Re: Display string contains spaces

Posted by Flying Lee <sk...@hotmail.com>.
You can add  raw="ognl:true" property too,and transfer the String to HTML
format yourself.

"Nugroho DS" <nd...@nwa.iao.co.id>
??????:003301c48fdf$a96ae350$af00a8c0@iao.co.id...
>
> Hi,
>
> I want to display string contain spaces, ex: "three   spaces"  using
> Insert or
> InsertText component but in browser it displays "three spaces" (with 1
> space).
> I think it is because Insert component doesn't replace space with &nbsp;
>
> Can anybody help me how to display those spaces  ?
>
> Thanks.
>
> regards,
> Nugroho
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.740 / Virus Database: 494 - Release Date: 16/08/2004
>
>
>
> ---------------------------------------------------------------------
> 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


R: Display string contains spaces

Posted by Luca De Petrillo <lu...@websiteitalia.com>.
I've the same problem.

Luca De Petrillo
-----Messaggio originale-----
Da: Nugroho DS [mailto:nds@nwa.iao.co.id]
Inviato: mercoled� 1 settembre 2004 6.54
A: tapestry-user@jakarta.apache.org
Oggetto: Display string contains spaces


Hi,

I want to display string contain spaces, ex: "three   spaces"  using
Insert or
InsertText component but in browser it displays "three spaces" (with 1
space).
I think it is because Insert component doesn't replace space with &nbsp;

Can anybody help me how to display those spaces  ?

Thanks.

regards,
Nugroho

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.740 / Virus Database: 494 - Release Date: 16/08/2004



---------------------------------------------------------------------
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