Reputation: 348
How to extend the functionality of Richfaces components for example Data table with custom header and sorting techniques. i have seen extended data table but did not get much information from it. Please point me to an example if at it is available.
Thanks
Soma
Upvotes: 3
Views: 4438
Reputation: 597016
Well, you can extend a JSF component with the regular java extension (extends
). You will have to extend a number of classes, depending on the exact component:
UIComponentName
/HtmlComponentName
HtmlComponentNameRenderer
ComponentNameTag
and you might need to register the renderer in faces-config.xml
.
You can take a look at this thread, or google for "Extend JSF component" or "Create custom JSF component".
Upvotes: 1