[xwiki-users] Link with get parameters and ID in XWiki 2.0 syntax
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]] 2. What is correct syntax for link in the same page with some ID, e.g. for [[link to id>>#id]] Thanks! Valdis
On Aug 29, 2013, at 1:04 PM, Valdis Vītoliņš <valdis.vitolins@odo.lv> wrote:
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]]
2. What is correct syntax for link in the same page with some ID, e.g. for [[link to id>>#id]]
See http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks Thanks -Vincent
Good Morning! Exploring the extensions features in the xwiki.org site I found an interesting extension that could fit a big necessity in my company, the 'XWiki Publication Workflow Application'. http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publication+Workf... I download it by the extension manager in my XEM 5.1 but I could not launch it correctly. Trying to launch the extension I realized that the API of the plugin is missing. I think that it is the root cause of the problem. It is available in the github but I don't know how to compile. Anyone tried this extension successful? Thank you! Danilo
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
On Aug 29, 2013, at 1:04 PM, Valdis Vītoliņš <valdis.vitolins@odo.lv> wrote:
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]]
2. What is correct syntax for link in the same page with some ID, e.g. for [[link to id>>#id]]
See http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks
Thanks -Vincent
I looked at this, and provided samples in general follows to the rule: (reference) [?queryString] [#anchor] But it doesn't work. Valdis
Actually the real issue is that the dependency on the api module is not properly declared in the XAR extension itself. You can find the released files on http://maven.xwiki.org/releases/org/xwiki/contrib/workflow-publication/. On Thu, Aug 29, 2013 at 1:42 PM, Danilo Amaral de Oliveira <danilo.oliveira@energisa.com.br> wrote:
Good Morning!
Exploring the extensions features in the xwiki.org site I found an interesting extension that could fit a big necessity in my company, the 'XWiki Publication Workflow Application'. http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publication+Workf...
I download it by the extension manager in my XEM 5.1 but I could not launch it correctly. Trying to launch the extension I realized that the API of the plugin is missing. I think that it is the root cause of the problem. It is available in the github but I don't know how to compile. Anyone tried this extension successful?
Thank you! Danilo _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
Note that you can install any extension from the http://maven.xwiki.org/releases/ repository using "advanced search", in this case the id is org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api and indicate the version you want. On Thu, Aug 29, 2013 at 2:08 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Actually the real issue is that the dependency on the api module is not properly declared in the XAR extension itself.
You can find the released files on http://maven.xwiki.org/releases/org/xwiki/contrib/workflow-publication/.
On Thu, Aug 29, 2013 at 1:42 PM, Danilo Amaral de Oliveira <danilo.oliveira@energisa.com.br> wrote:
Good Morning!
Exploring the extensions features in the xwiki.org site I found an interesting extension that could fit a big necessity in my company, the 'XWiki Publication Workflow Application'. http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publication+Workf...
I download it by the extension manager in my XEM 5.1 but I could not launch it correctly. Trying to launch the extension I realized that the API of the plugin is missing. I think that it is the root cause of the problem. It is available in the github but I don't know how to compile. Anyone tried this extension successful?
Thank you! Danilo _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne
On Aug 29, 2013, at 2:06 PM, Valdis Vītoliņš <valdis.vitolins@odo.lv> wrote:
On Aug 29, 2013, at 1:04 PM, Valdis Vītoliņš <valdis.vitolins@odo.lv> wrote:
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]]
2. What is correct syntax for link in the same page with some ID, e.g. for [[link to id>>#id]]
See http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks
Thanks -Vincent
I looked at this, and provided samples in general follows to the rule: (reference) [?queryString] [#anchor]
But it doesn't work.
It does work… You need to use the correct syntax of course. Either 2.0 or 2.1. Thanks -Vincent
On Aug 29, 2013, at 2:02 PM, Clemens Klein-Robbenhaar <c.robbenhaar@espresto.com> 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.
It is documented, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks and specifically the section entitled "XWiki Syntax 2.1 Link Specification". What we are missing is a proper documentation of Syntax 2.1 and for this we need: http://jira.xwiki.org/browse/XWIKI-9176 We really need to work on that, we've been postponing it for too long now especially given that syntax 2.1 has been the default for a while... Thanks -Vincent
Clemens
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... Valdis
On Aug 29, 2013, at 2:36 PM, Valdis Vītoliņš <valdis.vitolins@odo.lv> 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
On 08/29/2013 02:20 PM, Vincent Massol wrote:
On Aug 29, 2013, at 2:02 PM, Clemens Klein-Robbenhaar <c.robbenhaar@espresto.com> wrote:
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.
It is documented, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks and specifically the section entitled "XWiki Syntax 2.1 Link Specification".
Well, who read the specs when there are examples ;) Seriously, I plan forgot about that, silly me.
What we are missing is a proper documentation of Syntax 2.1 and for this we need: http://jira.xwiki.org/browse/XWIKI-9176
We really need to work on that, we've been postponing it for too long now especially given that syntax 2.1 has been the default for a while...
This looks quite cool. In my 5.2-SNAP the tables are a bit too wide, the bullets in the list bounce along the left margin, and the translations of the title did not made it in the list of translation documents (indeed I could not find them in the import) but aside of that ... What is actually needed to finish this, aside of a few formatting things? Clemens
Hello Thomas, Thank you for the information. I tried to use the 'advanced search" with the following terms: Id: 'org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api' Version: '1.0.1' But the search returned 0 results. How can I install the api manually? Thank you Danilo -----Mensagem original----- De: users-bounces@xwiki.org [mailto:users-bounces@xwiki.org] Em nome de Thomas Mortagne Enviada em: quinta-feira, 29 de agosto de 2013 09:11 Para: XWiki Users Assunto: Re: [xwiki-users] XWiki Publication Workflow Application Note that you can install any extension from the http://maven.xwiki.org/releases/ repository using "advanced search", in this case the id is org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api and indicate the version you want. On Thu, Aug 29, 2013 at 2:08 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Actually the real issue is that the dependency on the api module is not properly declared in the XAR extension itself.
You can find the released files on http://maven.xwiki.org/releases/org/xwiki/contrib/workflow-publication/.
On Thu, Aug 29, 2013 at 1:42 PM, Danilo Amaral de Oliveira <danilo.oliveira@energisa.com.br> wrote:
Good Morning!
Exploring the extensions features in the xwiki.org site I found an interesting extension that could fit a big necessity in my company, the 'XWiki Publication Workflow Application'. http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publicatio n+Workflow+Application
I download it by the extension manager in my XEM 5.1 but I could not launch it correctly. Trying to launch the extension I realized that the API of the plugin is missing. I think that it is the root cause of the problem. It is available in the github but I don't know how to compile. Anyone tried this extension successful?
Thank you! Danilo _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
On Thu, Aug 29, 2013 at 3:53 PM, Danilo Amaral de Oliveira <danilo.oliveira@energisa.com.br> wrote:
Hello Thomas,
Thank you for the information. I tried to use the 'advanced search" with the following terms: Id: 'org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api' Version: '1.0.1'
I did the exact same thing and it properly found it. Are you sure your server has access to Internet (do you have any extension listed with empty standard search) ?
But the search returned 0 results.
How can I install the api manually?
You just need to put the jar file in "WEB-INF/lib" where XWiki application is installed.
Thank you Danilo -----Mensagem original----- De: users-bounces@xwiki.org [mailto:users-bounces@xwiki.org] Em nome de Thomas Mortagne Enviada em: quinta-feira, 29 de agosto de 2013 09:11 Para: XWiki Users Assunto: Re: [xwiki-users] XWiki Publication Workflow Application
Note that you can install any extension from the http://maven.xwiki.org/releases/ repository using "advanced search", in this case the id is org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api and indicate the version you want.
On Thu, Aug 29, 2013 at 2:08 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Actually the real issue is that the dependency on the api module is not properly declared in the XAR extension itself.
You can find the released files on http://maven.xwiki.org/releases/org/xwiki/contrib/workflow-publication/.
On Thu, Aug 29, 2013 at 1:42 PM, Danilo Amaral de Oliveira <danilo.oliveira@energisa.com.br> wrote:
Good Morning!
Exploring the extensions features in the xwiki.org site I found an interesting extension that could fit a big necessity in my company, the 'XWiki Publication Workflow Application'. http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publicatio n+Workflow+Application
I download it by the extension manager in my XEM 5.1 but I could not launch it correctly. Trying to launch the extension I realized that the API of the plugin is missing. I think that it is the root cause of the problem. It is available in the github but I don't know how to compile. Anyone tried this extension successful?
Thank you! Danilo _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ 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
-- Thomas Mortagne
Hello Thomas, Now, it worked... Strange... Well, I could install the extension! Great extension! I will do some customization to fit our necessities! So, thank you more one time Xwiki community! Bye. Danilo -----Mensagem original----- De: users-bounces@xwiki.org [mailto:users-bounces@xwiki.org] Em nome de Thomas Mortagne Enviada em: quinta-feira, 29 de agosto de 2013 11:27 Para: XWiki Users Assunto: Re: [xwiki-users] RES: XWiki Publication Workflow Application On Thu, Aug 29, 2013 at 3:53 PM, Danilo Amaral de Oliveira <danilo.oliveira@energisa.com.br> wrote:
Hello Thomas,
Thank you for the information. I tried to use the 'advanced search" with the following terms: Id: 'org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api' Version: '1.0.1'
I did the exact same thing and it properly found it. Are you sure your server has access to Internet (do you have any extension listed with empty standard search) ?
But the search returned 0 results.
How can I install the api manually?
You just need to put the jar file in "WEB-INF/lib" where XWiki application is installed.
Thank you Danilo -----Mensagem original----- De: users-bounces@xwiki.org [mailto:users-bounces@xwiki.org] Em nome de Thomas Mortagne Enviada em: quinta-feira, 29 de agosto de 2013 09:11 Para: XWiki Users Assunto: Re: [xwiki-users] XWiki Publication Workflow Application
Note that you can install any extension from the http://maven.xwiki.org/releases/ repository using "advanced search", in this case the id is org.xwiki.contrib.workflow-publication:xwiki-workflow-publication-api and indicate the version you want.
On Thu, Aug 29, 2013 at 2:08 PM, Thomas Mortagne <thomas.mortagne@xwiki.com> wrote:
Actually the real issue is that the dependency on the api module is not properly declared in the XAR extension itself.
You can find the released files on http://maven.xwiki.org/releases/org/xwiki/contrib/workflow-publication/.
On Thu, Aug 29, 2013 at 1:42 PM, Danilo Amaral de Oliveira <danilo.oliveira@energisa.com.br> wrote:
Good Morning!
Exploring the extensions features in the xwiki.org site I found an interesting extension that could fit a big necessity in my company, the 'XWiki Publication Workflow Application'. http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publicati o n+Workflow+Application
I download it by the extension manager in my XEM 5.1 but I could not launch it correctly. Trying to launch the extension I realized that the API of the plugin is missing. I think that it is the root cause of the problem. It is available in the github but I don't know how to compile. Anyone tried this extension successful?
Thank you! Danilo _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
-- Thomas Mortagne _______________________________________________ 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
-- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
On Aug 29, 2013, at 3:15 PM, Clemens Klein-Robbenhaar <c.robbenhaar@espresto.com> wrote:
On 08/29/2013 02:20 PM, Vincent Massol wrote:
On Aug 29, 2013, at 2:02 PM, Clemens Klein-Robbenhaar <c.robbenhaar@espresto.com> wrote:
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.
It is documented, see http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HLinks and specifically the section entitled "XWiki Syntax 2.1 Link Specification".
Well, who read the specs when there are examples ;)
yep, agreed.
Seriously, I plan forgot about that, silly me.
What we are missing is a proper documentation of Syntax 2.1 and for this we need: http://jira.xwiki.org/browse/XWIKI-9176
We really need to work on that, we've been postponing it for too long now especially given that syntax 2.1 has been the default for a while...
This looks quite cool. In my 5.2-SNAP the tables are a bit too wide, the bullets in the list bounce along the left margin, and the translations of the title did not made it in the list of translation documents (indeed I could not find them in the import) but aside of that ...
What is actually needed to finish this, aside of a few formatting things?
Fixing the code based on the comments in the jira issue (for example it has to pass the build, WCAG compliance is a must have). That's all. Interested to finish it? :) Thanks -Vincent
On 09/17/2013 04:40 PM, Vincent Massol wrote:
On Aug 29, 2013, at 3:15 PM, Clemens Klein-Robbenhaar <c.robbenhaar@espresto.com> wrote:
[...snip ...]
What is actually needed to finish this, aside of a few formatting things?
Fixing the code based on the comments in the jira issue (for example it has to pass the build, WCAG compliance is a must have).
That's all.
Interested to finish it? :)
Yes, definitely. I will be on vacation one week in October, then at latest I should find the time to look into this. Cheers, Clemens
Thanks -Vincent
On Sep 17, 2013, at 4:52 PM, Clemens Klein-Robbenhaar <c.robbenhaar@espresto.com> wrote:
On 09/17/2013 04:40 PM, Vincent Massol wrote:
On Aug 29, 2013, at 3:15 PM, Clemens Klein-Robbenhaar <c.robbenhaar@espresto.com> wrote:
[...snip ...]
What is actually needed to finish this, aside of a few formatting things?
Fixing the code based on the comments in the jira issue (for example it has to pass the build, WCAG compliance is a must have).
That's all.
Interested to finish it? :)
Yes, definitely. I will be on vacation one week in October, then at latest I should find the time to look into this.
Cool! Thanks -Vincent
On 09/17/2013 05:18 PM, Vincent Massol wrote:
On Sep 17, 2013, at 4:52 PM, Clemens Klein-Robbenhaar <c.robbenhaar@espresto.com> wrote:
On 09/17/2013 04:40 PM, Vincent Massol wrote:
On Aug 29, 2013, at 3:15 PM, Clemens Klein-Robbenhaar <c.robbenhaar@espresto.com> wrote:
[...snip ...]
What is actually needed to finish this, aside of a few formatting things?
Fixing the code based on the comments in the jira issue (for example it has to pass the build, WCAG compliance is a must have).
That's all.
Interested to finish it? :)
Yes, definitely. I will be on vacation one week in October, then at latest I should find the time to look into this.
Cool!
Well, I looked into it and already have a few questions. sorry ... WCAG Validation: Where is the WCAG test which makes the build fail? When I just run a mvn install inside the xwiki-platform-help-ui itself, this works. Do I have to make a full build to get the test running that would break now? Aside of that I have problems getting WCAG validity anyway. I tried the recommended online validation tool at http://www.webrichtlijnen.nl/english/testing but that complains that the page uses <tt>, and has several <h1> header ... well, they are part of the documentation showing how to type monospace and headers, so it is hard to avoid them except by leaving the out, which is kinda silly for a documentation; also they are already in the existing syntax help page, so it seems there is some way to avoid that which I do not know. Additionally there are a lot of duplicate id="H2.0" or the like in the full page, but this is how the proper syntax version is extracted from the document containing the relevant section. Similar to Johannes I am a bit lost how to avoid that, except for doing odd things like scrapping the header after rendering, or split the documentation into one document per section *and* syntax (would end up with somewhat 40 instead of 20 headers), or add separate "marker heading" to each and every section (the latter the somewhat best option imo) I see also some problem has been point out that the tables having width=100% However this is also the case with the existing syntax help; but for me they do more harm (making the tables with the examples shift below the left navigation), so I prefer scrap them all unless someone can tell me why they are there in the first place. Translations: There are a few new translations keys. Can I just add them to the ApplicationResources.properties? Additionally there are some existing translations of the complete document: http://l10n.xwiki.org/xwiki/bin/view/L10N/Search?application=&name=Platform.... How is it possible to split the content into documents and still make then show up on l10n? (I hope I can do the split in the *.xml files, even though I do not understand most languages, as I can go by the examples, but I have no idea how to sync the results with l10n.xwiki,org.) Finally, should I discuss these issues here in the list, or in jira or on the devs list instead? Any pointers would be very appreciated. Clemens
participants (6)
-
Clemens Klein-Robbenhaar -
Clemens Robbenhaar -
Danilo Amaral de Oliveira -
Thomas Mortagne -
Valdis Vītoliņš -
Vincent Massol