|
Thanks derek,
that was exactly what I like to know.
i will give you an example:
this is an tapestry html template:
<html>
<body> <table class="data">
<tr> <th>Name1</th> <th>Name2</th> <th> </th> </tr> <tr jwcid="@Foreach" source="ognl:institutionList" value="ognl:institution" element="tr"> // iteration over database rows <td><span jwcid="@Insert" value="ognl:institution.institutionName1"/></td> / <span jwcid="@Insert" value="ognl:institution.institutionName2"/></td> </tr> </table> </body>
</html> this template can be modified by a html designer at any
time during development!
If i get a hit on this page, I read the records from the
database and tapestry will bind the data. You may not be familiar with tapestry,
but i hope this example is easy to guess.
My idea with cocoon was:
The generator will produce the xml data source (with the
database rows, etc.) and during transformation I would like to reference to the
template file and bind the dynamic data.
andreas
|
- Re: html templates - best practise gounis
- Re: html templates - best practise Andreas Bohnert
- Re: html templates - best practise gounis
- Re: html templates - best practi... Andreas Bohnert
- Re: html templates - best practise gounis
- Re: html templates - best practise Andreas Bohnert
- Re: html templates - best practise Andreas Hartmann
- Re: html templates - best practise Andreas Bohnert
- Re: html templates - best practise Alexander Schatten
- Re: html templates - best practise Derek Hohls
- Re: html templates - best practise Andreas Bohnert
- Re: html templates - best practise Joerg Heinicke
- Re: html templates - best practise Derek Hohls
- Re: html templates - best practise Andreas Bohnert
- Re: html templates - best practise Derek Hohls
- Re: html templates - best practise Bertrand Delacretaz
- Re: html templates - best practise Andreas Hartmann
- RE: html templates - best practise Conal Tuohy
- Re: html templates - best practise Derek Hohls
- Re: html templates - best practise Derek Hohls
