dev@javaserverfaces.java.net

Re: using jsfc= with outputText?

From: Mike Kienenberger <mkienenb_at_gmail.com>
Date: Fri, 14 Jul 2006 14:46:08 -0400

On 7/14/06, Nikita Tovstoles <nikita_at_doppelganger.com> wrote:
> >I'm wondering
> >whether it's possible to use jsfc to somehow replace hard-coded output
> >with h:outputText:
> >
> >web designer produces:
> >
> ><div align="right" class="errorText">
> >Sample Text
> ></div>

On 7/14/06, jacob_at_hookom.net <jacob_at_hookom.net> wrote:
> I'm just wondering if the Renderer for h:outputText should avoid rendering its children when a value is defined.

Right, because otherwise, you could do something like this. (Right
now, you'd still get the sample text, yes?)

<div align="right" class="errorText" jsfc="h:outputText">
Sample Text
</div>

Maybe a jsfc-ignore-children="true" flag?