[Issue 359] New - Error in initialization sequence

View: New views
1 Messages — Rating Filter:   Alert me  

[Issue 359] New - Error in initialization sequence

by kdeanddd :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://facelets.dev.java.net/issues/show_bug.cgi?id=359
                 Issue #|359
                 Summary|Error in initialization sequence
               Component|facelets
                 Version|1.1.14
                Platform|All
              OS/Version|All
                     URL|
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|impl
             Assigned to|issues@facelets
             Reported by|kdeanddd






------- Additional comments from kdeanddd@... Wed Nov  4 01:00:24 +0000 2009 -------
In com.sun.facelets.FaceletViewHandler.restoreView(), lines 315-321:

        if (!this.buildBeforeRestore || !handledByFacelets(viewId)) {
            return this.parent.restoreView(context, viewId);
        }

        if (this.faceletFactory == null) {
            this.initialize(context);
        }

The buildBeforeRestoreProperty is dependent on proper initialization.  The
sequence of these lines should be:

        if (this.faceletFactory == null) {
            this.initialize(context);
        }

        if (!this.buildBeforeRestore || !handledByFacelets(viewId)) {
            return this.parent.restoreView(context, viewId);
        }

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@...
For additional commands, e-mail: issues-help@...