Re: [xwiki-users] Including and excluding linked text with tags

2013-12-06 Thread Guillaume Lerouge
Hi Tapio,

unfortunately I don't see any "easy" solution for your use case. You could
indeed try to have a velocity macro to achieve this:

{{velocity}}
#if($doc.space == "SomeValue")
display line
#end
{{/velocity}}

But it will complicated to maintain for all your content.

Best,

Guillaume

On Tue, Nov 19, 2013 at 12:19 PM, Tapio Seppälä
wrote:

> Hi all,
>
> I've been looking for a long time a solution how to exclude some text from
> the source, when linked to another page, but haven't found it yet.
>
> We use XWiki as base of our help system for several applications. There are
> a lots of common topics which have the same, or almost the same content on
> each application help. So we built 'mother' pages of help which each and
> other different applications help then are using by linking to them. Header
> based tagging (we use XWiki syntax 2.1) is very user friendly for this
> purpose. The problem is, there are slight variations in the content of the
> text here and there between the applications.
>
> An example:
>
> There is a page explaining some settings of an application containing some
> 200 rows of text. Most, but not all of the rows are the same. I might then
> like to do something like include the whole page in app #1 help, excluding
> only rows 33, 52 and 55 from the page, but include them still to some other
> app's help, and so on...
>
> I imagine the above could be done with some smart tags, macros and links,
> but as I am not a developer, so I can't do that and haven't found a
> solution. A few years ago we used syntax 1.0, and if I remember right,
> there
> was a possibility to include e.g. a sentence with tags, but not to exclude
> anything inside the linked part of the text.
>
> It is very irritating to copy and paste large amounts of text to different
> pages with only slight differences between them. And then again, when the
> 'root' text has some change, e.g. a setting common to all apps changes, you
> have go and edit each of the pages created with copy-paste. This could be
> avoided if there was a way to include and exclude tagged text other than
> just between the headings.
>
> ---
>
> best regards
>
> Tapio Seppala
>
> P.S. Congratulations for the 10-year old!
>
> ___
> 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


Re: [xwiki-users] [SOLVED] Annotations not available

2013-12-06 Thread Patrick Masson

Eduard,

Thanks for all you help, the restart worked. It was actually perfect 
timing with the 5.2.2 release we were able to upgrade and address the 
annotations at the same time.


Thanks for all your help here.
Patrick

On 12/06/2013 03:02 AM, Eduard Moraru wrote:

Hi,

In an effort to catch all these issues, please try this script
http://extensions.xwiki.org/xwiki/bin/view/Extension/Give+Programming+Rights+To+Spaceand
grant PR to the entire AnnotationCode space.

Worst case scenario, if this does not work either (after clearing your
browser`s cache), try a restart of XWiki (the webapp or even the web app
container). There clearly is an issue with PR or JSX/SSX registration that
I have experienced in the past as well. Perhaps the restart will force a
proper registration.

In either case, you`re very close to making it work. You`re just left with
the CSS(SSX) of the application (AnnotationCode.Style) not loading, that is
why stuff is not displayed properly (as I`ve explained in my previous mail)
:)

-Eduard


On Fri, Dec 6, 2013 at 12:43 AM, Patrick Masson wrote:


Eduard,

Well I'm sorry I've exhausted you. I sent my previous email before seeing
this one. I, as Admin, have tried to re-save

http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Style

But the Annotations are still not working as expected.

I'll try poking around again tomorrow.

Thanks for all your help,
Patrick



On 12/05/2013 04:52 PM, Eduard Moraru wrote:


Hi Patrick,

Wanting to go to bed, I checked your site and you seem to have resaved the
page I`ve asked you to: AnnotationCode.Script. This seems to have had the
right effect of enabling the Annotations javascript and now the
Annotations
button seems to show up. That is great.

However, I see that there are problems in displaying the Annotations box
that pops up when pressing the Annotations button (plus there is no icon
for the Annotations button). This means that you need to re-save (with the
Admin user which has PR) another page which handles the styling of the
Annotations application. This page is:
http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Style

Once you handle this step as well, you should be good and the Annotations
app should be running well. Just remember to refresh your browser`s cache
after you resave the Style page. Select some text in a page (where you
have
some content, of course), press CTRL+M and the annotation popup should
appear asking you to comment on the selected piece of text.

Hope this helped,
Eduard



On Thu, Dec 5, 2013 at 11:06 PM, Eduard Moraru 
wrote:

  Hi,

On Thu, Dec 5, 2013 at 9:31 PM, Patrick Masson 
wrote:

Eduard,

Thanks but sadly this did not resolve the issue. Here is what I did:


  About the annotations tab. You might have used "Look & Feel > Page
Elements


Document metadata visibility > Show document annotations". That
option is
there only for backwards compatibility reasons and should not be used
unless you have a custom annotations class that is different from
XWiki.XWikiComment. If you don't have a custom annotation class, make


