Helma Logo
main list history
previous version  overview  next version

Version 7 by michi on 06. December 2005, 21:14

Collecting ideas for Helma 2 Template Framework.


<b>Syntax example for helma.skins.2.0: (by *matthias* *Helma 2 Templates - 2005/12/04)</b>matthias*
click on "attach" and download the file (if anybody can help me linking that file without destroying the layout here i would be thankful)

* is valid xml
* renders in a browser (without showing ugly server code) -> you might need to rename the extension to *.html
* seperates logic from template
* avoids the need of having many, many files...
* is based on the proposal from hannes (see link above)
* introduces &lt;h:Prototype.macroName /&gt; as an alternative to h:macro="Prototype.macroName"

the &lt;script runat="server"&gt; is just there to have the code in the same file. the idea would be to allow it just for file based skins and evaluate it just the same way as code in .js files.