Improve error message in AccessScopeManager
-------------------------------------------

                 Key: ORCHESTRA-36
                 URL: https://issues.apache.org/jira/browse/ORCHESTRA-36
             Project: MyFaces Orchestra
          Issue Type: Improvement
          Components: Conversation
    Affects Versions: 1.3
         Environment: Windows XP, RAD 7.0, WAS 6.1
            Reporter: Kito D. Mann
            Priority: Minor


If you forget to add the Spring DelegatingVariableResolver (or one of its 
variants) to faces-config, you get this error message:

"No AccessScopeManager found. Probably you forgot to add <import 
resource=\"classpath*:/META-INF/spring-orchestra-init.xml\" />" to your spring 
configuration."

"his really needs to be generalized into something like "No AccessScopeManager 
found. Is your dependency injection framework configured correctly? For Spring 
and JSF, this means adding <import 
resource=\"classpath*:/META-INF/spring-orchestra-init.xml\" />" to your Spring 
configuration and also adding the Spring DelegatingVariableResolver (or one of 
its subclasses) to your JSF configuration."

Maybe that's a little verbose, but you get the idea. The existing message can 
send you down the wrong path.



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to