Hi Thomas,

Thomas Mortagne wrote:
> Hi Ricardo,
>
> The correct way to do that would be by implementing a rendering
> transformation. Transformations are called to modify the XDOM
> (document content in a Java object based model) before rendering it.
>
> See 
> http://code.xwiki.org/xwiki/bin/view/Modules/RenderingModule#HAddinganewTransformation
>   

I think I can, more intuitively that with real knowledge, understand 
what you are talking about.
> The only problem is that there is one limitation currently: when you
> edit the a page with the WYSIWYG and save, the modified XDOM will be
> saved. We need http://jira.xwiki.org/jira/browse/XWIKI-3260 to fully
> support any possible modification to the XDOM (I'm currently working
> on it but it's a big work).
>
>   
We don't use the WYSIWYG editor in concerned wiki: I'm working in a 
1.3.x plain old wiki. It is currently being migrated to a 2.4.1 new 
farm. But even in this case I think I'm far from being able to implement 
this solution here. I see that we have not available information yet 
about "Adding a new Transformation".

The only solution that I currently see is replacing the strings stored 
in thar property to sore XWiki links there. Automatically or manually.

Any other idea will be really welcome!

Thanks!

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

_______________________________________________
devs mailing list
devs@xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to