Re: [xwiki-users] TOC Macro question

2011-11-17 Thread Thomas Mortagne
On Thu, Nov 17, 2011 at 1:11 PM, Ashtar Communications wrote: > Marius, > > Thank you for the syntax fixes. Your changes work perfectly - I forgot > that each item would have the same HTML id if displayed twice. > > The only problem I am now having is that the TOC macro still seems to > not pick u

Re: [xwiki-users] TOC Macro question

2011-11-17 Thread Ashtar Communications
Marius, Thank you for the syntax fixes. Your changes work perfectly - I forgot that each item would have the same HTML id if displayed twice. The only problem I am now having is that the TOC macro still seems to not pick up the wiki headings contained in the objects property when using $doc.displ

Re: [xwiki-users] TOC Macro question

2011-11-16 Thread Marius Dumitru Florea
Hi Aaron, See my comments below, On Sat, Nov 12, 2011 at 7:58 PM, Ashtar Communications wrote: > Marius, > > I successfully reproduced the steps you followed on XEM 3.1 - > $context.getEditorWysiwyg() is being correctly evaluated while in > inline mode. However, when the textbox is displayed as

Re: [xwiki-users] TOC Macro question

2011-11-12 Thread Ashtar Communications
Marius, I successfully reproduced the steps you followed on XEM 3.1 - $context.getEditorWysiwyg() is being correctly evaluated while in inline mode. However, when the textbox is displayed as part of the non-html table, it still does not render as WYSIWYG. When I follow your steps here, viewing th

Re: [xwiki-users] TOC Macro question

2011-11-10 Thread Marius Dumitru Florea
Hi Aaron, I did the following test with XWiki Enterprise 3.2 and it worked: 1. I created a class Sandbox.TestClass with just one field of type TextArea, setting the "Editor" property to "Wysiwyg" (from class edit mode). 2. I added an object of type Sandbox.TestClass to the same page and put some

Re: [xwiki-users] TOC Macro question

2011-11-08 Thread Ashtar Communications
Thomas, Putting the line: $context.getEditorWysiwyg() in my sheet just results in that text being displayed on the page. Do I need to do something else to have that picked up by velocity? I'm sure I'm missing some obvious syntax ...it's late...:) The WYSIWYGText property has the default editor se

Re: [xwiki-users] TOC Macro question

2011-11-08 Thread Marius Dumitru Florea
Hi Aaron, On Tue, Nov 8, 2011 at 12:08 PM, Ashtar Communications wrote: > Thomas, > > Thank for very much for your suggestion. The group syntax was exactly > what I needed. > > However, I am still having some trouble with getting the TOC macro to > correctly pick up wiki syntax rendered with $doc

Re: [xwiki-users] TOC Macro question

2011-11-08 Thread Ashtar Communications
Thomas, Thank for very much for your suggestion. The group syntax was exactly what I needed. However, I am still having some trouble with getting the TOC macro to correctly pick up wiki syntax rendered with $doc.display() that is contained in an object's property. I have also noticed that using

Re: [xwiki-users] TOC Macro question

2011-10-23 Thread Thomas Mortagne
On Sun, Oct 23, 2011 at 12:27 AM, Ashtar Communications wrote: > Thank you for the feedback - I have been playing with passing custom > parameters, and have a few additional clarification questions. > > It seems that I need to use pure wiki syntax if I want the TOC macro > to work right. I am curr

Re: [xwiki-users] TOC Macro question

2011-10-22 Thread Ashtar Communications
Thank you for the feedback - I have been playing with passing custom parameters, and have a few additional clarification questions. It seems that I need to use pure wiki syntax if I want the TOC macro to work right. I am currently relying on the {{html}} macro for two things which I can't figure o

Re: [xwiki-users] TOC Macro question

2011-10-20 Thread Ashtar Communications
After checking, I suppose I'm not using 's at all - just 's for each object. On Thu, Oct 20, 2011 at 12:53 PM, Thomas Mortagne wrote: > On Thu, Oct 20, 2011 at 9:52 PM, Thomas Mortagne > wrote: >> On Thu, Oct 20, 2011 at 7:10 PM, Ashtar Communications >> wrote: >>> That makes sense, thank you f

Re: [xwiki-users] TOC Macro question

2011-10-20 Thread Ashtar Communications
Interesting - I had missed the ability to pass custom parameters using wiki syntax. I will play with that and see if I can get it to output the same html I need. I am in fact using a series of nested within each , that forms a collapsible javascript tree. The js is touchy about the exact formatti

Re: [xwiki-users] TOC Macro question

2011-10-20 Thread Thomas Mortagne
On Thu, Oct 20, 2011 at 9:52 PM, Thomas Mortagne wrote: > On Thu, Oct 20, 2011 at 7:10 PM, Ashtar Communications > wrote: >> That makes sense, thank you for the clarification. Unfortunately, I am >> using the HTML macro to generate the final output - this is because I >> need to use 's with a jav

Re: [xwiki-users] TOC Macro question

2011-10-20 Thread Thomas Mortagne
On Thu, Oct 20, 2011 at 7:10 PM, Ashtar Communications wrote: > That makes sense, thank you for the clarification. Unfortunately, I am > using the HTML macro to generate the final output - this is because I > need to use 's with a javascript to make the div's into > collapsible trees. > > Does tha

Re: [xwiki-users] TOC Macro question

2011-10-20 Thread Ashtar Communications
That makes sense, thank you for the clarification. Unfortunately, I am using the HTML macro to generate the final output - this is because I need to use 's with a javascript to make the div's into collapsible trees. Does that mean I'm out of luck? On Thu, Oct 20, 2011 at 12:45 AM, Thomas Mortagne

Re: [xwiki-users] TOC Macro question

2011-10-20 Thread Thomas Mortagne
On Thu, Oct 20, 2011 at 8:02 AM, Ashtar Communications wrote: > One more tonight... > > It seems that I am unable to use the built-in TOC macro for wiki > content which is generated dynamically from a Class Sheet {{include}}. > I assume this is because the TOC macro is rendered before (or > simult

[xwiki-users] TOC Macro question

2011-10-19 Thread Ashtar Communications
One more tonight... It seems that I am unable to use the built-in TOC macro for wiki content which is generated dynamically from a Class Sheet {{include}}. I assume this is because the TOC macro is rendered before (or simultaneously with) the include macro which actually displays the objects on th