Re: [xwiki-users] Section in include macro fails

2016-04-11 Thread Matthias Barmeier

Hi,

Shame on me ! A colleague cross checked the documents and found a typo.
Everything works perfect now.

Ciao
Matze


Am 11.04.2016 um 09:26 schrieb Vincent Massol:

On 11 Apr 2016, at 09:20, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi,

The discussion leads me to checking other headings on the same page. They 
worked as expected.
The page is fairly big and I cannot publish the content of the pages because it 
contains confidential information.

Could you anonymize them or try to reproduce by keeping a similar structure in 
some other test page?

Thanks
-Vincent


I really appreciate your help, but unfortunately I cannot provide the 
information you asked for.

Thanks again.

Ciao
Matze

Am 08.04.2016 um 17:56 schrieb Vincent Massol:

You’re not answering my questions. I can’t help you more without the info I 
ask, sorry.

-Vincent


On 08 Apr 2016, at 17:04, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi,

take look at my previous posts:

this works:

[[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]


this not:

{{include reference="Synaptic.Technik.Konfigurationsdateien.WebHome" 
section="HFSS.properties"/}}


But I tried other headings and they worked. Strange ...

I will take a closer look at the page maybe something is corrupt.
Strange is that some headings above the FSS.properties heading work and some 
below work too but some of the headings on this page does not work.

Thanks fo your help :)

Ciao
Matze


Am 08.04.2016 um 16:53 schrieb Vincent Massol:

On 08 Apr 2016, at 16:28, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi,

this is really strange look at the error message the H is there :(

Could you provide the following info (same as what I provided in my previous 
reply):
- the content where you include the heading section
- the URL of the page containing the heading section to include
- the content of the page containing the heading section

Thanks
-Vincent


Ciao
Matze

Am 08.04.2016 um 09:36 schrieb Vincent Massol:

On 08 Apr 2016, at 09:33, Vincent Massol <vinc...@massol.net> wrote:



On 08 Apr 2016, at 09:29, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi Vincent,

from my point of view the addressed item is a heading. Page and section enytry 
(Source) to include:


= Synaptic File Synchronisation Service (FSS) =

== FFS.properties ==

Then all you’re missing is the “H” ;)

Actually you do have the “H”. I’ve tested it locally and it works fine for me 
(I’m on 8.1-SNAPSHOT too).

Here’s my link:

“
[[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]

{{include reference="Synaptic.Technik.Konfigurationsdateien.WebHome" 
section="HFFS.properties"/}}
"

Here’s the URL to the page:
http://localhost:8080/xwiki/bin/view/Synaptic/Technik/Konfigurationsdateien/

Here’s the content of that page:

“
zzdz

= Synaptic File Synchronisation Service (FSS) =

== FFS.properties ==

test
"

Thanks
-Vincent


See 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro#HParametersdefinition

Use view source of your browser to find the anchor name (just remove the # in 
front).

Thanks
-Vincent


In dieser Datei wird der File Synchonization Service (FSS) konfiguriert. Dieser 
ist für die Datei-Donwloads und die Weiterleitung der 
Datei-Download-Benachrichtigungen an die angeschlossenen Kind-Knoten zuständig.


This is a section or is a second level heading not a section ?

Ciao
Matze


Am 08.04.2016 um 09:22 schrieb Vincent Massol:

Hi Matthias,

The reason it doesn’t work is that right now the {{include}} Macro can only 
include Heading sections. I supposed you’re using the {{id}} macro to generate 
an anchor and that is not supported by the include macro right now.

If you check the documentation for the include macro you’ll see it says that 
section is to include a … section. A section in XWiki markup is the content 
that comes just after a Heading.

Including what comes after an anchor would be very complex and there would be 
no delimitation of beginning and end.

So to make it work on your side, you need to refactor your content to use a 
heading.

Thanks
-Vincent


On 08 Apr 2016, at 08:58, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi,

@Marius: No that does not work :(

Adding .WebHome leads to the same exception:

org.xwiki.rendering.macro.MacroExecutionException: Cannot find section 
[HFSS.properties] in document 
[produkte:Synaptic.Technik.Konfigurationsdateien.WebHome]
at 
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:197)
at 
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:55)
  

