I added two sections under the name of A Pitfall of Optional Parameters and Special code for WYSIWYG edit mode. Hope I expressed myself clear enough, because I'm not a native English speaker.
On Mon, Nov 16, 2009 at 6:57 PM, Jerome Velociter <[email protected]> wrote: > On 11/14/09 6:09 PM, Zhaolin Feng wrote: >> With the help of Sergiu Dumitriu, Marius Dumitru Florea, Jerome >> Velociter, Guillaume Lerouge, I finally struggled to create my first >> XWiki Macro. Thank you. >> >> http://code.xwiki.org/xwiki/bin/view/Macros/LightboxMacro > > Thanks for your contribution, Zhaolin. > > Please, help us make the documentation better. > For example, you could add a section about why one sometimes would need > $context.action != 'edit' when including a JSX on > http://platform.xwiki.org/xwiki/bin/view/DevGuide/WikiMacroTutorial, WDYT ? > > Regards, > Jerome. >> >> But the process is not without dramas. >> 1. The problem with {{velocity output="false"}} #if($context.action != >> 'edit') {//velocity}} >> 2. Especially, http://jira.xwiki.org/jira/browse/XWIKI-4591 >> >> I'm new to XWiki. The 2.0 syntax and velocity is great. But the >> documentation and tutorial is not enough. And there are some gottas. I >> lose two nights of sleep to the job :( >> >> I think it's better to write more documents. And so there will be >> lesser unhappy newbie developers like me. >> > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > -- -- Currahee! We stand alone together! _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

