Hi Alex,
Great! Happy to hear that it is working now.
I did some further digging in the code.
Actually, Interwiki references are supported when using the "ref" attribute
iso "page" with the tag.
Some description.
This way you don't need the workaround with a jstl variable.
Unfortunately we ar
Kind times, Dirk!
That's work, thank you!
I hope everything will work as intended soon.
Thanks for your attention and great work!
On 2021/05/13 07:29:26, Dirk Frederickx wrote:
> Hello Alex,>
>
> Apologize for the wrong information!>
> I did some extra testing and found out that unfortunately
Hello Alex,
Apologize for the wrong information!
I did some extra testing and found out that unfortunately JSPWiki Tags do
not support Interwiki links today :-(
Definitely something to be fixed.
Can you try this:
PageName
Text
dirk
On Wed, May 12, 2021 at 9:42 AM Alex Ryd
Good morning, Dirk!
That is do not help for my situation.
jspwiki-custom.properties: jspwiki.interWikiRef.Portal =
https://mydomain.is?page=%s
Header.jsp: href="
Result: http://172.28.3.166:8080/currentwiki/Wiki.jsp?page=Portal%3Ahtml
I did add variable to template by type of 'FrontPage'
jsp
Try::
jspwiki-custom.properties: jspwiki.interWikiRef.Portal = https://mydomain.is
?page=%s
What is does: it replaces the %s by the name of the page in the wiki-link.
dirk
On Tue, May 11, 2021 at 5:09 PM Alex Rydzewski
wrote:
> Good day, Dirk!
>
> I make that:
>
> jspwiki-custom.properties: js
Good day, Dirk!
I make that:
jspwiki-custom.properties: jspwiki.interWikiRef.Portal = https://mydomain.is
Header.jsp: href=""
In result link is:
http://172.28.3.166:8080/currentwiki/Wiki.jsp?page=Portal%3Ahtml
Expected: http:/mydomain.is/html
On 2021/05/07 10:46:26, Dirk Frederickx wrote
Hi Alex
You need to use an interwiki-ref with a colon:
> href=""
Dirk
> On 7 May 2021, at 09:51, Alex Rydzewski wrote:
>
> Kind times, Dirk!
>
> Thank you for your explanation. However, I have problem even so.
>
> Add jspwiki.interWikiRef.Portal = https://mydomain.is to
> jspwiki-custo
Kind times, Dirk!
Thank you for your explanation. However, I have problem even so.
Add jspwiki.interWikiRef.Portal = https://mydomain.is to
jspwiki-custom.properties
In Header.jsp link specified: href="format='url' />"
In result link is http://172.28.3.166:8080/current/Wiki.jsp?page=Portal
Ex
Yes, you can use interwiki links also in your template code.
jspwiki.properties :
jspwiki.interWikiRef.Mayonaise = https://jspwiki.ru.Mayonaise?page=%s
In wiki-markup:
This is a link to the Mayonaise home-page : [Mayonaise:HomePage]
In a template you could do this
Mayonaise:HomePage
or
Link to
Hello, Dirk!
Do I can use that variable in template code?
On 2021/05/05 06:23:14, Dirk Frederickx wrote:
> Hi Alex>
>
> Tx for the additional information.>
>
> You may want to read about>
> https://jspwiki-wiki.apache.org/Wiki.jsp?page=InterWiki>
> which can facilitate establishing links betwe
Hi Alex
Tx for the additional information.
You may want to read about
https://jspwiki-wiki.apache.org/Wiki.jsp?page=InterWiki
which can facilitate establishing links between different wiki sites.
dirk
On Tue, May 4, 2021 at 10:56 PM Олександр Ридзевський <
rydzewski...@gmail.com> wrote:
> K
Kind times, Dirk!
I have one host with tomcat. In that tomcat I run several context
(several copy of) with jspwiki. Each instanse of jspwiki has own data
but use the one common template (modified haddock). In the template
header placed some image clicking by which need for me so that direct to
Hi Alex,
I probably don't fully understand your use-case.
It seems you need to use WikiVariables in your template JSP ...
Assume you would have following pages; containing the 'condiment' Wiki
Variable:
PAGE_1
[{SET condiment='mayonaise'}]
PAGE_2
[{SET condiment='pickles'}]
PAGE_3
[{SET
Bit more description. "Several context" mean tomcat context - several
jspwiki.
On 2021/04/29 08:27:56, Alex Rydzewski wrote:
> Thanks for your attentions, Dirk!>
>
> I have modified template which used by several context with own data. >
> Header.jsp contain logo click by which must open anothe
Thanks for your attentions, Dirk!
I have modified template which used by several context with own data.
Header.jsp contain logo click by which must open another internet page,
but the page different for each context.
I hope use variable that I could set for each context separately (like
the Co
Hi,
Can you describe a bit more in detail what you are trying to achieve?
dirk
On Wed, Apr 28, 2021 at 5:21 PM Alex Rydzewski
wrote:
> Good day!
>
> I did read the explanation
> https://jspwiki-wiki.apache.org/Wiki.jsp?page=WikiVariable and do not
> uderstand, how create custom variable for c
Good day!
I did read the explanation
https://jspwiki-wiki.apache.org/Wiki.jsp?page=WikiVariable and do not
uderstand, how create custom variable for context.
I needed variable, which will be contain link to another page different
for each context which placed in the wiki Header.
Tell me plea
17 matches
Mail list logo