You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dennis Byrne (JIRA)" <de...@myfaces.apache.org> on 2006/02/20 23:15:27 UTC
[jira] Created: (MYFACES-1147) make com.sun.faces.verifyObjects,
only better
make com.sun.faces.verifyObjects, only better
---------------------------------------------
Key: MYFACES-1147
URL: http://issues.apache.org/jira/browse/MYFACES-1147
Project: MyFaces
Type: New Feature
Components: Implementation
Reporter: Dennis Byrne
Assigned to: 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/%3C20020202032125.8221.qmail@icarus.apache.org%3E
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
[jira] Closed: (MYFACES-1147) make com.sun.faces.verifyObjects,
only better
Posted by "Dennis Byrne (JIRA)" <de...@myfaces.apache.org>.
[ 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/%3C20020202032125.8221.qmail@icarus.apache.org%3E
> 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