4

I have been investigating a JSF upgrade on our existing web apps that are using JSF 1.2 & tomahawk 1.1.9 & no facelets , to use JSF 2.0 & tomahawk 1.1.9

This is my findings sofar :

Have anyone else out there done something similar - and what is your experience ?

I have searched the web high and low but could not found much on this topic , but at the moment I am feeling pretty confident to get the new libraries out to the testing environment for a couple of weeks & then onto a live environment.

ChristiaanP
  • 655
  • 6
  • 20
  • Just a little feedback, I have upgraded our web apps to use JSF 2.0.3 , and it seems to be going very well , the existing JSP pages that uses the tomahawk libraries still works. The strategy going forward will then to not use JSP but facelets rather (with Primfaces -what an awesome comp. lib). The thing that took me the longest to figure out in this whole upgrade is, that if even a single faces config file still has a jsf 1.2 DTD reference then our facelets will not work , and my will not work I don't mean that it is giving you an error , it simply just displays a blank page. – ChristiaanP Sep 03 '10 at 07:00

1 Answers1

4

Actually, the library vendor is responsible for testing. You should also not download libraries which are not explicitly mentioned to be JSF 2.0 compatible. If I peek the Tomahawk site, there's no word about "JSF 2.0", only 1.1 and 1.2. So you shouldn't expect that it will work flawlessly on JSF 2.0.

The only libraries which are JSF 2.0 compatible are as far RichFaces 3.3.3, PrimeFaces 2.0, OpenFaces 2.0, Apache Trinidad 2.0 and the (currently still in Alpha stage) IceFaces 2.0.

This site used to provide a great overview, but it's currently outdated. The author has to catchup some major changes yet.


To my personal experience, the major reasons to use Tomahawk were the t:dataList, t:dataTable preserveDataModel="true" and t:saveState, but with JSF 2.0 on Facelets they are all superfluous and replaceable by ui:repeat, and @ViewScope. So I don't see any reason to stick to Tomahawk, or it must be the t:selectOneRadio layout="spread".

BalusC
  • 1,082,665
  • 372
  • 3,610
  • 3,555