Re: [xwiki-users] Section in include macro fails

2016-04-11 Thread Matthias Barmeier

Hi,

The discussion leads me to checking other headings on the same page. 
They worked as expected.
The page is fairly big and I cannot publish the content of the pages 
because it contains confidential information.


I really appreciate your help, but unfortunately I cannot provide the 
information you asked for.


Thanks again.

Ciao
Matze

Am 08.04.2016 um 17:56 schrieb Vincent Massol:

You’re not answering my questions. I can’t help you more without the info I 
ask, sorry.

-Vincent


On 08 Apr 2016, at 17:04, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi,

take look at my previous posts:

this works:

[[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]


this not:

{{include reference="Synaptic.Technik.Konfigurationsdateien.WebHome" 
section="HFSS.properties"/}}


But I tried other headings and they worked. Strange ...

I will take a closer look at the page maybe something is corrupt.
Strange is that some headings above the FSS.properties heading work and some 
below work too but some of the headings on this page does not work.

Thanks fo your help :)

Ciao
Matze


Am 08.04.2016 um 16:53 schrieb Vincent Massol:

On 08 Apr 2016, at 16:28, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi,

this is really strange look at the error message the H is there :(

Could you provide the following info (same as what I provided in my previous 
reply):
- the content where you include the heading section
- the URL of the page containing the heading section to include
- the content of the page containing the heading section

Thanks
-Vincent


Ciao
Matze

Am 08.04.2016 um 09:36 schrieb Vincent Massol:

On 08 Apr 2016, at 09:33, Vincent Massol <vinc...@massol.net> wrote:



On 08 Apr 2016, at 09:29, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi Vincent,

from my point of view the addressed item is a heading. Page and section enytry 
(Source) to include:


= Synaptic File Synchronisation Service (FSS) =

== FFS.properties ==

Then all you’re missing is the “H” ;)

Actually you do have the “H”. I’ve tested it locally and it works fine for me 
(I’m on 8.1-SNAPSHOT too).

Here’s my link:

“
[[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]

{{include reference="Synaptic.Technik.Konfigurationsdateien.WebHome" 
section="HFFS.properties"/}}
"

Here’s the URL to the page:
http://localhost:8080/xwiki/bin/view/Synaptic/Technik/Konfigurationsdateien/

Here’s the content of that page:

“
zzdz

= Synaptic File Synchronisation Service (FSS) =

== FFS.properties ==

test
"

Thanks
-Vincent


See 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro#HParametersdefinition

Use view source of your browser to find the anchor name (just remove the # in 
front).

Thanks
-Vincent


In dieser Datei wird der File Synchonization Service (FSS) konfiguriert. Dieser 
ist für die Datei-Donwloads und die Weiterleitung der 
Datei-Download-Benachrichtigungen an die angeschlossenen Kind-Knoten zuständig.


This is a section or is a second level heading not a section ?

Ciao
Matze


Am 08.04.2016 um 09:22 schrieb Vincent Massol:

Hi Matthias,

The reason it doesn’t work is that right now the {{include}} Macro can only 
include Heading sections. I supposed you’re using the {{id}} macro to generate 
an anchor and that is not supported by the include macro right now.

If you check the documentation for the include macro you’ll see it says that 
section is to include a … section. A section in XWiki markup is the content 
that comes just after a Heading.

Including what comes after an anchor would be very complex and there would be 
no delimitation of beginning and end.

So to make it work on your side, you need to refactor your content to use a 
heading.

Thanks
-Vincent


On 08 Apr 2016, at 08:58, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi,

@Marius: No that does not work :(

Adding .WebHome leads to the same exception:

org.xwiki.rendering.macro.MacroExecutionException: Cannot find section 
[HFSS.properties] in document 
[produkte:Synaptic.Technik.Konfigurationsdateien.WebHome]
at 
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:197)
at 
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:55)
at 
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:272)
at 
org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at 
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
at 
org.xwiki.display.internal.DocumentContentDisplayer.di

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Matthias Barmeier

