You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Matthias Kahlau <mk...@web.de> on 2005/11/25 00:07:07 UTC
Spaces inside a JSF page
Hi!
Does anybody know how I can insert one or more spaces (like &bsp;) inside a
JSF page?
Regards,
Matthias
Re: Spaces inside a JSF page
Posted by Martin Marinschek <ma...@gmail.com>.
One exception:
if you use JSPX, the <f:verbatim> </f:verbatim>; will lead to
problems, as the entity cannot be resolved.
Solution: include the in a <!CDATA> section,   as the
numerical representation or write: &nbsp;
regards,
Martin
On 11/25/05, Simon Kitching <sk...@obsidium.com> wrote:
> Matthias Kahlau wrote:
> > Hi!
> >
> > Does anybody know how I can insert one or more spaces (like &bsp;) inside a
> > JSF page?
>
> Tag
> <f:verbatim> any text </f:verbatim>
> will copy the contents directly to the target page.
>
> You can also use:
> <h:outputText escape="false" value=" "/>
> which will again copy the value directly to the target page.
>
> Regards,
>
> Simon
>
>
--
http://www.irian.at
Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German
Professional Support for Apache MyFaces
Re: Spaces inside a JSF page
Posted by Simon Kitching <sk...@obsidium.com>.
Matthias Kahlau wrote:
> Hi!
>
> Does anybody know how I can insert one or more spaces (like &bsp;) inside a
> JSF page?
Tag
<f:verbatim> any text </f:verbatim>
will copy the contents directly to the target page.
You can also use:
<h:outputText escape="false" value=" "/>
which will again copy the value directly to the target page.
Regards,
Simon