template based renderer (using Jakarta Velocity)

2005-07-06 Thread Matthias Wessendorf
Hi all. Last night I played a bit with Velocity templates to render JSF UI components. Here is a document that contains some infos regarding this. Note: it is a first version. Not complete, but I'll look deeper into this. Here it goes: http://people.apache.org/~matzew/jsfvelocity.html Perhaps

Re: template based renderer (using Jakarta Velocity)

2005-07-06 Thread Werner Punz
Matthias Wessendorf wrote: Hi all. Last night I played a bit with Velocity templates to render JSF UI components. Here is a document that contains some infos regarding this. Note: it is a first version. Not complete, but I'll look deeper into this. Here it goes:

Re: template based renderer (using Jakarta Velocity)

2005-07-06 Thread Matthias Wessendorf
Werner, thanks for your feedback, During the weekend I'll look more at that. Yes the putting the ui component to the context is fine. thanks (was late... ;)) I'll keep you updated for *news* on that. -Matthias On 7/6/05, Werner Punz [EMAIL PROTECTED] wrote: Matthias Wessendorf wrote: Hi

Re: template based renderer (using Jakarta Velocity)

2005-07-06 Thread Werner Punz
Matthias Wessendorf wrote: Werner, thanks for your feedback, During the weekend I'll look more at that. Yes the putting the ui component to the context is fine. thanks (was late... ;)) I'll keep you updated for *news* on that. Yes really neat stuff.. as I said I have used Velocity based

Re: template based renderer (using Jakarta Velocity)

2005-07-06 Thread Matthias Wessendorf
Werner, One thing I could see with your approach would be a generalized velocity renderer, which checks if the component has the binding attribute template and then it loads the template from that attribute and pushes the component in... that way you dont even have to define anything in the

Re: template based renderer (using Jakarta Velocity)

2005-07-06 Thread Martin Marinschek
I was thinking about maybe using the Facelet approach for the component creation as well - this is basically exact the same stuff as defining the components by using JSP. I don't know how to do loops and stuff like that then, though... regards, Martin On 7/6/05, Matthias Wessendorf [EMAIL

Re: template based renderer (using Jakarta Velocity)

2005-07-06 Thread gvanmatre
I was thinking about maybe using the Facelet approach for the component creation as well - this is basically exact the same stuff as defining the components by using JSP. I don't know how to do loops and stuff like that then, though... The Clay component under Shale is another example of

Re: template based renderer (using Jakarta Velocity)

2005-07-06 Thread Werner Punz
Martin Marinschek wrote: I was thinking about maybe using the Facelet approach for the component creation as well - this is basically exact the same stuff as defining the components by using JSP. I don't know how to do loops and stuff like that then, though... Facelet is very similar but a much

Re: template based renderer (using Jakarta Velocity)

2005-07-06 Thread Werner Punz
[EMAIL PROTECTED] wrote: I was thinking about maybe using the Facelet approach for the component creation as well - this is basically exact the same stuff as defining the components by using JSP. I don't know how to do loops and stuff like that then, though... The Clay component under Shale

Re: template based renderer (using Jakarta Velocity)

2005-07-06 Thread gvanmatre
I was thinking about maybe using the Facelet approach for the component creation as well - this is basically exact the same stuff as defining the components by using JSP. I don't know how to do loops and stuff like that then, though... The Clay component under Shale is another example