Hi,

take look at my previous posts:

this works:

[[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]


this not:

{{include reference="Synaptic.Technik.Konfigurationsdateien.WebHome" 
section="HFSS.properties"/}}


But I tried other headings and they worked. Strange ...

I will take a closer look at the page maybe something is corrupt.
Strange is that some headings above the FSS.properties heading work and 
some below work too but some of the headings on this page does not work.


Thanks fo your help :)

Ciao
Matze


Am 08.04.2016 um 16:53 schrieb Vincent Massol:

On 08 Apr 2016, at 16:28, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi,

this is really strange look at the error message the H is there :(

Could you provide the following info (same as what I provided in my previous 
reply):
- the content where you include the heading section
- the URL of the page containing the heading section to include
- the content of the page containing the heading section

Thanks
-Vincent


Ciao
Matze

Am 08.04.2016 um 09:36 schrieb Vincent Massol:

On 08 Apr 2016, at 09:33, Vincent Massol <vinc...@massol.net> wrote:



On 08 Apr 2016, at 09:29, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi Vincent,

from my point of view the addressed item is a heading. Page and section enytry 
(Source) to include:


= Synaptic File Synchronisation Service (FSS) =

== FFS.properties ==

Then all you’re missing is the “H” ;)

Actually you do have the “H”. I’ve tested it locally and it works fine for me 
(I’m on 8.1-SNAPSHOT too).

Here’s my link:

“
[[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]

{{include reference="Synaptic.Technik.Konfigurationsdateien.WebHome" 
section="HFFS.properties"/}}
"

Here’s the URL to the page:
http://localhost:8080/xwiki/bin/view/Synaptic/Technik/Konfigurationsdateien/

Here’s the content of that page:

“
zzdz

= Synaptic File Synchronisation Service (FSS) =

== FFS.properties ==

test
"

Thanks
-Vincent


See 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro#HParametersdefinition

Use view source of your browser to find the anchor name (just remove the # in 
front).

Thanks
-Vincent


In dieser Datei wird der File Synchonization Service (FSS) konfiguriert. Dieser 
ist für die Datei-Donwloads und die Weiterleitung der 
Datei-Download-Benachrichtigungen an die angeschlossenen Kind-Knoten zuständig.


This is a section or is a second level heading not a section ?

Ciao
Matze


Am 08.04.2016 um 09:22 schrieb Vincent Massol:

Hi Matthias,

The reason it doesn’t work is that right now the {{include}} Macro can only 
include Heading sections. I supposed you’re using the {{id}} macro to generate 
an anchor and that is not supported by the include macro right now.

If you check the documentation for the include macro you’ll see it says that 
section is to include a … section. A section in XWiki markup is the content 
that comes just after a Heading.

Including what comes after an anchor would be very complex and there would be 
no delimitation of beginning and end.

So to make it work on your side, you need to refactor your content to use a 
heading.

Thanks
-Vincent


On 08 Apr 2016, at 08:58, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi,

@Marius: No that does not work :(

Adding .WebHome leads to the same exception:

org.xwiki.rendering.macro.MacroExecutionException: Cannot find section 
[HFSS.properties] in document 
[produkte:Synaptic.Technik.Konfigurationsdateien.WebHome]
at 
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:197)
at 
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:55)
at 
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:272)
at 
org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at 
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:133)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:58)
at 
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)

Does anybody has another hint ?

I use XWiki Enterprise 8.1-milestone-1 assuming that this is a stable Version.

Ciao
   Matze

Am 07.04.2016 um 18:02 schrieb Marius Dumitru Florea:

On Thu, Apr 7, 2016 at 6:55 PM, Matthias Barmeier <
ma

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Matthias Barmeier

Hi,

