Hi Carsten,

first, the question is about Java-JSF-components, or
Facelets-JSF-components?

if

1)
write a new/extended Java-JSF-component, if you need to change the behaviour
of the component-model or need to add attributes to the component model
write a new/extended Java-JSF-renderer if you want to change the display of
the component only - based on already existing attributes

2) write a Facelets-JSF-component whenever you have  recurring sections of
markup which you would otherwise copy and paste

regards,

Martin

On 8/15/07, Carsten Pieper <[EMAIL PROTECTED]> wrote:
>
>
> Hello everyone,
>
> as a "spin-off" of another thread in this forum: I'm wondering what the
> criteria
> are when to implement one's own component and when "only" to extend
> existing
> renderer classes?
>
> I for one haven't the experience really to speak up for one of the above
> (just,
> as a user, I noticed that my own components, of course, aren't supported
> by
> the IDE, but this surely is a minor point...).
>
> Any thoughts are welcome!
>
> Greetings,
> Carsten
>
> --
> View this message in context:
> http://www.nabble.com/When-to-extend-an-existing-renderer-class-and-when-to-write-one%27s-own-component--tf4272162.html#a12159324
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to