sure


to leave it set to "No" as default.


1. Logged in as wiki admin
2. Went to "Administration » Look & Feel » Page Elements"
3. Set the following,
"Show document annotations" to "No"
"Show document comments" to "---"
"Show document attachments" to "---"
"Show document history" to "---"
"Show document information" to "---"
4. Clicked "Save"
5. Went to "Administration » Applications » Annotations"
6. Set the following:
"Annotations are activated" to "Yes"
"Except for the following spaces" [NONE SELECTED]
"Display annotations by default" to "Yes"
"Display annotations highlight by default" to "Yes"
"XWiki class defining annotations structure" to "XWiki.XWikiComments"
7. Clicked "Save"


  First of all, to make sure the annotations application is loaded

properly
and working, you need to see the "Annotations" button on the right
side of
"Edit", "Export" and "More Actions":


The Annotations button does not show up. See:
http://wiki.opensource.org/xwiki/bin/view/Sandbox/WebHome

  If that does not show up, then there is a problem with the extension's

JSX
not loading up. You might need to resave the page
"AnnotationCode.Script"
**with Programming Rights** (generally, as the main wiki's Admin).


I am not sure how to find the page "AnnotationCode.Script".

  Whenever we mention a page name in XWiki in the form

SomeSpace.SomePage,
that page can be located by going to the URL: http://
:/xwiki/bin/view/SomeSpace/SomePage
In your case, the page I was referring to is:
http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Script

Please try to resave that page as Admin (with PR) and then refresh your
browser`s cache (CTRL+F5 if using Firefox, for example).

Does this make the Annotations button show up?

Cheers,
Eduard


I did find

http://wiki.opensource.org/xwiki/bin/view/Admin/CheckProgrammingRights
I also checked and both my Admin account and the group that account is
in
(XWikiAdmin

Re: [xwiki-users] Flashing the H.L.P. of the Mastermind

2013-12-06 Thread Guillaume Lerouge
Hi Karima,

I think you need to contact the guys at AscTec:
http://www.asctec.de/services-en/Contact/

Right now you're on the XWiki mailing lists, which is the software used to
power Asctec's wiki. We have no relationship with AscTec.

Good luck,

Guillaume

On Fri, Dec 6, 2013 at 3:32 PM, Karima Benzaid wrote:

> Hello,
>
> I'm using the AscTec SDK V3.0 under Windows7 (with Eclipse environement)
> downloaded from AscTec SDK Download Wiki page (
> http://wiki.asctec.de/xwiki/bin/view/AscTec+Development+Tools/SDK+Downloads).
> I'm trying to flash the HLP of the Mastermind (with JTAG adapter) to test
> the "SDK_EXAMPLE_gps_waypoint_control". When running OpenOCD Asctec-JTAG,
> the console shows only the line:
> Info:openocd.c:92 main(): Open On-Chip Debugger (2007-08-10 22:30 CEST)
> which means that the JTAG connection is activated correctly. But when
> debugging Asctec JTAG Debug, I get the following error:
>
>
> 'Launching Asctec JTAG Debug' has encountered a problem.
> Error creating session
>
> Details in attachments.
>
> I'm trying to fix this error since the last week. I re-installed
> everything many times, I evenused another pc (windows7). But I still get
> the same error.
>
> Where doesthe error come from? How to deal with this problem to get the
> code on the H.L.P correctly?
>
> Best regards,
>
> Karima BENZAID
> ___
> 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


[xwiki-users] Flashing the H.L.P. of the Mastermind

2013-12-06 Thread Karima Benzaid
Hello,

I'm using the AscTec SDK V3.0 under Windows7 (with Eclipse environement) 
downloaded from AscTec SDK Download Wiki page 
(http://wiki.asctec.de/xwiki/bin/view/AscTec+Development+Tools/SDK+Downloads). 
I'm trying to flash the HLP of the Mastermind (with JTAG adapter) to test the 
"SDK_EXAMPLE_gps_waypoint_control". When running OpenOCD Asctec-JTAG, the 
console shows only the line:
Info:    openocd.c:92 main(): Open On-Chip Debugger (2007-08-10 22:30 CEST)
which means that the JTAG connection is activated correctly. But when debugging 
Asctec JTAG Debug, I get the following error: 


'Launching Asctec JTAG Debug' has encountered a problem.
Error creating session

Details in attachments.

I'm trying to fix this error since the last week. I re-installed everything 
many times, I evenused another pc (windows7). But I still get the same error.

Where doesthe error come from? How to deal with this problem to get the code on 
the H.L.P correctly?

Best regards,

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


[xwiki-users] [ANN] XWiki 5.2.2 released

2013-12-06 Thread vinc...@massol.net
The XWiki development team is proud to announce the availability of XWiki 5.2.2.

This is a bugfix release for 5.2 and 5.2.1. We highly recommend to upgrade.

You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download 
(please allow a few hours for the binaries to propagate to the download servers 
if the download doesn't work yet)

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki522

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Annotations not available

2013-12-06 Thread Eduard Moraru
Hi,

In an effort to catch all these issues, please try this script
http://extensions.xwiki.org/xwiki/bin/view/Extension/Give+Programming+Rights+To+Spaceand
grant PR to the entire AnnotationCode space.

Worst case scenario, if this does not work either (after clearing your
browser`s cache), try a restart of XWiki (the webapp or even the web app
container). There clearly is an issue with PR or JSX/SSX registration that
I have experienced in the past as well. Perhaps the restart will force a
proper registration.

