On 11/16/2010 02:05 PM, Ricardo Rodriguez [eBioTIC.] wrote:
OK! Please, one question here. I see in AnnotationCode.Script two XWiki.JavaScriptExtension objects. AnnotationCode.Style has only one XWiki.StyleSheetExtension object and you are proposing two documents, each of them holding one SSX object. So, I understand that only one SSX could be hold by a document or at least only one SSX can be addressed by each document. Am I right?
Thanks!
A document can have as many ssx or jsx object as it needs, but a skin extension is identified by the name of the document, so in the end an extension is a document. The content of a skin extension is the concatenation of the objects in that document, so it's impossible to write two different extensions in a single document, only different parts of the same extension.
I would like to add this paragraph to...
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial#HMi...
...as an {{info}} block. Do you agree? Thanks!
Sure, go ahead. -- Sergiu Dumitriu http://purl.org/net/sergiu/