On Aug 29, 2013, at 2:36 PM, Valdis Vītoliņš <[email protected]> wrote:
Hi Valdis,
1. What is correct syntax to add get parameters in link e.g. correct way for [[link with get params>>Main.test?xpage=plain&outputSyntax=plain]]
This works as given in 2.0 syntax for me.
In 2.1 syntax the following works:
[[link with get params>>Main.test||queryString="xpage=plain&outputSyntax=plain"]]
2. What is correct syntax for link in the same page with some ID, e.g. for [[link to id>>#id]]
works for me in 2.0
in 2.1:
[[link to id>>PageName||anchor="id"]]
I vaguely feel the current syntax help page could be enhanced a bit by telling which attributes after the '||' have a special meaning (mostly the "queryString" as far as I know), and which ones are just HTML attributes.
Clemens
Thanks, that works! I tried to update http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax but I didn't have neither page edit nor comment permissions with my (valdisvi) profile…
Yep you cannot :) This page is autogenerated, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?viewer=code What you can do is send a pull request for https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwik... What do you wish to change? Thanks -Vincent