dev@jsftemplating.java.net

Re: JSFTemplating: questions about $attribute{attr2}

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Mon, 28 Jul 2008 12:57:26 -0700

This is whats stored in the request scope.
so $attribute{attr} is the same as saying #{requestScope.attr}
The lines below means store the return value of jsft.echo to the request
scope, and then get it back as the input value to println().

Anissa.

Rebecca Searls wrote:
>
> I'm trying to understand what $attribute is. Is this a JSP thing, an
> EL thing?
> What is its special handling of the return value from jsft.echo?
>
> <!afterEncode
> jsft.echo(in='goodbye', out=>$attribute{attr2});
> println(value= '$attribute{attr2}');
> />