[Tapestry-commits] CVS: Tapestry/junit/src/net/sf/tapestry/junit/mock/app/expr TemplateExprReserved.
Brought to you by:
hship
|
From: Howard L. S. <hs...@us...> - 2002-11-30 03:33:23
|
Update of /cvsroot/tapestry/Tapestry/junit/src/net/sf/tapestry/junit/mock/app/expr
In directory sc8-pr-cvs1:/tmp/cvs-serv15444/junit/src/net/sf/tapestry/junit/mock/app/expr
Added Files:
Tag: hship-2-3
TemplateExprReserved.html TemplateExprConflict.page
TemplateExprInformal.page TemplateExprConflict.html
TemplateExprInformal.html TemplateExpr.page TemplateExpr.html
TemplateExprReserved.page
Log Message:
Add support for providing expressions in component templates.
--- NEW FILE: TemplateExprReserved.html ---
<!-- $Id: TemplateExprReserved.html,v 1.1.2.1 2002/11/30 03:33:19 hship Exp $ -->
<span jwcid="$content$">
<span jwcid="border">
<a jwcid="link" href="[[ computedURL ]]">Link</a>
</span>
</span>
--- NEW FILE: TemplateExprConflict.page ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: TemplateExprConflict.page,v 1.1.2.1 2002/11/30 03:33:19 hship Exp $ -->
<!DOCTYPE page-specification PUBLIC
"-//Howard Lewis Ship//Tapestry Specification 1.3//EN"
"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
<page-specification class="net.sf.tapestry.html.BasePage">
<component id="border" type="lib:Border">
<static-binding name="title">TemplateExprConflict</static-binding>
</component>
<component id="insertApplicationName" type="Insert">
<!-- Conflict: specified here and as an expression in the template -->
<static-binding name="value">Application Title</static-binding>
</component>
</page-specification>
--- NEW FILE: TemplateExprInformal.page ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: TemplateExprInformal.page,v 1.1.2.1 2002/11/30 03:33:19 hship Exp $ -->
<!DOCTYPE page-specification PUBLIC
"-//Howard Lewis Ship//Tapestry Specification 1.3//EN"
"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
<page-specification class="net.sf.tapestry.html.BasePage">
<component id="border" type="lib:Border">
<static-binding name="title">TemplateExprInformal</static-binding>
</component>
<component id="ifTest" type="Conditional">
<binding name="value" expression="false"/>
</component>
</page-specification>
--- NEW FILE: TemplateExprConflict.html ---
<!-- $Id: TemplateExprConflict.html,v 1.1.2.1 2002/11/30 03:33:19 hship Exp $ -->
<span jwcid="$content$">
<span jwcid="border">
Application Name: <span jwcid="insertApplicationName" value="[[ engine.specification.name ]]"/>
</span>
</span>
--- NEW FILE: TemplateExprInformal.html ---
<!-- $Id: TemplateExprInformal.html,v 1.1.2.1 2002/11/30 03:33:19 hship Exp $ -->
<span jwcid="$content$">
<span jwcid="border">
<span jwcid="ifTest" informal="[[ engine.visit != null ]]">
This will never be displayed.
</span>
</span>
</span>
--- NEW FILE: TemplateExpr.page ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: TemplateExpr.page,v 1.1.2.1 2002/11/30 03:33:19 hship Exp $ -->
<!DOCTYPE page-specification PUBLIC
"-//Howard Lewis Ship//Tapestry Specification 1.3//EN"
"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
<page-specification class="net.sf.tapestry.html.BasePage">
<component id="border" type="lib:Border">
<static-binding name="title">TemplateExpr</static-binding>
</component>
<component id="insertApplicationName" type="Insert"/>
<component id="insertAppName2" type="Insert"/>
</page-specification>
--- NEW FILE: TemplateExpr.html ---
<!-- $Id: TemplateExpr.html,v 1.1.2.1 2002/11/30 03:33:19 hship Exp $ -->
<span jwcid="$content$">
<span jwcid="border">
Application Name: <span jwcid="insertApplicationName" value="[[ engine.specification.name ]]"/>
<p>
Second example: <span jwcid="insertAppName2" class="[[ "styleClass" ]]" value="[[ engine.specification.name ]]"/>
</span>
</span>
--- NEW FILE: TemplateExprReserved.page ---
<?xml version="1.0" encoding="UTF-8"?>
<!-- $Id: TemplateExprReserved.page,v 1.1.2.1 2002/11/30 03:33:19 hship Exp $ -->
<!DOCTYPE page-specification PUBLIC
"-//Howard Lewis Ship//Tapestry Specification 1.3//EN"
"http://tapestry.sf.net/dtd/Tapestry_1_3.dtd">
<page-specification class="net.sf.tapestry.html.BasePage">
<component id="border" type="lib:Border">
<static-binding name="title">TemplateExprReserved</static-binding>
</component>
<component id="link" type="PageLink">
<static-binding name="page">Home</static-binding>
</component>
</page-specification>
|