this is really strange look at the error message the H is there :(

Ciao
Matze

Am 08.04.2016 um 09:36 schrieb Vincent Massol:

On 08 Apr 2016, at 09:33, Vincent Massol <vinc...@massol.net> wrote:



On 08 Apr 2016, at 09:29, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi Vincent,

from my point of view the addressed item is a heading. Page and section enytry 
(Source) to include:


= Synaptic File Synchronisation Service (FSS) =

== FFS.properties ==

Then all you’re missing is the “H” ;)

Actually you do have the “H”. I’ve tested it locally and it works fine for me 
(I’m on 8.1-SNAPSHOT too).

Here’s my link:

“
[[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]

{{include reference="Synaptic.Technik.Konfigurationsdateien.WebHome" 
section="HFFS.properties"/}}
"

Here’s the URL to the page:
http://localhost:8080/xwiki/bin/view/Synaptic/Technik/Konfigurationsdateien/

Here’s the content of that page:

“
zzdz

= Synaptic File Synchronisation Service (FSS) =

== FFS.properties ==

test
"

Thanks
-Vincent


See 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro#HParametersdefinition

Use view source of your browser to find the anchor name (just remove the # in 
front).

Thanks
-Vincent


In dieser Datei wird der File Synchonization Service (FSS) konfiguriert. Dieser 
ist für die Datei-Donwloads und die Weiterleitung der 
Datei-Download-Benachrichtigungen an die angeschlossenen Kind-Knoten zuständig.


This is a section or is a second level heading not a section ?

Ciao
Matze


Am 08.04.2016 um 09:22 schrieb Vincent Massol:

Hi Matthias,

The reason it doesn’t work is that right now the {{include}} Macro can only 
include Heading sections. I supposed you’re using the {{id}} macro to generate 
an anchor and that is not supported by the include macro right now.

If you check the documentation for the include macro you’ll see it says that 
section is to include a … section. A section in XWiki markup is the content 
that comes just after a Heading.

Including what comes after an anchor would be very complex and there would be 
no delimitation of beginning and end.

So to make it work on your side, you need to refactor your content to use a 
heading.

Thanks
-Vincent


On 08 Apr 2016, at 08:58, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi,

@Marius: No that does not work :(

Adding .WebHome leads to the same exception:

org.xwiki.rendering.macro.MacroExecutionException: Cannot find section 
[HFSS.properties] in document 
[produkte:Synaptic.Technik.Konfigurationsdateien.WebHome]
at 
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:197)
at 
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:55)
at 
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:272)
at 
org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at 
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:133)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:58)
at 
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)

Does anybody has another hint ?

I use XWiki Enterprise 8.1-milestone-1 assuming that this is a stable Version.

Ciao
   Matze

Am 07.04.2016 um 18:02 schrieb Marius Dumitru Florea:

On Thu, Apr 7, 2016 at 6:55 PM, Matthias Barmeier <
matthias.barme...@sourcepark.de> wrote:


Hi,

I try to embedd a table (in a section) from another wiki page. I tried to
use the include macro in the following form:

{{include reference="Synaptic.Technik.Konfigurationsdateien"}}

The whole document is embedded as expected. After adding the section
attribute:


{{include reference="Synaptic.Technik.Konfigurationsdateien"
section="HFSS.properties"/}}


Try with reference="Synaptic.Technik.Konfigurationsdateien.WebHome" . Does
it work? See http://jira.xwiki.org/browse/XWIKI-13066



I get:
Failed to execute the [include] macro. Cause: [Cannot find section
[HFSS.properties] in document
[produkte:Synaptic.Technik.Konfigurationsdateien]]. Click on this message
for details.

but the document contains the necessary heading.

This link works perfect when added to the document:

