views:

808

answers:

2

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.

+2  A: 

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
A: 

I am trying to use tomahawk t:dataScroller for pagination on my jsf page. Data is rendered properly for the first page but whenever I try to click any button to go to next page, java script error is thrown as below

form is undefined var oldTarget = form.target;

Any solution to this will be quite helpful.

I am using tomahawk12-1.1.9 lib with JSF2.0

Justin
Welcome at Stackoverflow! Sorry to say, but this does not seem to be an answer. This is a question! I am not sure why you posted a question as an answer, but you should be using the `Ask Question` button at the right top to ask a question, not the `Post Your Answer` button at the bottom :) See also http://stackoverflow.com/faq to learn how Stackoverflow works. Good luck!
BalusC