[ 
http://issues.apache.org/jira/browse/MYFACES-121?page=comments#action_60587 ]
     
Matthias We�endorf commented on MYFACES-121:
--------------------------------------------

Mike,

I patched MyFaces on my local box and tested the myfaces.jar (including your 
patch) against:

-plain struts app that only uses FacesRequestProcessor, but NO JSF components.

-mixed Struts and FAces app. That includes JSF components (S:Form, inputText) 
some Struts stuff (Action and ActionForm) and JSPs with Struts Tags

all both apps were working with patched MyFAces codebase.
Thanks.

So... I time ago I come over that issue, that MyFaces and Struts-Faces didn't 
work. At that time I created the Wrapper that is shipped with Struts-Faces. 
(that doesn't work anymore...)

There was a disscusion on *patching* JspViewHandlerImpl or not.
So from what I see now, I am +1 for patching that clazz.

Any comments?

> struts-faces incompatibilities with .do servlet mapping
> -------------------------------------------------------
>
>          Key: MYFACES-121
>          URL: http://issues.apache.org/jira/browse/MYFACES-121
>      Project: MyFaces
>         Type: Improvement
>     Versions: Nightly Build
>     Reporter: Mike Traum
>  Attachments: JspViewHandlerImpl.patch
>
> MyFaces is incompatible with struts-faces. There are several threads about 
> this issue:
> - http://www.mail-archive.com/[email protected]/msg01610.html
> - http://www.mail-archive.com/[email protected]/msg00265.html
> The crux of the problem lies in the fact that JspViewHandlerImpl.renderView
> attempts to determine the servlet mapping of the current request. When
> coming through struts-faces, the servletPath will be ".do" (or whatever
> struts 'action' is mapped to), and JspViewHandlerImpl.getServletMapping
> will throw an exception if it does not match the servlet mapping for the
> faces servlet.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira

Reply via email to