[[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]


The link reference is handled a bit dif

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Matthias Barmeier

Hi Vincent,

from my point of view the addressed item is a heading. Page and section 
enytry (Source) to include:



= Synaptic File Synchronisation Service (FSS) =

== FFS.properties ==

In dieser Datei wird der File Synchonization Service (FSS) konfiguriert. 
Dieser ist für die Datei-Donwloads und die Weiterleitung der 
Datei-Download-Benachrichtigungen an die angeschlossenen Kind-Knoten 
zuständig.



This is a section or is a second level heading not a section ?

Ciao
 Matze


Am 08.04.2016 um 09:22 schrieb Vincent Massol:

Hi Matthias,

The reason it doesn’t work is that right now the {{include}} Macro can only 
include Heading sections. I supposed you’re using the {{id}} macro to generate 
an anchor and that is not supported by the include macro right now.

If you check the documentation for the include macro you’ll see it says that 
section is to include a … section. A section in XWiki markup is the content 
that comes just after a Heading.

Including what comes after an anchor would be very complex and there would be 
no delimitation of beginning and end.

So to make it work on your side, you need to refactor your content to use a 
heading.

Thanks
-Vincent


On 08 Apr 2016, at 08:58, Matthias Barmeier <matthias.barme...@sourcepark.de> 
wrote:

Hi,

@Marius: No that does not work :(

Adding .WebHome leads to the same exception:

org.xwiki.rendering.macro.MacroExecutionException: Cannot find section 
[HFSS.properties] in document 
[produkte:Synaptic.Technik.Konfigurationsdateien.WebHome]
at 
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:197)
at 
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:55)
at 
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:272)
at 
org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at 
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:133)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:58)
at 
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)

Does anybody has another hint ?

I use XWiki Enterprise 8.1-milestone-1 assuming that this is a stable Version.

Ciao
Matze

Am 07.04.2016 um 18:02 schrieb Marius Dumitru Florea:

On Thu, Apr 7, 2016 at 6:55 PM, Matthias Barmeier <
matthias.barme...@sourcepark.de> wrote:


Hi,

I try to embedd a table (in a section) from another wiki page. I tried to
use the include macro in the following form:

{{include reference="Synaptic.Technik.Konfigurationsdateien"}}

The whole document is embedded as expected. After adding the section
attribute:


{{include reference="Synaptic.Technik.Konfigurationsdateien"
section="HFSS.properties"/}}


Try with reference="Synaptic.Technik.Konfigurationsdateien.WebHome" . Does
it work? See http://jira.xwiki.org/browse/XWIKI-13066



I get:
Failed to execute the [include] macro. Cause: [Cannot find section
[HFSS.properties] in document
[produkte:Synaptic.Technik.Konfigurationsdateien]]. Click on this message
for details.

but the document contains the necessary heading.

This link works perfect when added to the document:

[[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]


The link reference is handled a bit differently (for the moment) than the
include reference. See
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki80#HLinksyntaximprovementsforNestedPages

Hope this helps,
Marius



Can any body give me a hint what is wrong ?

Thanks.

Ciao

  Matthias
___
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

--
-------
SOURCEPARK GmbH

Dipl.-Inform. Matthias Barmeier
Geschäftsführer

Partner der Allianz für Cyber-Sicherheit
des Bundesamtes für Sicherheit in der
Informationstechnik (BSI)

Hohenzollerndamm 150
14199 Berlin

Tel:+49 (0)30/398 068 30
Fax:+49 (0)30/398 068 39
e-mail: matthias.barme...@sourcepark.de
WWW:www.sourcepark.de
---
Sitz der Gesellschaft: Berlin
Handelsregister: Amtsgericht Berlin-Charlottenburg, HRB 80254
Geschäftsführer: Matthias Barmeier, Harald Dürr
---

Wichtiger Hinweis: Die vorgenannten Angaben werden jeder

Re: [xwiki-users] Section in include macro fails

2016-04-08 Thread Matthias Barmeier

Hi,

@Marius: No that does not work :(

Adding .WebHome leads to the same exception:

org.xwiki.rendering.macro.MacroExecutionException: Cannot find section 
[HFSS.properties] in document 
[produkte:Synaptic.Technik.Konfigurationsdateien.WebHome]
at 
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:197)
at 
org.xwiki.rendering.internal.macro.include.IncludeMacro.execute(IncludeMacro.java:55)
at 
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:272)
at 
org.xwiki.rendering.internal.transformation.DefaultRenderingContext.transformInContext(DefaultRenderingContext.java:183)
at 
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:95)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:263)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:133)
at 
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:58)
at 
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:96)

