• Post Reply Bookmark Topic Watch Topic
  • New Topic

MyFaces 1.2.3 and Tiles 2  RSS feed

 
Hugo Lam
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone have any experience in using MyFaces 1.2.3 and Tiles 2? I am getting the java.lang.NoClassDefFoundError: org/apache/struts/tile/DefinitionsFactoryException. Looked at the implementation of the provided JspTilesViewHandlerImpl in MyFaces 1.2.3, it seems to still depend on the Struts version of Tiles. Any idea if its feasible to use both? I know there is a TilesViewHandler that seems to work in the JSF RI, however, I am using Tomahawk, anyone has any experience using JSF RI 1.2 with Tomahawk and Tiles 2? Appreciate any suggestions and helps!

Thanks,
Hugo
 
jeff malone
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello. I am currently working on it. You need the latest tomahawk snapshot (tomahawk-1.1.7-SNAPSHOT.jar) and these configurations in web.xml:



faces-config.xml (in <application>)



My problem is that I have to create a jsp page for every tiles definition because the tiles definitions cannot be simply called by URL...
[ July 03, 2008: Message edited by: jeff malone ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!