wood burning stoves 2.0*
The moose likes JSF and the fly likes JSF IceFaces Custom Component Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF IceFaces Custom Component" Watch "JSF IceFaces Custom Component" New topic
Author

JSF IceFaces Custom Component

Carlos Conti
Ranch Hand

Joined: Apr 21, 2010
Posts: 113
Hi all,

I have developed my first JSF component which consists of a custom layout container. I am not using a separate Renderer class. Inside the component class, since I override the encodeBegin method, and inside this method I render the children components, I have overriden getRendersChildren() to return false, in order to avoid double-rendering of the children components. However when checking they keep being double-rendered. Tried doing the whole rendering via encodeAll(), but the result was even worse (I'm a newbie man!). Any ideas?? Must I develope the renderer class? This would mean writting overriding many methods without any purpose for my component (decode(),encode(),converters,...). I am sure I am missing something...

Thanks for your help in advance!
Carlos.
 
Consider Paul's rocket mass heater.
 
subject: JSF IceFaces Custom Component
 
Similar Threads
Custom Components and Error Handling / h:Messages
Creating a custom JSF comp
JSF: component-family, component type and renderer relation.
JSF : Differenc e between attribute and property of a component
Overriding OutcomeTargetLinkRenderer