JSF - Component Libraries, migrate or not migrate?

前端 未结 1 645
北海茫月
北海茫月 2021-01-19 05:29

I am using an old component library called Woodstock. Whenever I try to change something I get stuck with not find finding adequate documents about this library. I am thinki

相关标签:
1条回答
  • 2021-01-19 06:06

    Woodstock was rather unique. The Woodstock components generates generally JavaScript code instead of HTML code. That JavaScript code in turn generates the HTML DOM tree on page load. After all, especially since the release of Firefox 3 where all Woodstock based websites instantly broke, that generated JavaScript code was not standards compliant. This was a major mistake of the Woodstock inventors/developers. It was too late to fix it.

    IceFaces, RichFaces, PrimeFaces, etc have all a robust component library which generate standards compliant HTML/JS code wherein the cross browser sensitive JS tasks are delegated to a 3rd party JS library such as jQuery. Currently those JSF component libraries are still actively maintained. I know that you can never predict this beforehand, but I wouldn't expect them to disappear in 5 years or something.

    0 讨论(0)
提交回复
热议问题