This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes JSF and the fly likes MyFaces 1.2.3 and Tiles 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "MyFaces 1.2.3 and Tiles 2" Watch "MyFaces 1.2.3 and Tiles 2" New topic
Author

MyFaces 1.2.3 and Tiles 2

Hugo Lam
Greenhorn

Joined: Jun 21, 2008
Posts: 3
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

Joined: Jul 03, 2008
Posts: 1
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 ]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: MyFaces 1.2.3 and Tiles 2
 
Similar Threads
Myfaces
tiles 2.0.5 with myfaces 1.2.7 problem
tiles 2.0.5 with myfaces 1.2.7 problem
JSF vs MyFaces
Component ID .... has already been found in the view with t:dataScroller.