dev@jsftemplating.java.net

JSFT Language Guide

From: Leonid Lamburt <leonidlamburt_at_hotmail.com>
Date: Wed, 26 Sep 2007 13:58:52 -0400

Hi,

In addition to events/event_handlers (e.g. <!beforeEncode setAttribute(key="mykey" value="0"); /> )

what are other constructs of JSFT language?

So far, I've seen the following in various jsf examples that come with the project:
<!foreach i: list>
......
</foreach>

<!if cond> ..... </if>

<!facet name="something_here" ... </facet>


I also have seen a few variables in various places:

$property{prop_name} $attribute{attr_name} $this{some_key_here}

1. What are these variables?


2. Did I miss anything? Are there any other variables/tags ?

3. What is allowed to be nested in each tag including events ?
in the article
http://www.theserverside.com/tt/articles/article.tss?l=JSFTemplateComponent

I've seen:

<!beforeEncode
.........
if($property{columns}){

}
....

What is that if construct? Is it an event handler? How does it relate to <!if.... tag?

What kind of EL is allowed in the attr's of all those JSFT tags? How does it relate to the Unified EL?


Thanks.

_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE