This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes tiles 2.0.5 with myfaces 1.2.7 problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "tiles 2.0.5 with myfaces 1.2.7 problem" Watch "tiles 2.0.5 with myfaces 1.2.7 problem" New topic
Author

tiles 2.0.5 with myfaces 1.2.7 problem

qadeer alvi
Greenhorn

Joined: Nov 30, 2007
Posts: 6
Hi

I have used struts tiles 1.2.7 with Tomahawk 1.1.6 with Myfaces 1.1.5. in my project.
Recently I changed to myFaces 1.2.7(latest), Tomahawk 1.1.9. and Tiles 2.0.5.
This stack generates the following error:

“Servlet.service() for servlet jsp threw exception

java.lang.IllegalArgumentException: Component javax.faces.component.UIViewRoot is no javax.faces.component.html.HtmlOutputText”



To try and find a solution to this problem I have tried to run my application with a number of different stacks:



Following combinations are working..

1) Myfaces 1.1.5

Tomahawk 1.1.6

Struts 1.2.8



2) Myfaces 1.2.7

Tomahawk 1.1.9



3) Myfaces 1.1.5

Tiles 2.0.5



Following combinations are not working:

1) Myfaces 1.2.7

Tomahawk 1.1.9

Tiles 2.0.5



2) Myfaces 1.2.7

Tomahawk 1.1.9

Tiles 1.2.8



Any advise on what latest stack of Myfaces,Tomahawk and Tiles that work together, will be grately appriciated.

OR: What configuartion parameters are necessary, to make the latest stack:

Myfaces 1.2.7

Tomahawk 1.1.9

Tiles 2.0.5

work.

Thank you.

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: tiles 2.0.5 with myfaces 1.2.7 problem
 
Similar Threads
s:inputSuggestAjax, t:jscookMenu, t:inputDate
Tiles+Ajax in JSF
tiles 2.0.5 with myfaces 1.2.7 problem
Heeelp! Fileupload with jsf and ajax
t:columns problem