You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Eurig Jones <eu...@fugro-robertson.com> on 2005/11/28 11:33:56 UTC

  in commandLink

how would I go about using an &nbsp; in a <h:commandLink>?

currently...
<h:commandLink actionListener="#{data.viewHistory}">
    <h:outputText value="set&nbsp;returned" />
</h:commandLink>
                   
outputs the texted version of &nbsp;. and if i remove the <h:outputText> 
alltogether and replace with just text, the link doesn't work...

any ideas?

Re:   in commandLink

Posted by Jeremy Green <my...@jeremygreen.me.uk>.
> currently...
> <h:commandLink actionListener="#{data.viewHistory}">
>   <h:outputText value="set&nbsp;returned" />
> </h:commandLink>
>                  outputs the texted version of &nbsp;. and if i remove the 
> <h:outputText> alltogether and replace with just text, the link doesn't 
> work...

Use <h:outputText>'s escape attribute.

Jeremy