[ http://issues.apache.org/jira/browse/MYFACES-1147?page=all ]
Dennis Byrne closed MYFACES-1147:
---------------------------------
Resolution: Fixed
> make com.sun.faces.verifyObjects, only better
> ---------------------------------------------
>
> Key: MYFACES-1147
> URL: http://issues.apache.org/jira/browse/MYFACES-1147
> Project: MyFaces Core
> Type: New Feature
> Components: General
> Reporter: Dennis Byrne
> Assignee: Dennis Byrne
> Priority: Minor
>
> The RI has a context parameter feature, com.sun.faces.verifyObjects . This
> performs a whole bunch of QA for components, converters, renderers, and
> validators .
> MyFaces should do this also but add the following:
> Do a file system check for all <to-view-id> in faces-config.xml
> Look for duplicate map & list entries in faces-config.xml (currently allowed
> by both RI and MyFaces)
> Look for duplicate managed beans in faces-config.xml (currently allowed by
> both RI and MyFaces)
> Make sure each managed bean is in the classpath.
> Make sure each <from-action> exists, and that it has the correct signature.
> Mistakes should not throw exceptions, just logging to INFO .
> Probably should just call it something like org.apache.myfaces.verify .
> In the future, the real benifit would be to apply the same scrutiny to the
> JSPs. I would like to do this by converting each one into a xml Document
> object first. The only tool I found for this was jsp2XML.java, which is part
> of the old watchdog repo:
> http://mail-archives.apache.org/mod_mbox/jakarta-watchdog-dev/200202.mbox/[EMAIL
> PROTECTED]
> I would appreciate it if anyone knew of an alternative. Also, if anyone can
> think of anything else reasonable to test for at startup, put it here.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira