Author: schof Date: Tue Nov 15 07:19:41 2005 New Revision: 344375 URL: http://svn.apache.org/viewcvs?rev=344375&view=rev Log: Fixes Bug #37495
Modified: struts/shale/trunk/core-library/src/java/org/apache/shale/remote/RemoteCommand.java Modified: struts/shale/trunk/core-library/src/java/org/apache/shale/remote/RemoteCommand.java URL: http://svn.apache.org/viewcvs/struts/shale/trunk/core-library/src/java/org/apache/shale/remote/RemoteCommand.java?rev=344375&r1=344374&r2=344375&view=diff ============================================================================== --- struts/shale/trunk/core-library/src/java/org/apache/shale/remote/RemoteCommand.java (original) +++ struts/shale/trunk/core-library/src/java/org/apache/shale/remote/RemoteCommand.java Tue Nov 15 07:19:41 2005 @@ -139,7 +139,9 @@ return true; } - // If requested, create a FacesContext for this request + // If requested, create a FacesContext for this request. This allows + // server side handler code to evaluate value binding and method + // binding expressions programatically outside of the JSF lifecycle. FacesContext facesContext = null; if (isUsingFacesContext()) { facesContext = facesContextFactory().getFacesContext(swcontext.getContext(), @@ -169,28 +171,6 @@ // --------------------------------------------------------- Private Methods - - - /** - * <p>The cached <code>Application</code> for this application.</p> - */ - private Application application = null; - - - /** - * <p>Return the <code>Application</code> for this application, - * caching it upon first retrieval.</p> - */ - private Application application() { - - if (application == null) { - ApplicationFactory applicationFactory = (ApplicationFactory) - FactoryFinder.getFactory(FactoryFinder.APPLICATION_FACTORY); - application = applicationFactory.getApplication(); - } - return application; - - } /** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]