title: JSF 2.0 and MyFaces Tomahawk
body: <p>I have been investigating a JSF upgrade on our existing web apps that are using JSF 1.2 &amp; tomahawk 1.1.9 &amp; no facelets , to use JSF 2.0 &amp; tomahawk 1.1.9</p>
  
  <p>This is my findings sofar :</p>
  
  <ul>
  <li><p>All the tomahawk components worked except for t:dataTable used with a t:dataScroller – BUT ONLY IF preserveDataModel="true" on t:dataTable.</p></li>
  <li><p>The workaround is to set preserveDataModel="false"</p>
  
  <p>-Why it breaks is explained here :
  <a href="http://www.mail-archive.com/dev@myfaces.apache.org/msg40741.html" rel="nofollow noreferrer">http://www.mail-archive.com/dev@myfaces.apache.org/msg40741.html</a></p></li>
  <li><p>The impact of changing preserveDataModel="true" to preserveDataModel="false" is explained here :
  <a href="http://wiki.apache.org/myfaces/Working_With_DataTable_And_PreserveDataModel" rel="nofollow noreferrer">http://wiki.apache.org/myfaces/Working_With_DataTable_And_PreserveDataModel</a></p></li>
  <li><p>Existing JSF 1.2 tags still works under JSF 2.0 runtime</p></li>
  </ul>
  
  <p>Have anyone else out there done something similar - and what is your experience ?</p>
  
  <p>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 &amp; then onto a live environment.</p>