Does anybody has another hint ?

I use XWiki Enterprise 8.1-milestone-1 assuming that this is a stable 
Version.


Ciao
Matze

Am 07.04.2016 um 18:02 schrieb Marius Dumitru Florea:

On Thu, Apr 7, 2016 at 6:55 PM, Matthias Barmeier <
matthias.barme...@sourcepark.de> wrote:


Hi,

I try to embedd a table (in a section) from another wiki page. I tried to
use the include macro in the following form:

{{include reference="Synaptic.Technik.Konfigurationsdateien"}}

The whole document is embedded as expected. After adding the section
attribute:


{{include reference="Synaptic.Technik.Konfigurationsdateien"
section="HFSS.properties"/}}


Try with reference="Synaptic.Technik.Konfigurationsdateien.WebHome" . Does
it work? See http://jira.xwiki.org/browse/XWIKI-13066



I get:
Failed to execute the [include] macro. Cause: [Cannot find section
[HFSS.properties] in document
[produkte:Synaptic.Technik.Konfigurationsdateien]]. Click on this message
for details.

but the document contains the necessary heading.

This link works perfect when added to the document:




[[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]


The link reference is handled a bit differently (for the moment) than the
include reference. See
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki80#HLinksyntaximprovementsforNestedPages

Hope this helps,
Marius



Can any body give me a hint what is wrong ?

Thanks.

Ciao

  Matthias
___
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


--
---
SOURCEPARK GmbH

Dipl.-Inform. Matthias Barmeier
Geschäftsführer

Partner der Allianz für Cyber-Sicherheit
des Bundesamtes für Sicherheit in der
Informationstechnik (BSI)

Hohenzollerndamm 150
14199 Berlin

Tel:+49 (0)30/398 068 30
Fax:+49 (0)30/398 068 39
e-mail: matthias.barme...@sourcepark.de
WWW:www.sourcepark.de
---
Sitz der Gesellschaft: Berlin
Handelsregister: Amtsgericht Berlin-Charlottenburg, HRB 80254
Geschäftsführer: Matthias Barmeier, Harald Dürr
---

Wichtiger Hinweis: Die vorgenannten Angaben werden jeder
E-Mail automatisch hinzugefügt und lassen keine Rückschlüsse
auf den Rechtscharakter der E-Mail zu.

Diese E-Mail kann vertrauliche und/oder rechtlich geschützte
Informationen enthalten. Wenn Sie nicht der richtige Adressat
sind oder diese E-Mail irrtümlich erhalten haben, informieren
Sie bitte sofort den Absender und vernichten Sie diese E-Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe
dieser E-Mail ist nicht gestattet.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Section in include macro fails

2016-04-07 Thread Matthias Barmeier

Hi,

I try to embedd a table (in a section) from another wiki page. I tried 
to use the include macro in the following form:


{{include reference="Synaptic.Technik.Konfigurationsdateien"}}

The whole document is embedded as expected. After adding the section 
attribute:


{{include reference="Synaptic.Technik.Konfigurationsdateien" 
section="HFSS.properties"/}}


I get:
Failed to execute the [include] macro. Cause: [Cannot find section 
[HFSS.properties] in document 
[produkte:Synaptic.Technik.Konfigurationsdateien]]. Click on this 
message for details.


but the document contains the necessary heading.

This link works perfect when added to the document:
[[/etc/smd/config/FSS.properties>>Synaptic.Technik.Konfigurationsdateien||anchor="HFFS.properties"]]

Can any body give me a hint what is wrong ?

Thanks.

Ciao

 Matthias
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users