DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7573>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7573

load and save commands don't work in sunShine createcontext

           Summary: load and save commands don't work in sunShine
                    createcontext
           Product: Cocoon 2
           Version: Current CVS
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: sitemap components
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The load and save commands don't work in the sunShine createContext tag.  
Looking in the sunshinePreTransformer.java file I saw that the loads and save 
constants are initialized in reverse.

    public static final String CREATECONTEXT_SAVE_ATTRIBUTE = "load"; // 
optional
    public static final String CREATECONTEXT_LOAD_ATTRIBUTE = "save"; // 
optional

Must be replaced with
    public static final String CREATECONTEXT_SAVE_ATTRIBUTE = "save"; // 
optional
    public static final String CREATECONTEXT_LOAD_ATTRIBUTE = "load"; // 
optional

I tested the change and everything works as it should.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to