On 7 Jan 2015 at 19:23:44, Pascal BASTIEN ([email protected](mailto:[email protected])) wrote:
I'm looking for a simpliest way without velocity but your answer working well: {{velocity}} [[Panels.TagCloud>>path:$xwiki.getURL("Panels.TagCloud",'edit','editor=inline')]] {{/velocity}}
Anyway, it is strange than this URL below working well except for inline mode: [[Panels.TagCloud||queryString="xpage=edit&editor=wiki"]] open directly the target in edit mode and wiki editor [[Panels.TagCloud||queryString="xpage=edit&editor=wysiwyg"]] [[Panels.TagCloud||queryString="xpage=edit&editor=rights"]] [[Panels.TagCloud||queryString="xpage=edit&editor=object"]] [[Panels.TagCloud||queryString="xpage=edit&editor=class"]]
These will generate a URL with the “view” action! For example: http://.../xwiki/bin/view/Space/Page And not an edit action as in: http://.../xwiki/bin/edit/Space/Page See also http://jira.xwiki.org/browse/XRENDERING-22 Thanks -Vincent
[[Panels.TagCloud||queryString="xpage=edit&editor=inline"]] doesn't work.
Thxs anyway.
De : "[email protected]" À : XWiki Users Cc : Pascal BASTIEN Envoyé le : Mercredi 7 janvier 2015 18h44 Objet : Re: [xwiki-users] Howto include a link to a page in edit mode+inline mode
Hi Pascal,
Not sure I understand your question but you can use the following syntax:
[[label>>path:…]]
for example:
{{velocity}} [[label>>path:$xwiki.getURL(…)]] {{/velocity}}
Thanks -Vincent
On 7 Jan 2015 at 18:40:19, Pascal BASTIEN ([email protected](mailto:[email protected])) wrote:
Hello, Is it possible to include a link to a page in edit mode WITH inline editor rather than view mode without using the full URL? I applied this answer XWiki- Users - Link to page in edit mode without using full url? but unfortunaly it doesn't work for inline editor :-((xpage=edit&editor=inline)
Thxs Pascal B