Leon,

JSF is component structured but the default renderer is JSP, which doesn't
really have templating out of the box.   That's why we know of a few
projects that fill the need.  Tiles (Standalone from the upcoming version
1.3 build) was ported to fill that need while Clay (part of 'Struts Shale'
http://struts.apache.org/shale) and Facelets (https://facelets.dev.java.net)
were created to fill that need.

Regards,
David

-----Original Message-----
From: Leon Rosenberg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 04, 2005 10:34 AM
To: Struts Users Mailing List
Subject: Re: [Shale]Newbie question


On 10/4/05, Greg Reddin <[EMAIL PROTECTED]> wrote:
> On Oct 4, 2005, at 3:55 AM, Leon Rosenberg wrote:
> >
> > That's another interesting question, if JSF is all-component, what do
> > I need tiles for? I mean Tiles was cool to define a common renderer
> > for an abstract view-component which was then implicitely defined with
> > struts-classic. Now JSF supports component-rendering which should make
> > Tiles obsolete. What would I need Tiles for then? Or do I miss
> > something (as usual)? :-)
>
> In my limited experience with JSF it does not seem to contain
> templating capabilities.  So in Struts classic I would use Tiles for
> creating site templates as well as reusable views (or component-based
> views).  But with JSF Tiles still proves useful for templating and
> for further breaking up view components into smaller reusable
> pieces.    But, honestly, I have yet to use the two together simply
> because I haven't built a real app on JSF yet.  So much of my view is
> based on conceptual thinking and not real world experience.

Maybe I'm misunderstanding the concept completely, but I thought JSF
goal would be to create a component structure (tree) which allows
itself to be rendered with a special rendering kit to anything. So in
case I have template-able html (or whatever) code, I define a new
component, which manages exactly this piece of resulting code and
provide a renderer for it. What am i getting false?



>
> Greg

Leon

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to