Load default class sheet and class template content in files resources.
-----------------------------------------------------------------------

                 Key: XAAM-19
                 URL: http://jira.xwiki.org/jira/browse/XAAM-19
             Project: XWiki Application Manager Application
          Issue Type: New Feature
          Components: SuperClass
    Affects Versions: 1.0 M1
            Reporter: Thomas Mortagne
             Fix For: 1.0 M2


When there is no class template document or sheet template document 
AbstractSuperClass first try to find the content to set in the new 
sheet/template document from the resources. If it can't find any resource it 
used getClassSheetDefaultContent or getClassTemplateDefaultContent.

For class sheet document the resource path is : "sheets/" + 
SuperClass.getClassSheetFullName() + ".vm"
For class template document the resource path is : "templates/" + 
SuperClass.getClassTemplateFullName() + ".vm"

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.xwiki.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to