What would it cost to completely replace the skinx module with components? Why 
not do that now?

+0 otherwise for a xwiki-skin module that would include both skin APIs and skin 
extension ones.

Thanks
-Vincent

On Jan 4, 2011, at 3:14 PM, Anca Luca wrote:

> Hi devs,
> 
> I wanted to create a component to define the interface for the skin 
> extension mechanism:
> 
> @ComponentRole
> public interface SkinExtension {
>    public void use(String resource);
>    public void use(String resource, Map<String, Object> parameters);
> }
> 
> in a module in platform/core called xwiki-skinx-api or 
> xwiki-skinx-bridge-api
> 
> and then implement it with ssx, jsx, ssfx, jsfx, ssrx, jsrx hints in the 
> skinx plugin. Basically the implementation will do nothing else but grab 
> the XWikiContext from the Execution, grab XWiki from there, get the 
> plugin api and call the use function on it.
> 
> This will be useful to write code that needs the skin extensions but 
> doesn't want to depend on the core (macros, for example) and it will 
> serve as a bridge towards the future implementation of the skinx plugin 
> as a component.
> 
> My +1 for the proposed interface in xwiki-skinx-api and the 
> implementation in the plugin.
> 
> WDYT?
> 
> Thanks,
> Anca
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs

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

Reply via email to