[
https://issues.jboss.org/browse/SEAMFACES-165?page=com.atlassian.jira.plu...
]
Christian Kaltepoth commented on SEAMFACES-165:
-----------------------------------------------
I think it should work fine with Mojarra. I see no reason why it shouldn't. The only
important thing is that this factory must decorate {{WeldApplicationFactory}} and not the
other way around.
However I'm not sure if it is a good idea to include such a workaround in Seam Faces.
Wouldn't it be nicer to simply add a {{SeamFacesApplicationFactory}} that creates
wrapped {{Application}} instances in its {{getApplication()}} method? Just like
{{SeamExternalContextFactory}} and {{CatchExceptionHandlerFactory}} do it? This way there
would be no need to call {{setApplication()}} and so we won't be affected by the Weld
bug any more.
I'll build a prototype for this at the weekend. I think it will work fine this way.
@Inject for Validators doesn't work with MyFaces
------------------------------------------------
Key: SEAMFACES-165
URL:
https://issues.jboss.org/browse/SEAMFACES-165
Project: Seam Faces
Issue Type: Bug
Components: Validation & Conversion
Affects Versions: 3.0.1
Environment: Tomcat 7.0.8, MyFaces 2.0.5, Weld 1.1.0
Reporter: Christian Kaltepoth
@Inject doesn't work for validators when using MyFaces. The fields are always null.
If I run the application with Mojarra instead of MyFaces everything works fine.
I'm note completely sure if it is a Seam Faces or a MyFaces issue.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira