Re: [xwiki-users] TOC from other Page

2016-09-26 Thread Vincent Massol
Hi, > On 26 Sep 2016, at 18:26, Tomáš Skála wrote: > >> You should try it (even if not for this use case), just to see/feel the >> power of it. > > we will need organized lists with records soon, so we certainly will :) > >> FYI I’ve fixed and committed

Re: [xwiki-users] TOC from other Page

2016-09-26 Thread Tomáš Skála
> You should try it (even if not for this use case), just to see/feel the power > of it. we will need organized lists with records soon, so we certainly will :) > FYI I’ve fixed and committed http://jira.xwiki.org/browse/XRENDERING-240. > You could get it by using a snapshot build, see >

Re: [xwiki-users] TOC from other Page

2016-09-25 Thread Vincent Massol
Hi, > On 25 Sep 2016, at 13:12, tskala wrote: > > that {{context}} sounds like great solution for the needs. > > I thought about classes/objects before but it seemed like it would only > obfuscate texts making editability harder for no real gain (like replacing > wiki

Re: [xwiki-users] TOC from other Page

2016-09-25 Thread tskala
that {{context}} sounds like great solution for the needs. I thought about classes/objects before but it seemed like it would only obfuscate texts making editability harder for no real gain (like replacing wiki editor with simple text field for method description). Descriptions are heavily

Re: [xwiki-users] TOC from other Page

2016-09-24 Thread Vincent Massol
Hi tskala, FYI I’ve researched it a bit more and I was able to patch the Context Macro to make it work with the toc macro. See http://jira.xwiki.org/browse/XRENDERING-240?focusedCommentId=92733=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-92733 Example usage:

Re: [xwiki-users] TOC from other Page

2016-09-24 Thread Vincent Massol
> On 24 Sep 2016, at 23:50, tskala wrote: > >> http://jira.xwiki.org/browse/XRENDERING-240 > > not exactly sure but sounds like it would solve it. (Your comment about > {{context}} macro sounds actually better. It could help with more things > then just this.) > >>

Re: [xwiki-users] TOC from other Page

2016-09-24 Thread tskala
> http://jira.xwiki.org/browse/XRENDERING-240 not exactly sure but sounds like it would solve it. (Your comment about {{context}} macro sounds actually better. It could help with more things then just this.) > Could you explain your need since there may be other ways of achieving it? I would

Re: [xwiki-users] TOC from other Page

2016-09-24 Thread Vincent Massol
Hi Tskala, > On 24 Sep 2016, at 14:35, tskala wrote: > > Probably easy for someone familiar with API. Actually it’s not that easy ;) We have an open issue for implementing this (if we’re talking about the same thing): http://jira.xwiki.org/browse/XRENDERING-240 So you