On Oct 17, 2007, at 9:03 AM, Artamonov, Juri wrote: > I can confirm since I had the same issue. Moreover sometimes when you > work with bullets it's also ok in wiki-mode but when you switch > WYSIWYG-mode it can easily disappear. Currently it looks like > showstopper for me for xwiki usage.
What version are you using? Have you checked if there's a jira issue for this "bullet" issue? If not would be nice to create one and explain how to reproduce it. Thanks -Vincent > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf > Of Vitantonio Messa > Sent: Wednesday, October 17, 2007 8:36 AM > To: XWiki Users > Subject: [xwiki-users] WYSIWYG editor and velocity > > Hi everyone, > > I wrote a page with some code in it: > > ....SOME TEXT... > #foreach ($docum in $xwiki.getSpaceDocsName("workgroups")) > #set ($name = $xwiki.split($docum,"_")) > #set ($isMeeting = 0) > #set ($i = 0) > #foreach ($word in $name) > #set ($i = $i+1) > #if (($i == 1) && ($word == "MT")) > #set ($isMeeting = 1) > #elseif ($i == 2) > #set ($date = $word) > #elseif (($i == 3) && (("WG_"+$word) == $doc.getName())) > Meeting [$date>workgroups.$docum] <br/> > #end > #end > #end > ....SOME TEXT... > > If I edit the page in wiki-mode, no problem. But if I edit the page in > WYSIWYG-mode, and then save it, the code is not working anymore. > Actually the same section become: > > ....SOME TEXT... > #foreach ($docum in $xwiki.getSpaceDocsName("workgroups")) > #set ($name = $xwiki.split($docum,"_")) > #set ($isMeeting = 0) > #set ($i = 0) > #foreach ($word in $name) > #set ($i = $i+1) > #if (($i == 1) && ($word == "MT")) > #set ($isMeeting = 1) > #elseif ($i == 2) > #set ($date = $word) > #elseif (($i == 3) && (("WG_"+$word) == $doc.getName())) > > Meeting [$date>workgroups.$docum] \\ > #end > #end > #end > ....SOME TEXT... > > > So, the character '_' is replace by '_'. > Any solution to this problem? Thanks! > > Vito > > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users