Inaccurate documentation (wiki) "Now, you can ommit the context listener setup"
-------------------------------------------------------------------------------

         Key: MYFACES-631
         URL: http://issues.apache.org/jira/browse/MYFACES-631
     Project: MyFaces
        Type: Improvement
    Versions: 1.1.0    
 Environment: resin 3.0.14
    Reporter: Thomas Timbul


This sentence "Now, you can ommit the context listener setup" can be found in 
the wiki entry talking about migrating from 1.0.9m9 to 1.1.0.
The statement is inaccurate, because there are circumstances in which this 
doesnt work:

IF the myfaces jars are all placed inside the web-application's lib folder and 
the container supports the automatic loading from the tld, the listener entry 
MUST be omitted, otherwise an Exception is thrown claiming that 
javax.faces.el.VariableResolver cannot be found.

IF AT LEAST the myfaces-api.jar is placed on the container classpath instead, 
it doesn't matter whether the entry is omitted or not.

-- 
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

Reply via email to