Implement support for creating managed beans from faces-config.xml or other JSF
config files.
---------------------------------------------------------------------------------------------
Key: MYFACESTEST-45
URL: https://issues.apache.org/jira/browse/MYFACESTEST-45
Project: MyFaces Test
Issue Type: New Feature
Components: Mock Objects, Test suites
Affects Versions: 1.0.1
Reporter: Leonardo Uribe
When you are working with MyFaces Test, there are situations where it is
necessary to create JSF managed beans, so you need to add these ones writing
them in Java code manually.
It'd be nice if MyFaces Test would parse faces-config.xml and any JSF config
files in web.xml and automatically create the managed bean definitions for you,
just as JSF normally does. This would simplify testing greatly. Additionally,
it could be even better to enhance MyFaces Test, so expressions like
#{facesContext} and others described on the spec could be resolved, and it
could be great allow a "standard" way to configure ELResolver instances used in
testing (read them from parsed faces-config.xml files).
This issue was originally reported on MYFACESTEST-42, but it is a great idea
for a GSOC, so I created an alternative issue here describing in more deep the
intention.
regards,
Leonardo
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira