Hi Kalle, On Feb 13, 2007, at 5:26 PM, Kalle Korhonen wrote:
Hello,
I'm new on this list, so forgive me for asking this, as I'm sure it's answered before (but couldn't find it in FAQ). It took me a long time to figure out how to create a link to the registration form, but finally found it in one bug report: $xwiki.getURL ("XWikiRegister", "register"). However, now if you put it in a href it works the first time after saving, but if you edit the same document in (in Wiki view) you see it's getting cut by the parser at the first double quote, like $xwiki.getURL(". Saving the document again understandably renders the link non-functional. Is there a proper way of doing this and/or is there a reason why I couldn't use single quotes instead of double quotes (as you would commonly circumvent the same problem in Javascript implementations).
Let me guess: you're using the WYSIWYG editor and you're using some "old" version of XWiki? :-) This bug should have been corrected in one of the betas. Using beta 3 (or beta 4 that we'll release tonight) should be alright (I couldn't reproduce your issue with it). Thanks -Vincent ___________________________________________________________________________ Yahoo! Mail r�invente le mail ! D�couvrez le nouveau Yahoo! Mail et son interface r�volutionnaire. http://fr.mail.yahoo.com