Anyone who has ever tried to create custom JSF components knows how it is tedious and time-consuming.
As someone once said "JSF component if pretty complicated beast". To create fully functional custom component, it is not enough to define component logic in custom UIComponent class and also to create custom Renderer. Additionaly you have to create a lot of attributes with special getter’s and setters that interacts with StateHelper in your UIComponent class, you have to spent some time on creating faces configuraion file and tag library descriptors for facelets and maybe for jsp technologies. Regarding TLD's, you have to write TagHandler class. In addition, it may be necessary to create additional handlers or listeners, and so on and so on ...
There remains a question whether much of this work can be automated?
It really can! I hereby announce the solution of mentioned problems, the generator of JSF components. If you will be interested, please check my blog in few days, the beta version will be available to download.
No comments:
Post a Comment