In either case, you`re very close to making it work. You`re just left with
the CSS(SSX) of the application (AnnotationCode.Style) not loading, that is
why stuff is not displayed properly (as I`ve explained in my previous mail)
:)

-Eduard


On Fri, Dec 6, 2013 at 12:43 AM, Patrick Masson wrote:

> Eduard,
>
> Well I'm sorry I've exhausted you. I sent my previous email before seeing
> this one. I, as Admin, have tried to re-save
>
> http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Style
>
> But the Annotations are still not working as expected.
>
> I'll try poking around again tomorrow.
>
> Thanks for all your help,
> Patrick
>
>
>
> On 12/05/2013 04:52 PM, Eduard Moraru wrote:
>
>> Hi Patrick,
>>
>> Wanting to go to bed, I checked your site and you seem to have resaved the
>> page I`ve asked you to: AnnotationCode.Script. This seems to have had the
>> right effect of enabling the Annotations javascript and now the
>> Annotations
>> button seems to show up. That is great.
>>
>> However, I see that there are problems in displaying the Annotations box
>> that pops up when pressing the Annotations button (plus there is no icon
>> for the Annotations button). This means that you need to re-save (with the
>> Admin user which has PR) another page which handles the styling of the
>> Annotations application. This page is:
>> http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Style
>>
>> Once you handle this step as well, you should be good and the Annotations
>> app should be running well. Just remember to refresh your browser`s cache
>> after you resave the Style page. Select some text in a page (where you
>> have
>> some content, of course), press CTRL+M and the annotation popup should
>> appear asking you to comment on the selected piece of text.
>>
>> Hope this helped,
>> Eduard
>>
>>
>>
>> On Thu, Dec 5, 2013 at 11:06 PM, Eduard Moraru 
>> wrote:
>>
>>  Hi,
>>>
>>> On Thu, Dec 5, 2013 at 9:31 PM, Patrick Masson >> >wrote:
>>>
>>>Eduard,

 Thanks but sadly this did not resolve the issue. Here is what I did:


  About the annotations tab. You might have used "Look & Feel > Page
>
 Elements

> Document metadata visibility > Show document annotations". That
>>
> option is

> there only for backwards compatibility reasons and should not be used
> unless you have a custom annotations class that is different from
> XWiki.XWikiComment. If you don't have a custom annotation class, make
>
 sure

> to leave it set to "No" as default.
>
 1. Logged in as wiki admin
 2. Went to "Administration » Look & Feel » Page Elements"
 3. Set the following,
 "Show document annotations" to "No"
 "Show document comments" to "---"
 "Show document attachments" to "---"
 "Show document history" to "---"
 "Show document information" to "---"
 4. Clicked "Save"
 5. Went to "Administration » Applications » Annotations"
 6. Set the following:
 "Annotations are activated" to "Yes"
 "Except for the following spaces" [NONE SELECTED]
 "Display annotations by default" to "Yes"
 "Display annotations highlight by default" to "Yes"
 "XWiki class defining annotations structure" to "XWiki.XWikiComments"
 7. Clicked "Save"


  First of all, to make sure the annotations application is loaded
> properly
> and working, you need to see the "Annotations" button on the right
> side of
> "Edit", "Export" and "More Actions":
>
 The Annotations button does not show up. See:
 http://wiki.opensource.org/xwiki/bin/view/Sandbox/WebHome

  If that does not show up, then there is a problem with the extension's
> JSX
> not loading up. You might need to resave the page
> "AnnotationCode.Script"
> **with Programming Rights** (generally, as the main wiki's Admin).
>
 I am not sure how to find the page "AnnotationCode.Script".

  Whenever we mention a page name in XWiki in the form
>>> SomeSpace.SomePage,
>>> that page can be located by going to the URL: http://
>>> :/xwiki/bin/view/SomeSpace/SomePage
>>> In your case, the page I was referring to is:
>>> http://wiki.opensource.org/xwiki/bin/view/AnnotationCode/Script
>>>
>>> Please try to resave that page as Admin (with PR) and then refresh your
>>> browser`s cache (CTRL+F5 if using Firefox, for example).
>>>
>>> Does this make the Annotations button show up?
>>>
>>> Cheers,