Re: [xwiki-users] [xwiki-devs] [ANN] New XWiki forum: https://discourse.xwiki.org

2017-05-16 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
[[Note: The XWiki project is switching away from this mailing list and moving 
to a forum: https://discourse.xwiki.org. This list will be made readonly in a 
few days. Please post on the forum from now on. Thanks.]]

-
Great! Please, should we be able to log in by using an existing xwiki.org
account?

Thanks!

On Tue, May 16, 2017 at 2:23 PM Thomas Mortagne <thomas.morta...@xwiki.com>
wrote:

> [[Note: The XWiki project is switching away from this mailing list and
> moving to a forum: https://discourse.xwiki.org. This list will be made
> readonly in a few days. Please post on the forum from now on. Thanks.]]
>
> -
> Note that mails sent by Discourse are still associated to
> discourse.xwiki.org, probably something to change on Discourse setup.
>
> On Tue, May 16, 2017 at 11:51 AM, Vincent Massol <vinc...@massol.net>
> wrote:
> >
> >> On 15 May 2017, at 18:07, Vincent Massol <vinc...@massol.net> wrote:
> >>
> >> Hi,
> >>
> >> We have a certificate problem for https://forum.xwiki.org so please
> use https://discourse.xwiki.org FTM.
> >>
> >> Seems that we’re hitting a limitation of Let’sEncrypt since a
> certificate is generated for a unique domain name.
> >
> > ok the certificate problem has been solved and you can now use
> https://forum.xwiki.org
> >
> > Thanks
> > -Vincent
> >
> >> Thanks and sorry for the trouble
> >> -Vincent
> >>
> >>> On 15 May 2017, at 17:32, Vincent Massol <vinc...@massol.net> wrote:
> >>>
> >>> And we now have this alias too which is more neutral and probably
> better to use:
> >>>
> >>> https://forum.xwiki.org
> >>>
> >>> Thanks
> >>> -Vincent
> >>>
> >>>> On 15 May 2017, at 17:09, Vincent Massol <vinc...@massol.net> wrote:
> >>>>
> >>>> Hi XWiki users,
> >>>>
> >>>> In order to make it simpler and more modern for users to participate
> to XWiki discussions, we’ve set up a new forum based on Discourse:
> >>>>
> >>>> https://discourse.xwiki.org
> >>>>
> >>>> Please start using it instead of the XWiki User Mailing list. This
> mailing list will become read only in a few days so please start moving to
> the forum ASAP.
> >>>>
> >>>> Note that you can subscribe to receive all forum posts as email
> notifications if you wish (it’s configurable in your user profile). Also
> note that for the moment it’s not possible to reply to the mails (we’re
> still trying to configure this).
> >>>>
> >>>> We hope that you’ll appreciate this move :)
> >>>>
> >>>> Thanks
> >>>> -Vincent
> >>>>
> >>>> PS: For the moment the XWiki Devs mailing list remains. It’s possible
> that it could be moved to a forum too in the future but nothing is decided
> and we’re migrating the users list first.
> >>>>
> >>>
> >>
> >
>
>
>
> --
> Thomas Mortagne
>
-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


Re: [xwiki-users] Redeploy the XWiki webapp ?

2017-03-15 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi!

On Wed, Mar 15, 2017 at 12:05 AM Douglas Landau <dougl...@westmarine.com>
wrote:

> Greets,
>
> The LDAP Authenticator extension webpage says
> "Unlike editing xwiki.cfg, which requires you to redeploy the XWiki
> webapp, ..."
>
> How does one redeploy the app?
>

The most straigthforward way is by restarting your application server.
Tomcat?


>
> Thanks
> Doug
>
>
Greetings


>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru
> Florea
> Sent: Tuesday, March 14, 2017 3:11 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] CKEditor and Lightbox Macro Issue
>
> On Tue, Mar 14, 2017 at 4:57 PM, Mahomed Hussein <maho...@custodiandc.com>
> wrote:
>
> > Hi
> >
> > We’ve come across a slight issue with the Lightbox macro when using
> > CKEditor 1.12. I thought I’d post to the group before logging it on Jira.
> >
> > Basically, the issue is that when you go into CKEditor, the Macro
> > encompasses all the text that follows it [1]. I have marked up all the
> > images so please look at them as it should make it easier to see what
> > I mean. Looking at the source, it appears that the closing DIV for the
> > macro is being put at the end of all the following content [2].
> >
> >
>
> > If you then go into Source view, it deletes all the text after the
> > lightbox macro [3]. If you edit using the original Wiki editor, you
> > can see all the text is there correctly [4]
> >
>
> This sounds like http://jira.xwiki.org/browse/CKEDITOR-131 and the
> problem (see my comment to the linked issue) is probably that the LightBox
> Macro generates invalid HTML. It may look good in view mode, but usually
> that is because the browser fixes the invalid HTML on the fly. And this
> fixing on the fly messes up the macro rendering markers. Of course, the
> rendering markers should be made more robust, but that requires more
> changes. The easies solution is to make sure the macro generates valid HTML
> (e.g all tags are properly closed so that the browser doesn't have to close
> the DIV itself).
>
> Hope this helps,
> Marius
>
>
> >
> > You can put in a terrible workaround (this was more an experiment than
> > a solution to be honest) by going into Wiki edit mode, and adding 2
> > extra line breaks and a closing DIV tag inside the HTML tags [5]. This
> > then allows CKEditor to render correctly and you can view/edit the
> > content after the light box without any issues. [6]. Sadly this isn’t
> > a solution and I hope someone can help with a proper solution.
> >
> > It seems to me that this is something that needs changing in CKEditor,
> > rather than in the Lightbox Macro as rendering of the images and
> > lightbox is fine when viewing the documents, and it seems the Macro JS
> > code does not get executed when editing in CKEditor.
> >
> > Please let me know if you need any other info and I hope someone can
> help.
> > Thanks.
> >
> >
> > [1] - http://pasteboard.co/JljtnBA9U.png
> > [2] - http://pasteboard.co/JlFkCTN8k.png
> > [3] - http://pasteboard.co/JlG6J0k5E.png
> > [4] - http://pasteboard.co/JlGsIdGZK.png
> > [5] - http://pasteboard.co/JlHgakjs2.png
> > [6] - http://pasteboard.co/JlHCxvOC8.png
> >
> >
> >
> > Kind regards,
> >
> >
> > Mahomed Hussein
> > Custodian Data Centre
> > Email: maho...@custodiandc.com
> > http://www.CustodianDC.com
> >
>
> The information contained in this transmission may contain West Marine
> proprietary, confidential and/or privileged
> information.  It is intended only for the use of the person(s) named
> above. If you are not the intended recipient, you are
> hereby notified that any review, dissemination, distribution or
> duplication of this communication is strictly prohibited.
> If you are not the intended recipient, please contact the sender by reply
> email and destroy all copies of the original
> message. To reply to our email administrator directly, please send an
> email to netad...@westmarine.com.
>
-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


Re: [xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating with systemctl

2017-03-09 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi, Douglas!

On Thu, Mar 9, 2017 at 8:05 PM Douglas Landau <dougl...@westmarine.com>
wrote:

> Thanks.   Sorry to continue with the dumb questions, but that said,:
> - I see that I don't have the ability to run Tomcat as myself, having
> installed it as root and not changed any permissions.I spose that most
> people create a new, local, user "xwiki" or "tomcat_user", and install and
> run the software as that user?
> - Do most people run Tomcat or something else?
> - Do most people install Xwiki from WAR or using the standalone?
>

I don't think your question is a dumb question but, in fact, it is not a
single question! I do think you are doing a mega-mix!

People run a lot of different combination of OS, application server, web
server and databases. Our production servers run older versions than your,
but I do think our installation could be an example. Here you have some
links that were usefull for me more than two years ago...

http://atriumkm.idisantiago.es/bin/ICT/InstallingTomcat

I think I remember last two comments dated on 2014/08/04 09:22 and 2014/11/29
08:56 were the ones leading us to the configuration of our current Tomcat
installation running two XWiki instances: a plain old XWiki Enterprise
2.4.30451 and a newer XWiki Enterprise 7.3 one.

I'm now solving several issues with a brand new XWiki 9.2.2 on Tomcat
9.0.0.M17 and MySQL; in this case on a Mac OS X box.

That's why I'm really interested in understanding your issue!

Please, don't forget to read more than ten times the XWiki pages related
with the installation on the container you have choosen and make comments
and send question about their contents!


> Thinkin I should start over ..
>

Cheers!


>
> -Original Message-
> From: users [mailto:users-boun...@xwiki.org] On Behalf Of Thomas Mortagne
> Sent: Wednesday, March 08, 2017 11:47 PM
> To: XWiki Users
> Subject: Re: [xwiki-users] Stopping Xwiki-8.4.3/Tomcat-9.0 and integrating
> with systemctl
>
> On Thu, Mar 9, 2017 at 12:11 AM, Douglas Landau <dougl...@westmarine.com>
> wrote:
> >
> >>One more tip: you actually shouldn't run Tomcat as root, this could get
> messy pretty fast.
> > Thanks!
> >
> > - In fact I installed Tomcat and xwiki as root.  I guess someone else
> should own the files?
>
> > - I would like to run tomcat/xwiki on port 80.  Do I need to run as root
> to do that?  Do I need to set up some privsep user such that it starts as
> root and then SU's to a lesser user, like ssh does?
>
> It's indeed possible Tomcat require root to use port 80. At least on
> Linux. Usually what most people do is put Apache on Nginx in front of
> Tomcat on port 80 and keep Tomcat on port 8080.
>
> >
> > Thx again.
> > Doug
> >
> >
> >
> > --
> > View this message in context:
> > http://xwiki.475771.n2.nabble.com/Stopping-Xwiki-8-4-3-Tomcat-9-0-and-
> > integrating-with-systemctl-tp7602905p7602907.html
> > Sent from the XWiki- Users mailing list archive at Nabble.com.
> >
> > The information contained in this transmission may contain West Marine
> > proprietary, confidential and/or privileged
> >
> > information.  It is intended only for the use of the person(s) named
> > above. If you are not the intended recipient, you are
> >
> > hereby notified that any review, dissemination, distribution or
> duplication of this communication is strictly prohibited.
> >
> > If you are not the intended recipient, please contact the sender by
> > reply email and destroy all copies of the original
> >
> > message. To reply to our email administrator directly, please send an
> email to netad...@westmarine.com.
>
>
>
> --
> Thomas Mortagne
>
> The information contained in this transmission may contain West Marine
> proprietary, confidential and/or privileged
> information.  It is intended only for the use of the person(s) named
> above. If you are not the intended recipient, you are
> hereby notified that any review, dissemination, distribution or
> duplication of this communication is strictly prohibited.
> If you are not the intended recipient, please contact the sender by reply
> email and destroy all copies of the original
> message. To reply to our email administrator directly, please send an
> email to netad...@westmarine.com.
>
-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


Re: [xwiki-users] Groovy equivalents to Velocity examples

2017-02-27 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi Vincent! Thanks for your answer!

On Sun, Feb 26, 2017 at 8:28 PM Vincent Massol <vinc...@massol.net> wrote:

> Hi Ricardo,
>
> > On 26 Feb 2017, at 13:49, [IDIS Technical Secretariat] Ricardo Rodríguez
> <ricardo.rodrig...@idisantiago.es> wrote:
> >
> > Thanks, Vincent!
> >
> > On Mon, Feb 20, 2017 at 1:28 PM Vincent Massol <vinc...@massol.net>
> wrote:
> >
> >> Hi Ricardo,
> >>
> >>> On 15 Feb 2017, at 09:02, [IDIS Technical Secretariat] Ricardo
> Rodríguez
> >> <ricardo.rodrig...@idisantiago.es> wrote:
> >>>
> >>> Hi! After many years surviving with Velocity scripts, it is time to
> enjoy
> >>> Groovy's magic! :-)
> >>
> >> Great! :)
> >>
> >>> Both XWiki sites and the web, in general, are crowded with sites/pages
> >> with
> >>> plenty of Groovy tutorials and manuals, but it would be great to have
> >> some
> >>> simple examples to helping understand the similarities and differences
> >>> between Velocity and Groovy.
> >>>
> >>> Please, is there any XWiki resource explaining, for instance, how to
> >>> achieve the same results shown in these sections by using Groovy?
> >>
> >> There’s this doc that you may or may not have seen already:
> >> http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting
> >>
> >> Please check in this doc the limitations of using groovy (programming
> >> rights).
> >>
> >> It’s easy to convert a velocity script in groovy in general since the
> >> bindings are the same and all the API calls are actually calls on java
> >> objects and thus are the same from all scripting languages.
> >>
> >> Let us know if you have specific questions
> >>
> >
> > There is one line here...
> >
> > http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide
> >
> > ... that is making me nuts! This one...
> >
> > SomeSpace.SomeClass[0] : field1 = "$rawValue"
> >
> > I've been not able to make it work, whereas other syntaxes do. Here some
> > "life" Groovy examples
> >
> > http://portal.idisantiago.es/xwiki/bin/view/ICT/Groovy/
>
> These 2 lines seem wrong:
>
> objsAuthors = doc.getObjects('XWiki.XWikiComments').author
> objsAuthor = doc.getObjects('XWiki.XWikiComments')[2].author
>
>
I can understand your explanation but, if these lines are wrong, why these
are working?

http://portal.idisantiago.es/xwiki/bin/view/ICT/Groovy/

I'm not sure where I'm lost... :-(

Thanks!



> doc.getObjects() will return a List of objects (i.e. several), and there’s
> no getAuthor() or get(‘author’) API on a Vector or List…
>
> If you want to iterate you need to:
>
> doc.getObjects('XWiki.XWikiComments’).each() {
>   def author = it.get(‘author’)
>   println “* ${author}"
> }
>
> I think the error is that in Velocity the call:
>
> $doc.getObjects('XWiki.XWikiComments')[2].author is a shortcut and the
> real call is:
>
> $doc.getObjects('XWiki.XWikiComments')[2].get(‘author’)
>
> See
> http://velocity.apache.org/engine/1.7/user-guide.html#property-lookup-rules
>
> This doesn’t exist in Groovy so you need to write get(‘author’).
>
> Thanks
> -Vincent
>
>
>
> >
> > Please, how that line does work?
> >
> > Thank you very much!
> >
> > Ricardo
> >
> >
> >>
> >> Thanks
> >> -Vincent
> >>
> >>>
> >>
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsinapage
> >>>
> >>>
> >>
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsfromanypageandloopoverallobjectsofsameClass
> >>>
> >>> Thanks for your help!
> >>>
> >>> Ricardo
> >>> --
> >>> Ricardo Rodríguez
> >>> Research Management and Promotion Technician
> >>> Technical Secretariat
> >>> Health Research Institute of Santiago de Compostela (IDIS)
> >>> http://www.idisantiago.es
> >>
> >> --
> > Ricardo Rodríguez
> > Research Management and Promotion Technician
> > Technical Secretariat
> > Health Research Institute of Santiago de Compostela (IDIS)
> > http://www.idisantiago.es
>
> --
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


Re: [xwiki-users] Groovy equivalents to Velocity examples

2017-02-26 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Thanks, Vincent!

On Mon, Feb 20, 2017 at 1:28 PM Vincent Massol <vinc...@massol.net> wrote:

> Hi Ricardo,
>
> > On 15 Feb 2017, at 09:02, [IDIS Technical Secretariat] Ricardo Rodríguez
> <ricardo.rodrig...@idisantiago.es> wrote:
> >
> > Hi! After many years surviving with Velocity scripts, it is time to enjoy
> > Groovy's magic! :-)
>
> Great! :)
>
> > Both XWiki sites and the web, in general, are crowded with sites/pages
> with
> > plenty of Groovy tutorials and manuals, but it would be great to have
> some
> > simple examples to helping understand the similarities and differences
> > between Velocity and Groovy.
> >
> > Please, is there any XWiki resource explaining, for instance, how to
> > achieve the same results shown in these sections by using Groovy?
>
> There’s this doc that you may or may not have seen already:
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/Scripting
>
> Please check in this doc the limitations of using groovy (programming
> rights).
>
> It’s easy to convert a velocity script in groovy in general since the
> bindings are the same and all the API calls are actually calls on java
> objects and thus are the same from all scripting languages.
>
> Let us know if you have specific questions
>

There is one line here...

http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide

... that is making me nuts! This one...

SomeSpace.SomeClass[0] : field1 = "$rawValue"

I've been not able to make it work, whereas other syntaxes do. Here some
"life" Groovy examples

http://portal.idisantiago.es/xwiki/bin/view/ICT/Groovy/

Please, how that line does work?

Thank you very much!

Ricardo


>
> Thanks
> -Vincent
>
> >
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsinapage
> >
> >
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsfromanypageandloopoverallobjectsofsameClass
> >
> > Thanks for your help!
> >
> > Ricardo
> > --
> > Ricardo Rodríguez
> > Research Management and Promotion Technician
> > Technical Secretariat
> > Health Research Institute of Santiago de Compostela (IDIS)
> > http://www.idisantiago.es
>
> --
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


[xwiki-users] Groovy equivalents to Velocity examples

2017-02-15 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi! After many years surviving with Velocity scripts, it is time to enjoy
Groovy's magic! :-)

Both XWiki sites and the web, in general, are crowded with sites/pages with
plenty of Groovy tutorials and manuals, but it would be great to have some
simple examples to helping understand the similarities and differences
between Velocity and Groovy.

Please, is there any XWiki resource explaining, for instance, how to
achieve the same results shown in these sections by using Groovy?

http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsinapage

http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsfromanypageandloopoverallobjectsofsameClass

Thanks for your help!

Ricardo
-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


Re: [xwiki-users] jodatime challenge

2017-01-20 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi!

On Fri, Jan 20, 2017 at 9:06 AM Vincent Massol <vinc...@massol.net> wrote:

> Hi,
>
> > On 20 Jan 2017, at 08:27, [IDIS Technical Secretariat] Ricardo Rodríguez
> <ricardo.rodrig...@idisantiago.es> wrote:
> >
> > Hi! The same code works fine in an XWiki 7.3 installation...
> >
> > http://portal.idisantiago.es/xwiki/bin/view/ICT/PureDate/
> >
> > Thus, "my" problem is to find where ComparisonDateTool is located in this
> > installation and make it works in a legacy XWiki Enterprise 2.4.30451
> one.
>
> Wow XE 2.4 is really old...
>
> I don’t remember if the $datetool binding was available and it’s possible
> that it wasn’t.
>

I'm afraid I don't understand this. I see that velocity-tools-1.4.jar
included with XE 2.4 includes DateComparisonTools, as it
does velocity-tools-2.0.jar included with XE 7.3. I've replaced both in XE
2.4 with those in XE 7.3 and restarted the container to no avail. DateTool
methods work, but ComparisonDateTool don't.

http://atriumkm.idisantiago.es/bin/ICT/PureDate

I think I don't understand what binding does mean and how could I implement
it.

Have I any option of getting these methods working in my legacy XE 2.4
installation? I do need to do some date comparisons to show several pieces
of information!

Thanks for your help!


>
> FYI it’s located in a java class in the xwiki-velocity*.jar file.
>
> Thanks
> -Vincent
>
> >
> > Any help will be welcome! Thank!
> >
> > On Thu, Jan 19, 2017 at 11:41 PM [IDIS Technical Secretariat] Ricardo
> > Rodríguez <ricardo.rodrig...@idisantiago.es> wrote:
> >
> >> Hi! I've been these last days trying to regain access to an ancient
> issue
> >> while dealing with dates. Searching Jira I found this...
> >>
> >> http://jira.xwiki.org/browse/XWIKI-5610?jql=text%20~%20%22datetool%22
> >>
> >> ... and this at XWiki Platforma site...
> >>
> >> http://platform.xwiki.org/xwiki/bin/view/SRD/datetool
> >>
> >> To the best of my understanding ComparisonDateTool is implemented and
> >> accessible through $datetool velocity variable. But I'm not able to get
> it
> >> working.
> >>
> >> On Thu, Jan 19, 2017 at 3:54 PM Hamster <teun...@hotmail.com> wrote:
> >>
> >> Have you checked the documentation for the  DateTool
> >> <
> >>
> https://velocity.apache.org/tools/devel/apidocs/org/apache/velocity/tools/generic/DateTool.html
> >>>
> >> and the  ComparisonDateTool
> >> <
> >>
> https://velocity.apache.org/tools/devel/apidocs/org/apache/velocity/tools/generic/ComparisonDateTool.html
> >>>
> >> ?
> >>
> >>
> >> Please, check this page...
> >>
> >> http://atriumkm.idisantiago.es/bin/ICT/PureDate
> >>
> >> I'm able to get working the examples at DateTool page, but not those at
> >> ComparisonDateTool page. Please, could anybody point us in the right
> >> direction? Where are we failing?
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://xwiki.475771.n2.nabble.com/jodatime-challenge-tp7602468p7602489.html
> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >>
> >>
> >> Thank you very much for your work!
> >>
> >> Ricardo
> >> --
> >> Ricardo Rodríguez
> >> Research Management and Promotion Technician
> >> Technical Secretariat
> >> Health Research Institute of Santiago de Compostela (IDIS)
> >> http://www.idisantiago.es
> >>
> > --
> > Ricardo Rodríguez
> > Research Management and Promotion Technician
> > Technical Secretariat
> > Health Research Institute of Santiago de Compostela (IDIS)
> > http://www.idisantiago.es
>
> --
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


Re: [xwiki-users] jodatime challenge

2017-01-20 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi Gerritjan!

Please, allow me to follow this thread to initiate my understanding about
how to deal with date within XWiki! It seems to me that, at least, I'm
missing some basic concept!

On Fri, Jan 20, 2017 at 10:44 AM Gerritjan Koekkoek <gerrit...@cdlsworld.org>
wrote:

> Reading the documentation of the XWiki JoDaTime module (XWiki services
> based)  I feel it holds a lot of value next to $datetool and
> $datecomparisontool (velocity based)
>
>
> But I fail to understand the documentation
>
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Joda+Time+Plugin
>
>
> As the examples are quite easy to read they did not clarify me enough to
> just use date-values stored in XWiki XObjectProperties of type date
>
>
> What default format does the property deliver; Should I use
> $doc.Display(date-property)? , $doc.Display(date-property).value() or
> $object.getProperty(date-property)
>

I've also added a date property to XWikiUsers class, populated it for a
bunch of users by editing objects and using the format described at
creation time and I'm not able to read it. $doc.Display(date-property)
reads something which is shown as an empty string, thus, nothing is shown,
and the the other two string area shown as is, thus they are interpreted as
text strings and are reading nothing from any object property!


>
> What I understand from JoDaTime is that it is great to render dates in
> 'view' mode in the internationally localized format (Dutch Notation vs
> English Notation), but when I switch to 'edit' mode how can I have a
> DateWidget understands that format
>
>
> So my simple question was to calculate the age based on a date-property in
> a wiki object and Now?
>

I've played a bit with those JoDaTime example and do this...

http://portal.idisantiago.es/xwiki/bin/viewrev/ICT/PureTime/WebHome?rev=14.1

And I'm not happy with this as I'm still 51 years old! My birthday will be
next Sunday and my XWiki installation is set to System Default Timezone.
Please, anybody could explain me why XWiki is telling me that I'm already
52 year old? :-( Please, what am I missing?

Thank you so much!



>
>
> Gerritjan Koekkoek
> Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
> Visit our website<http://www.cdlsworld.org>
> Facebook<https://www.facebook.com/gerritjan.koekkoek>
> email<gerrit...@cdlsworld.org>
>
>
>
> 
> From: users <users-boun...@xwiki.org> on behalf of [IDIS Technical
> Secretariat] Ricardo Rodríguez <ricardo.rodrig...@idisantiago.es>
> Sent: 20 January 2017 09:36:05
> To: XWiki Users
> Subject: Re: [xwiki-users] jodatime challenge
>
> Thanks Vincent!
>
> On Fri, Jan 20, 2017 at 9:06 AM Vincent Massol <vinc...@massol.net> wrote:
>
> > Hi,
> >
> > > On 20 Jan 2017, at 08:27, [IDIS Technical Secretariat] Ricardo
> Rodríguez
> > <ricardo.rodrig...@idisantiago.es> wrote:
> > >
> > > Hi! The same code works fine in an XWiki 7.3 installation...
> > >
> > > http://portal.idisantiago.es/xwiki/bin/view/ICT/PureDate/
> > >
> > > Thus, "my" problem is to find where ComparisonDateTool is located in
> this
> > > installation and make it works in a legacy XWiki Enterprise 2.4.30451
> > one.
> >
> > Wow XE 2.4 is really old...
> >
> > I don’t remember if the $datetool binding was available and it’s possible
> > that it wasn’t.
> >
> > FYI it’s located in a java class in the xwiki-velocity*.jar file.
> >
> >
> Yes, XE 2.4 is really a paleoXWiki installation! But it is still solving
> some problems to me here! That pending migration is still a pending
> migration/upgrade... Some notes on this issue in comments here...
>
> http://atriumkm.idisantiago.es/bin/ICT/PureDate
>
> I'll give it a try ASAP!
>
> Cheers!
>
>
> > Thanks
> > -Vincent
> >
> > >
> > > Any help will be welcome! Thank!
> > >
> > > On Thu, Jan 19, 2017 at 11:41 PM [IDIS Technical Secretariat] Ricardo
> > > Rodríguez <ricardo.rodrig...@idisantiago.es> wrote:
> > >
> > >> Hi! I've been these last days trying to regain access to an ancient
> > issue
> > >> while dealing with dates. Searching Jira I found this...
> > >>
> > >> http://jira.xwiki.org/browse/XWIKI-5610?jql=text%20~%20%22datetool%22
> > >>
> > >> ... and this at XWiki Platforma site...
> > >>
> > >> http://platform.xwiki.org/xwiki/bin/view/SRD/datetool
> > >>
> > >> To the best of my understanding ComparisonDateTool is implemented and
> > >> accessibl

Re: [xwiki-users] jodatime challenge

2017-01-20 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Thanks Vincent!

On Fri, Jan 20, 2017 at 9:06 AM Vincent Massol <vinc...@massol.net> wrote:

> Hi,
>
> > On 20 Jan 2017, at 08:27, [IDIS Technical Secretariat] Ricardo Rodríguez
> <ricardo.rodrig...@idisantiago.es> wrote:
> >
> > Hi! The same code works fine in an XWiki 7.3 installation...
> >
> > http://portal.idisantiago.es/xwiki/bin/view/ICT/PureDate/
> >
> > Thus, "my" problem is to find where ComparisonDateTool is located in this
> > installation and make it works in a legacy XWiki Enterprise 2.4.30451
> one.
>
> Wow XE 2.4 is really old...
>
> I don’t remember if the $datetool binding was available and it’s possible
> that it wasn’t.
>
> FYI it’s located in a java class in the xwiki-velocity*.jar file.
>
>
Yes, XE 2.4 is really a paleoXWiki installation! But it is still solving
some problems to me here! That pending migration is still a pending
migration/upgrade... Some notes on this issue in comments here...

http://atriumkm.idisantiago.es/bin/ICT/PureDate

I'll give it a try ASAP!

Cheers!


> Thanks
> -Vincent
>
> >
> > Any help will be welcome! Thank!
> >
> > On Thu, Jan 19, 2017 at 11:41 PM [IDIS Technical Secretariat] Ricardo
> > Rodríguez <ricardo.rodrig...@idisantiago.es> wrote:
> >
> >> Hi! I've been these last days trying to regain access to an ancient
> issue
> >> while dealing with dates. Searching Jira I found this...
> >>
> >> http://jira.xwiki.org/browse/XWIKI-5610?jql=text%20~%20%22datetool%22
> >>
> >> ... and this at XWiki Platforma site...
> >>
> >> http://platform.xwiki.org/xwiki/bin/view/SRD/datetool
> >>
> >> To the best of my understanding ComparisonDateTool is implemented and
> >> accessible through $datetool velocity variable. But I'm not able to get
> it
> >> working.
> >>
> >> On Thu, Jan 19, 2017 at 3:54 PM Hamster <teun...@hotmail.com> wrote:
> >>
> >> Have you checked the documentation for the  DateTool
> >> <
> >>
> https://velocity.apache.org/tools/devel/apidocs/org/apache/velocity/tools/generic/DateTool.html
> >>>
> >> and the  ComparisonDateTool
> >> <
> >>
> https://velocity.apache.org/tools/devel/apidocs/org/apache/velocity/tools/generic/ComparisonDateTool.html
> >>>
> >> ?
> >>
> >>
> >> Please, check this page...
> >>
> >> http://atriumkm.idisantiago.es/bin/ICT/PureDate
> >>
> >> I'm able to get working the examples at DateTool page, but not those at
> >> ComparisonDateTool page. Please, could anybody point us in the right
> >> direction? Where are we failing?
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://xwiki.475771.n2.nabble.com/jodatime-challenge-tp7602468p7602489.html
> >> Sent from the XWiki- Users mailing list archive at Nabble.com.
> >>
> >>
> >> Thank you very much for your work!
> >>
> >> Ricardo
> >> --
> >> Ricardo Rodríguez
> >> Research Management and Promotion Technician
> >> Technical Secretariat
> >> Health Research Institute of Santiago de Compostela (IDIS)
> >> http://www.idisantiago.es
> >>
> > --
> > Ricardo Rodríguez
> > Research Management and Promotion Technician
> > Technical Secretariat
> > Health Research Institute of Santiago de Compostela (IDIS)
> > http://www.idisantiago.es
>
> --
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


Re: [xwiki-users] jodatime challenge

2017-01-19 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi! The same code works fine in an XWiki 7.3 installation...

http://portal.idisantiago.es/xwiki/bin/view/ICT/PureDate/

Thus, "my" problem is to find where ComparisonDateTool is located in this
installation and make it works in a legacy XWiki Enterprise 2.4.30451 one.

Any help will be welcome! Thank!

On Thu, Jan 19, 2017 at 11:41 PM [IDIS Technical Secretariat] Ricardo
Rodríguez <ricardo.rodrig...@idisantiago.es> wrote:

> Hi! I've been these last days trying to regain access to an ancient issue
> while dealing with dates. Searching Jira I found this...
>
> http://jira.xwiki.org/browse/XWIKI-5610?jql=text%20~%20%22datetool%22
>
> ... and this at XWiki Platforma site...
>
> http://platform.xwiki.org/xwiki/bin/view/SRD/datetool
>
> To the best of my understanding ComparisonDateTool is implemented and
> accessible through $datetool velocity variable. But I'm not able to get it
> working.
>
> On Thu, Jan 19, 2017 at 3:54 PM Hamster <teun...@hotmail.com> wrote:
>
> Have you checked the documentation for the  DateTool
> <
> https://velocity.apache.org/tools/devel/apidocs/org/apache/velocity/tools/generic/DateTool.html
> >
> and the  ComparisonDateTool
> <
> https://velocity.apache.org/tools/devel/apidocs/org/apache/velocity/tools/generic/ComparisonDateTool.html
> >
> ?
>
>
> Please, check this page...
>
> http://atriumkm.idisantiago.es/bin/ICT/PureDate
>
> I'm able to get working the examples at DateTool page, but not those at
> ComparisonDateTool page. Please, could anybody point us in the right
> direction? Where are we failing?
>
>
> --
> View this message in context:
> http://xwiki.475771.n2.nabble.com/jodatime-challenge-tp7602468p7602489.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
>
> Thank you very much for your work!
>
> Ricardo
> --
> Ricardo Rodríguez
> Research Management and Promotion Technician
> Technical Secretariat
> Health Research Institute of Santiago de Compostela (IDIS)
> http://www.idisantiago.es
>
-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


Re: [xwiki-users] jodatime challenge

2017-01-19 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi! I've been these last days trying to regain access to an ancient issue
while dealing with dates. Searching Jira I found this...

http://jira.xwiki.org/browse/XWIKI-5610?jql=text%20~%20%22datetool%22

... and this at XWiki Platforma site...

http://platform.xwiki.org/xwiki/bin/view/SRD/datetool

To the best of my understanding ComparisonDateTool is implemented and
accessible through $datetool velocity variable. But I'm not able to get it
working.

On Thu, Jan 19, 2017 at 3:54 PM Hamster <teun...@hotmail.com> wrote:

Have you checked the documentation for the  DateTool
<
https://velocity.apache.org/tools/devel/apidocs/org/apache/velocity/tools/generic/DateTool.html
>
and the  ComparisonDateTool
<
https://velocity.apache.org/tools/devel/apidocs/org/apache/velocity/tools/generic/ComparisonDateTool.html
>
?


Please, check this page...

http://atriumkm.idisantiago.es/bin/ICT/PureDate

I'm able to get working the examples at DateTool page, but not those at
ComparisonDateTool page. Please, could anybody point us in the right
direction? Where are we failing?


--
View this message in context:
http://xwiki.475771.n2.nabble.com/jodatime-challenge-tp7602468p7602489.html
Sent from the XWiki- Users mailing list archive at Nabble.com.


Thank you very much for your work!

Ricardo
-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


[xwiki-users] query on all comments of a document

2016-12-14 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi! I happily use comments to add somehow structured information to
documents. The most frequent case is to add new "tagged" attributes to
documents holding instances of the XWiki.XWikiUsers class. I'm sure there
must be better ways of doing that, but I've had no time yet to go deeper
into them, and I keep surviving that way.

What I'm not able to do is to select a set of documents not containing a
given string in any of the instances of XWiki.XWikiComments. Doing this...

select doc.fullName from Document as doc, doc.object(XWiki.XWikiComments)
as note where doc.parent like '%XWikiIDIS%' and length(doc.parent)=19 and
doc.parent not like '%Area%' and doc.parent not like '%Committee%' and
doc.parent not like '%Metagroup%' and doc.name not like '%Evidences%' and
doc.name not like '%OI' and doc.parent not like '%DirectionBoard%' and
doc.translation = 0 and note.comment not like '%IDIS Group Leader%' order
by doc.parent"

I get as many entries of each document as comments not containing '%IDIS
Group Leader%' are held by that document. But, please, how could I get one
entry for each document not containing that string in any of its comments?

Thanks for your help!

-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es


Re: [xwiki-users] Livetable and conditional CSS/visual guides

2016-08-19 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Thanks! Once again impressed for all the good work done and for how people
contribute to this joint effort! And I failed again at looking at the right
site! Sorry for that and thanks for the point! I'm working with it!

Cheers!


On Fri, Aug 19, 2016 at 12:48 PM Marius Dumitru Florea <
mariusdumitru.flo...@xwiki.com> wrote:

> Hi Ricardo,
>
> Maybe this can help
>
> http://snippets.xwiki.org/xwiki/bin/view/Extension/Background+color+for+a+livetable
> .
>
> On Fri, Aug 19, 2016 at 1:43 PM, [IDIS Technical Secretariat] Ricardo
> Rodríguez <ricardo.rodrig...@idisantiago.es> wrote:
>
> > Hi!
> >
> > I've managed to devote some time to understand how Livetable does work.
> > Nice feature! It has been there since the very XWiki beginnings and only
> > now I started to feel the power of that macro!
> >
> > I needed some time to understand how the table data source is generated,
> > but I think I can now more or less manage this point. What I would like
> to
> > do now is to customize rows' appearance depending on cells contents. For
> > instance, change background color when cells' content match a given
> > string/value. Something like this...
> >
> > http://goo.gl/alW3SU
> >
> > I don't know to what extent this relies on XWiki features, or it is a
> > pure-CSS issue.
> >
> > Please, could you point me in the right direction?
> >
> > Thanks for your work!
> >
> > Ricardo
> > ___
> > 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
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Livetable and conditional CSS/visual guides

2016-08-19 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi!

I've managed to devote some time to understand how Livetable does work.
Nice feature! It has been there since the very XWiki beginnings and only
now I started to feel the power of that macro!

I needed some time to understand how the table data source is generated,
but I think I can now more or less manage this point. What I would like to
do now is to customize rows' appearance depending on cells contents. For
instance, change background color when cells' content match a given
string/value. Something like this...

http://goo.gl/alW3SU

I don't know to what extent this relies on XWiki features, or it is a
pure-CSS issue.

Please, could you point me in the right direction?

Thanks for your work!

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


Re: [xwiki-users] some help needed: short URLs

2015-12-16 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Yeah! Apache documentation is rather important in this framework! But then
we do need to include references to documentation about, at least, other
proxies, web servers, applications servers...

What I'm trying to get is a picture about the information provided from
XWiki, from within XWiki, about this issue: how to manage URL construction
within XWiki environment. Of course, it will depend upon which software is
used to deploy each XWiki instance, but it will be always XWiki sites
acting as gateways to that original information.

As you know I'm not a developer, but I frequently face issues in the
interface between users, allow me to say advanced users, and developers. A
good understanding about what is expected to be possible to do by just
"fine tuning" XWiki configuration files without customizing the
configuration of web or applications server behind the scene will be of
great help! I think!

Thus, for shorter URLs I'll concentrate in Short XWiki URLs: as a XWiki
user, this is the entry point I found to solve my doubts about how to
customize/shorten XWiki URLs.

I'll report back ASAP!

Cheers!

Ricardo


On Tue, Dec 15, 2015 at 9:13 PM Paul Libbrecht <p...@hoplahup.net> wrote:

> Well, no Apache documentation?
> (e.g. mod_proxy? mod_rewrite?)
>
> paul
>
> > [IDIS Technical Secretariat] Ricardo Rodríguez
> > <mailto:ricardo.rodrig...@idisantiago.es>
> > 15 décembre 2015 12:33
> > Sorry for being late! I've had some hard time trying to understand the
> > whole thing... and I failed to do that! Please, read below...
> >
> > On Fri, Dec 11, 2015 at 3:23 PM Paul Libbrecht <p...@hoplahup.net>
> wrote:
> >
> >> This is getting more hairy,
> >> First, I think that all redirects sent using http-status will be covered
> >> by proxyPassReverse.
> >>
> >
> > This is the first time I truly face the complex world of client-server
> > conversation to serve webpages! And, of course, I found a lot of nice
> work
> > done in XWiki! prior to go ahead, I would like to be sure I'm following
> the
> > correct XWiki pages dealing with this issue. Here a summary...
> >
> > http://portal.idisantiago.es/xwiki/bin/view/XWikiDevelopment/URL/
> >
> > Please, am I missing anything? I know that XWiki pages are a
> collaborative
> > effort and that any of us can contribute to improve them. I'm just trying
> > to establish a solid starting point before going ahead!
> >
> > Thanks for any insight!
> >
> > Ricardo
> >
> >
> >
> >> Your next step is to fix any URL produced within the XWiki page.
> >> I thought proxyHost would help fixing that (that's part of server.xml,
> >> see
> >> https://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Proxy_Support
> )
> >> but I think XWiki doesn't use much of getServerName. Might still be
> >> useful for mails or such (there, you need the host-name).
> >>
> >> For any request to /atriumkm/ you could add another proxy rule but this
> >> makes duplicates which is inelegant (the resource page would have two
> >> accessible URLs).
> >>
> >> I think that
> >> xwiki.webapppath=
> >> (not commented out, this will make the web-app be considered to be "/")
> >> in xwiki.cfg might be your friend. It's part of the shortURLs strand
> >> (which would be your next step?).
> >>
> >> Paul
> >>> ProxyPass / http://localhost:8080/atriumkm/
> >>>
> >>>
> >>> It avoid the loop, but it fails to generate correct URLs: it generates
> >> URLs
> >>> that work fine if accessed directly using Tomcat, but Apache Web Server
> >>> fails. For example, accessing http://isabel.idisantiago.es, the URL
> >>> generated...
> >>> http://isabel.idisantiago.es/atriumkm/bin/Main/HomeMV2
> >>>
> >>> failed to serve the page correctly served when accessing Tomcat at
> >> 8080...
> >>> http://isabel.idisantiago.es:8080/atriumkm/bin/Main/HomeMV2
> >>>
> >>> It's the tomcat doing the redirect right now (use firebug, go to net,
> >>>> activate persist, then show the headers: Apache-Coyote/1.1) so maybe
> >>>> that helps things.
> >>>>
> >>>> You might want to keep
> >>>> ProxyPassReverse / http://localhost:8080/atriumkm/
> >>>> (this cares for redirects emitted by tomcat)
> >>>>
> >>>> But I am still fearing you'll get some bad links
> >>>>
> >>> It seems to me that this option only works for the main page: in f

Re: [xwiki-users] some help needed: short URLs

2015-12-15 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Sorry for being late! I've had some hard time trying to understand the
whole thing... and I failed to do that! Please, read below...

On Fri, Dec 11, 2015 at 3:23 PM Paul Libbrecht <p...@hoplahup.net> wrote:

> This is getting more hairy,
> First, I think that all redirects sent using http-status will be covered
> by proxyPassReverse.
>

This is the first time I truly face the complex world of client-server
conversation to serve webpages! And, of course, I found a lot of nice work
done in XWiki! prior to go ahead, I would like to be sure I'm following the
correct XWiki pages dealing with this issue. Here a summary...

http://portal.idisantiago.es/xwiki/bin/view/XWikiDevelopment/URL/

Please, am I missing anything? I know that XWiki pages are a collaborative
effort and that any of us can contribute to improve them. I'm just trying
to establish a solid starting point before going ahead!

Thanks for any insight!

Ricardo



>
> Your next step is to fix any URL produced within the XWiki page.
> I thought proxyHost would help fixing that (that's part of server.xml,
> see
> https://tomcat.apache.org/tomcat-7.0-doc/config/http.html#Proxy_Support)
> but I think XWiki doesn't use much of getServerName. Might still be
> useful for mails or such (there, you need the host-name).
>
> For any request to /atriumkm/ you could add another proxy rule but this
> makes duplicates which is inelegant (the resource page would have two
> accessible URLs).
>
> I think that
> xwiki.webapppath=
> (not commented out, this will make the web-app be considered to be "/")
> in xwiki.cfg might be your friend. It's part of the shortURLs strand
> (which would be your next step?).
>
> Paul
> > ProxyPass / http://localhost:8080/atriumkm/
> >
> >
> > It avoid the loop, but it fails to generate correct URLs: it generates
> URLs
> > that work fine if accessed directly using Tomcat, but Apache Web Server
> > fails. For example, accessing http://isabel.idisantiago.es, the URL
> > generated...
>
> >
> > http://isabel.idisantiago.es/atriumkm/bin/Main/HomeMV2
> >
> > failed to serve the page correctly served when accessing Tomcat at
> 8080...
> >
> > http://isabel.idisantiago.es:8080/atriumkm/bin/Main/HomeMV2
> >
> > It's the tomcat doing the redirect right now (use firebug, go to net,
> >> activate persist, then show the headers: Apache-Coyote/1.1) so maybe
> >> that helps things.
> >>
> >> You might want to keep
> >> ProxyPassReverse / http://localhost:8080/atriumkm/
> >> (this cares for redirects emitted by tomcat)
> >>
> >> But I am still fearing you'll get some bad links
> >>
> >
> > It seems to me that this option only works for the main page: in fact, in
> > our installation, it includes a redirection...
> >
> > *
> > {{velocity}}
> > $response.sendRedirect($xwiki.getURL('Main.HomeMV2'))
> > {{/velocity}}
> > *
> > The URL generated by xwiki.getURL includes the "application part" and
> > failed to be served.
> >
> > An image from Firebug...
> >
> > http://goo.gl/4D93fm
> >
> > I'm afraid that I'm not able to follow all your reasoning... Why do you
> say
> > "it's the tomcat doing the redirect right now"?
> >
> > I would like to rephrase my initial question. Perhaps this is clearer...
> >
> > 1) It is possible to remove the "application part" of an XWiki URL when
> the
> > application is not deployed at ROOT in Tomcat with Apache Web Server as
> > front-end?
> > 2) If yes, does the set-up be done in the Apache Web Server side, Tomcat
> > side, XWiki side, or any combination of these parts?
> >
> > I'm far from being able to digest the complexity of this landscape... I'm
> > afraid!
> >
> > Any insight will be extremely welcome! Thanks!
> >
> >
> >> Paul
> >> ___
> >> 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
> > Paul Libbrecht <mailto:p...@hoplahup.net>
> > 11 décembre 2015 12:26
> > Can you try:
> >
> > ProxyPass / http://localhost:8080/atriumkm/
> >
> > ?
> > It's the tomcat doing the redirect right now (use firebug, go to net,
> > activate persist, then show the headers: Apache-Coyote/1.1) so maybe
> > that helps things.
> >
> > You might want to keep

Re: [xwiki-users] some help needed: short URLs

2015-12-11 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Thanks Paul! Please, read below...

On Thu, Dec 10, 2015 at 11:49 AM Paul Libbrecht <p...@hoplahup.net> wrote:

> Ricardo,
>
> are you unable to move the webapp to root?
>

Nope! I can move XWiki to ROOT in Tomcat by simply renaming the application
folder! But I've been asked to not to do that by respecting the current
application running as ROOT in the server where I'm deploying XWiki.

Besides, I would like to run several XWiki instances in the same box. In
fact, I'm already doing that, calling each application by using the
"application part of the URL". Far simple, for example...

http://isabel.idisantiago.es:8080/xwiki
http://isabel.idisantiago.es:8080/atriumkm

I would like to set up a vhost for each instance that avoid the
"application part in the URL.


> The shortURLs experience thus far has been based on that.
>
> For your vhost, you "just" need to change:
>
> ProxyPass /atriumkm http://localhost:8080/atriumkm
> to
> ProxyPass / http://localhost:8080/atriumkm
>
>
I think I've already tried this. As following...

*

 ServerAdmin ricardo.rodrig...@idisantiago.es
 ServerName isabel.idisantiago.es

 # RedirectMatch permanent ^/$ http://isabel.idisantiago.es/atriumkm/

 ProxyPass / http://localhost:8080/atriumkm
 ProxyPassReverse / http://localhost:8080/atriumkm

 # ProxyPass / http://localhost:8080
 # ProxyPassReverse / http://localhost:8080

 DocumentRoot /var/www/html

 # Logging
 ErrorLog /var/log/apache2/isabel.idisantiago.es-error_log
 CustomLog /var/log/apache2/isabel.idisantiago.es-access_log common

*

And I get this error...

*
Too many redirects occurred trying to open "isabel.idisantiago.es//".
*
 This is the current configuration. You can see that error accessing...

http://isabel.idisantiago.es

It is clear that my understanding about how URLs are constructed is truly
poor! Any help will be welcome!

Thanks!!!



> but there will be links left produced by the web-app that will contain
> /atriumkm, I think.
>
> Paul
>
> > [IDIS Technical Secretariat] Ricardo Rodríguez
> > <mailto:ricardo.rodrig...@idisantiago.es>
> > 10 décembre 2015 11:36
> > Hi!
> >
> > I'm moving an old XWiki installation (XWiki Enterprise 2.4.30451) to a
> new
> > box. It currently runs as root in a CentOS/Tomcat/MySQL box serving pages
> > at port 80. The destination is a Ubuntu/Apache Web Server/Tomcat MySQL
> > where an Apache virtual host will serve all controller and virtual
> > wikis. A
> > different application is already running as root in the destination.
> >
> > I do need to remove the application part of the URL from the pages served
> > by the new location. This is mainly due to lots of hardcoded URLs I''m
> not
> > able to get rid of them now.
> >
> > This simple virtual host configuration works fine, but I'm not able to
> > understand how could I remove the "atriumkm", the application, part of
> the
> > URL...
> >
> > 
> > ServerAdmin ricardo.rodrig...@idisantiago.es
> > ServerName isabel.idisantiago.es
> >
> > RedirectMatch permanent ^/$ http://isabel.idisantiago.es/atriumkm/
> >
> > ProxyPass /atriumkm http://localhost:8080/atriumkm
> > ProxyPassReverse /atriumkm http://localhost:8080/atriumkm
> >
> > DocumentRoot /var/www/html
> >
> > # Logging
> > ErrorLog /var/log/apache2/isabel.idisantiago.es-error_log
> > CustomLog /var/log/apache2/isabel.idisantiago.es-access_log common
> > 
> >
> > I've found this thread that it seems to me deals with a similar issue...
> >
> > http://markmail.org/thread/u5hu7kw6rr2fcacx
> >
> > ... but I'm not able to understand how to get it working.
> >
> > Please, must I be able to do that by modifying the VirtualHost
> > configuration? Must I modify web.xml? Something related with xwiki.cfg
> > parameters? There are a lot of information playing around and concepts I
> > don't understand well.
> >
> > Any help will be extremely welcome!
> >
> > Cheers!
> >
> > Ricardo
> > ___
> > 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
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] some help needed: short URLs

2015-12-11 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Thanks! Please, read below!

On Fri, Dec 11, 2015 at 12:26 PM Paul Libbrecht  wrote:

> Can you try:
>
> ProxyPass / http://localhost:8080/atriumkm/
>
> ?
>

It avoid the loop, but it fails to generate correct URLs: it generates URLs
that work fine if accessed directly using Tomcat, but Apache Web Server
fails. For example, accessing http://isabel.idisantiago.es, the URL
generated...

http://isabel.idisantiago.es/atriumkm/bin/Main/HomeMV2

failed to serve the page correctly served when accessing Tomcat at 8080...

http://isabel.idisantiago.es:8080/atriumkm/bin/Main/HomeMV2

It's the tomcat doing the redirect right now (use firebug, go to net,
> activate persist, then show the headers: Apache-Coyote/1.1) so maybe
> that helps things.
>
> You might want to keep
> ProxyPassReverse / http://localhost:8080/atriumkm/
> (this cares for redirects emitted by tomcat)
>
> But I am still fearing you'll get some bad links
>

It seems to me that this option only works for the main page: in fact, in
our installation, it includes a redirection...

*
{{velocity}}
$response.sendRedirect($xwiki.getURL('Main.HomeMV2'))
{{/velocity}}
*
The URL generated by xwiki.getURL includes the "application part" and
failed to be served.

An image from Firebug...

http://goo.gl/4D93fm

I'm afraid that I'm not able to follow all your reasoning... Why do you say
"it's the tomcat doing the redirect right now"?

I would like to rephrase my initial question. Perhaps this is clearer...

1) It is possible to remove the "application part" of an XWiki URL when the
application is not deployed at ROOT in Tomcat with Apache Web Server as
front-end?
2) If yes, does the set-up be done in the Apache Web Server side, Tomcat
side, XWiki side, or any combination of these parts?

I'm far from being able to digest the complexity of this landscape... I'm
afraid!

Any insight will be extremely welcome! Thanks!


>
> Paul
> ___
> 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] some help needed: short URLs

2015-12-10 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi!

I'm moving an old XWiki installation (XWiki Enterprise 2.4.30451) to a new
box. It currently runs as root in a CentOS/Tomcat/MySQL box serving pages
at port 80. The destination is a Ubuntu/Apache Web Server/Tomcat MySQL
where an Apache virtual host will serve all controller and virtual wikis. A
different application is already running as root in the destination.

I do need to remove the application part of the URL from the pages served
by the new location. This is mainly due to lots of hardcoded URLs I''m not
able to get rid of them now.

This simple virtual host configuration works fine, but I'm not able to
understand how could I remove the "atriumkm", the application, part of the
URL...


 ServerAdmin ricardo.rodrig...@idisantiago.es
 ServerName isabel.idisantiago.es

 RedirectMatch permanent ^/$ http://isabel.idisantiago.es/atriumkm/

 ProxyPass /atriumkm http://localhost:8080/atriumkm
 ProxyPassReverse /atriumkm http://localhost:8080/atriumkm

 DocumentRoot /var/www/html

 # Logging
 ErrorLog /var/log/apache2/isabel.idisantiago.es-error_log
 CustomLog /var/log/apache2/isabel.idisantiago.es-access_log common


I've found this thread that it seems to me deals with a similar issue...

http://markmail.org/thread/u5hu7kw6rr2fcacx

... but I'm not able to understand how to get it working.

Please, must I be able to do that by modifying the VirtualHost
configuration? Must I modify web.xml? Something related with xwiki.cfg
parameters? There are a lot of information playing around and concepts I
don't understand well.

Any help will be extremely welcome!

Cheers!

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


[xwiki-users] congratulations

2015-11-24 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Dears,

I've just updated to XWiki 7.3. I'm really happy to keep enjoying XWiki and
to see how the framework is evolving. The interface is now cleaner, much
nicer. All behind the scene seems to me clearer release after release.

Thanks for the effort!

Warmest regards,

Ricardo

-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] help needed to show data in a different timezone

2015-09-03 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
I reply myself for completeness...

On Mon, Aug 31, 2015 at 2:46 PM, [IDIS Technical Secretariat] Ricardo
Rodríguez <ricardo.rodrig...@idisantiago.es> wrote:

> Hi!
>
> The server where our XWiki 7.1.2. installation is running is in CEST
> timezone. We do need to read dates in GMT timezone and find this...
>
> How can I format a date in a different time zone in Velocity Template
> using DateTool?
>
> http://stackoverflow.com/questions/21691445/how-can-i-format-a-date-in-a-different-time-zone-in-velocity-template-using-date
>
> I'm not able to get this running. Please, could somebody provide an
> example of using or any other way to transform the date to GMT?
>
>
In the same XWiki page I can use Groovy to instantiate TimeZone and get a
TimeZone object with the desired value...

{{groovy}}
xcontext.put("sTimezone", java.util.TimeZone.getTimeZone("GMT"))
{{/groovy}}

Also, complete the Velocity script to add a variable to store my locale...

{{velocity}}
#set($sLocale = $datetool.getLocale())
...
{{/velocity}}

Then, I call it from Velocity...

{{velocity}}
...
#set($date = $datetool.format('d MMM  hh:mm:ss z', $rcDoc.date,
$sLocale, $xcontext.sTimezone))
...
{{/velocity}}

I'll add this comments to the concerned Timeline Extension page in xwiki.org.
Here there is an example running in our own server...

http://portal.idisantiago.es/xwiki/bin/view/Home/Timeline

Any comment will be extremely welcome! Thanks!

Cheers,

Ricardo



> Thank you for your help!
>
> Ricardo
>
> --
> Ricardo Rodríguez
> Research Management and Promotion Technician
> Technical Secretariat
> Health Research Institute of Santiago de Compostela (IDIS)
> http://www.idisantiago.es
>



-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] help needed to show data in a different timezone

2015-08-31 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi!

The server where our XWiki 7.1.2. installation is running is in CEST
timezone. We do need to read dates in GMT timezone and find this...

How can I format a date in a different time zone in Velocity Template using
DateTool?
http://stackoverflow.com/questions/21691445/how-can-i-format-a-date-in-a-different-time-zone-in-velocity-template-using-date

I'm not able to get this running. Please, could somebody provide an example
of using or any other way to transform the date to GMT?

Thank you for your help!

Ricardo

-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] on XWiki.StyleSheetExtension

2015-08-26 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Thanks! So simple, so nice...

Still, I'm not able to get it working yet... Here what I'm trying to get...

{{velocity}}
#if($context.action == 'view')
#mainContentArea {
  margin-top: -35px;
  padding: 0px 0px;
}
#end
{{/velocity}}

I didn't get this code read while within the Velocity IF structure. In the
log, I'm getting this...

2015-08-26 13:00:13,926 [
http://localhost:8080/xwiki/bin/ssx/Home/WebHome?language=en] WARN
 o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter
[com.xpn.xwiki.api.DeprecatedContext.getAction] in 360:xwiki:Home.WebHome@6
,14

Please, what am I doing wrong? Thanks!

Ricardo


On Wed, Aug 26, 2015 at 10:52 AM, Thomas Mortagne thomas.morta...@xwiki.com
 wrote:

 You can enable Velocity in StyleSheetExtension content (the Parse
 content property).

 The problem is that it means you need to disable caching as otherwise
 the browser will stick with the first version it downloaded.

 On Wed, Aug 26, 2015 at 10:32 AM, [IDIS Technical Secretariat] Ricardo
 Rodríguez ricardo.rodrig...@idisantiago.es wrote:
  Hi!
 
  Please, is it possible to customise a XWiki.StyleSheetExtension object to
  apply different properties to different actions in the same page?
 
  For instance, I would like to use different #mainContentArea {
 margin-top:
  ; } values when viewing, or editing a page, i.e. Home.WebHome, or
 creating
  new pages in that Home space.
 
  Thanks for your help!
 
  Ricardo
 
  --
  Ricardo Rodríguez
  Research Management and Promotion Technician
  Technical Secretariat
  Health Research Institute of Santiago de Compostela (IDIS)
  http://www.idisantiago.es
  ___
  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




-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] on XWiki.StyleSheetExtension

2015-08-26 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Thanks! But there is still something I doing the wrong way. If I introduce
the following lines in the XWiki.StyleSheetExtension object code...

#if($context.action == 'view')
#mainContentArea {
  margin-top: -35px;
  padding: 0px 0px;
}
#else
#mainContentArea {
  margin-top: 100px;
  padding: 0px 0px;
}
#end

I do get a 100px top margin when viewing the page...

http://portal.idisantiago.es

I'm afraid I'm wrongly using $context.action, but I don't understand why!
Help, please!

Thanks,

Ricardo

On Wed, Aug 26, 2015 at 1:14 PM, Thomas Mortagne thomas.morta...@xwiki.com
wrote:

 {{velocity}} is wiki syntax to indicate that you want to insert some
 Velocity. When you enable parsing the whole content become Velocity
 already.

 On Wed, Aug 26, 2015 at 1:04 PM, [IDIS Technical Secretariat] Ricardo
 Rodríguez ricardo.rodrig...@idisantiago.es wrote:
  Thanks! So simple, so nice...
 
  Still, I'm not able to get it working yet... Here what I'm trying to
 get...
 
  {{velocity}}
  #if($context.action == 'view')
  #mainContentArea {
margin-top: -35px;
padding: 0px 0px;
  }
  #end
  {{/velocity}}
 
  I didn't get this code read while within the Velocity IF structure. In
 the
  log, I'm getting this...
 
  2015-08-26 13:00:13,926 [
  http://localhost:8080/xwiki/bin/ssx/Home/WebHome?language=en] WARN
   o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter
  [com.xpn.xwiki.api.DeprecatedContext.getAction] in
 360:xwiki:Home.WebHome@6
  ,14
 
  Please, what am I doing wrong? Thanks!
 
  Ricardo
 
 
  On Wed, Aug 26, 2015 at 10:52 AM, Thomas Mortagne 
 thomas.morta...@xwiki.com
  wrote:
 
  You can enable Velocity in StyleSheetExtension content (the Parse
  content property).
 
  The problem is that it means you need to disable caching as otherwise
  the browser will stick with the first version it downloaded.
 
  On Wed, Aug 26, 2015 at 10:32 AM, [IDIS Technical Secretariat] Ricardo
  Rodríguez ricardo.rodrig...@idisantiago.es wrote:
   Hi!
  
   Please, is it possible to customise a XWiki.StyleSheetExtension
 object to
   apply different properties to different actions in the same page?
  
   For instance, I would like to use different #mainContentArea {
  margin-top:
   ; } values when viewing, or editing a page, i.e. Home.WebHome, or
  creating
   new pages in that Home space.
  
   Thanks for your help!
  
   Ricardo
  
   --
   Ricardo Rodríguez
   Research Management and Promotion Technician
   Technical Secretariat
   Health Research Institute of Santiago de Compostela (IDIS)
   http://www.idisantiago.es
   ___
   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
 
 
 
 
  --
  Ricardo Rodríguez
  Research Management and Promotion Technician
  Technical Secretariat
  Health Research Institute of Santiago de Compostela (IDIS)
  http://www.idisantiago.es
  ___
  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




-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] on XWiki.StyleSheetExtension

2015-08-26 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi!

Please, is it possible to customise a XWiki.StyleSheetExtension object to
apply different properties to different actions in the same page?

For instance, I would like to use different #mainContentArea { margin-top:
; } values when viewing, or editing a page, i.e. Home.WebHome, or creating
new pages in that Home space.

Thanks for your help!

Ricardo

-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] on XWiki.StyleSheetExtension

2015-08-26 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Thanks! Please, read below...

On Wed, Aug 26, 2015 at 2:45 PM, Thomas Mortagne thomas.morta...@xwiki.com
wrote:

 On Wed, Aug 26, 2015 at 1:37 PM, [IDIS Technical Secretariat] Ricardo
 Rodríguez ricardo.rodrig...@idisantiago.es wrote:
  Thanks! But there is still something I doing the wrong way. If I
 introduce
  the following lines in the XWiki.StyleSheetExtension object code...
 
  #if($context.action == 'view')
  #mainContentArea {
margin-top: -35px;
padding: 0px 0px;
  }
  #else
  #mainContentArea {
margin-top: 100px;
padding: 0px 0px;
  }
  #end
 
  I do get a 100px top margin when viewing the page...
 
  http://portal.idisantiago.es
 
  I'm afraid I'm wrongly using $context.action, but I don't understand why!

 The problem with this specific use case is that your code is not
 executed in the context of the document view but as an asynchronous
 ssx resource with an URL looking like
 http://mydomain/xwiki/bin/ssx/Space/Page and the action being ssx I
 think (not view in any case).

 If you are the one calling $xwiki.ssx.use(Spac.Page) you could do
 something like $xwiki.ssx.use('Space.Page', {'sourceAction' :
 $xcontext.action}) and then modify your ssx to be something like

 #if($request.sourceAction == 'view')
 #mainContentArea {
   margin-top: -35px;
   padding: 0px 0px;
 }
 #else
 #mainContentArea {
   margin-top: 100px;
   padding: 0px 0px;
 }
 #end


Following these notes plus reading once again..

http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensionsTutorial

I've done this..

1) Change to SSX extension to on demand only to be sure when and which
extension I'm calling.

2) Call the extension from the concerned page with this code...

{{velocity}}
#set($void = $xwiki.ssx.use($doc.fullName, {'sourceAction' :
$xcontext.action}))
{{/velocity}}

3) Modify the code of the SSX extension the way you proposed...

#if($request.sourceAction == 'view')
#mainContentArea {
  margin-top: -35px;
  padding: 0px 0px;
}
#else
#mainContentArea {
  margin-top: 100px;
  padding: 0px 0px;
}
#end

I've learnt a lot! Thank you very much! Unfortunately my programming
background, despite years of good intentions, remains still quite poor!
I'll keep trying.


  Help, please!
 
  Thanks,
 
  Ricardo
 
  On Wed, Aug 26, 2015 at 1:14 PM, Thomas Mortagne 
 thomas.morta...@xwiki.com
  wrote:
 
  {{velocity}} is wiki syntax to indicate that you want to insert some
  Velocity. When you enable parsing the whole content become Velocity
  already.
 
  On Wed, Aug 26, 2015 at 1:04 PM, [IDIS Technical Secretariat] Ricardo
  Rodríguez ricardo.rodrig...@idisantiago.es wrote:
   Thanks! So simple, so nice...
  
   Still, I'm not able to get it working yet... Here what I'm trying to
  get...
  
   {{velocity}}
   #if($context.action == 'view')
   #mainContentArea {
 margin-top: -35px;
 padding: 0px 0px;
   }
   #end
   {{/velocity}}
  
   I didn't get this code read while within the Velocity IF structure. In
  the
   log, I'm getting this...
  
   2015-08-26 13:00:13,926 [
   http://localhost:8080/xwiki/bin/ssx/Home/WebHome?language=en] WARN
o.x.v.i.DefaultVelocityEngine  - Deprecated usage of getter
   [com.xpn.xwiki.api.DeprecatedContext.getAction] in
  360:xwiki:Home.WebHome@6
   ,14
  
   Please, what am I doing wrong? Thanks!
  
   Ricardo
  
  
   On Wed, Aug 26, 2015 at 10:52 AM, Thomas Mortagne 
  thomas.morta...@xwiki.com
   wrote:
  
   You can enable Velocity in StyleSheetExtension content (the Parse
   content property).
  
   The problem is that it means you need to disable caching as otherwise
   the browser will stick with the first version it downloaded.
  
   On Wed, Aug 26, 2015 at 10:32 AM, [IDIS Technical Secretariat]
 Ricardo
   Rodríguez ricardo.rodrig...@idisantiago.es wrote:
Hi!
   
Please, is it possible to customise a XWiki.StyleSheetExtension
  object to
apply different properties to different actions in the same page?
   
For instance, I would like to use different #mainContentArea {
   margin-top:
; } values when viewing, or editing a page, i.e. Home.WebHome, or
   creating
new pages in that Home space.
   
Thanks for your help!
   
Ricardo
   
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
___
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
  
  
  
  
   --
   Ricardo Rodríguez
   Research Management and Promotion Technician
   Technical Secretariat
   Health Research Institute of Santiago de Compostela (IDIS)
   http://www.idisantiago.es
   ___
   users mailing list
   users

[xwiki-users] User's alias: how to?

2015-07-21 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi!

I think that after a some years using XWiki, I can now more or less
understand the magic behind it: documents are populated with XWiki
objects which make them behave in one or other way and content several
flavours of information. Logic can be also implemented in XWiki pages
facilitating different kinds of outputs. Thus, a XWiki user is only a
XWiki document where we instantiate XWikiUsers class. A XWiki group
isonly a document where we instantiate XWikiGroups class.

It is really simple to use XWiki group as metaphor for many of the items we
have to deal with in the day-by-day managerial work: a research project
team, a consolidated research group or scientific publication authorship
can all be represented/stored as a XWiki group. That is a really simple
operation.

But what I'm not able to figure out how to store properties that
characterise a given combination of user and group.

Please, allow me to present three cases of use:

1) A person (represented by a XWiki user) can participate in several
research project teams with different roles (main researchers, teammate,
lab responsible, task responsible...)

2) A person (represented by a XWiki user) can participate in the authorship
of several scientific publications, but he/she will appear in a different
position in the authors list. And order matters in this case!

3) A person can participate in two scientific publications with different
filiations, let's call them different *hats*.

Case 1) is illustrated by...

http://atriumkm.idisantiago.es/bin/USiRModel/Projects

Red user participates in all three projects, but only in one of them act as
leader (a star on the chest). Light blue user participates in two projects,
as a leader in one of them. But her/his leadership comes from a different
source (different color of the star)

...and cases 2) and 3) by...

http://atriumkm.idisantiago.es/bin/USiRModel/Publications

Red user participates in all three publications BUT in a different position
(the order matters!) and on behalf of a different meta-organisation (white
or black hats).

A couple of simple questions:

a) If I use a XWiki group to represent a publication, how could I store the
position of each author if authorship is represented by the membership of
that group?

b) Red user belongs to at least five different groups: three publications
and two hats. How could I represent the hat associated with red user in
publications 02 and 03?

I ended up calling this concept user alias: a user alias is a set of
XWiki documents only one of which includes an instance of XWikiUsers class.

I'm sure there is some strong concept in software design and data
modeling that apply to what I'm looking for, but I've not enough formation
as for looking for it. Your insights will be really welcome!

Please, does this make any sense for you? Any idea?

Thank you so much,

Ricardo



-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Upgrading xWiki

2015-07-20 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi Mbas! I started to write this message weeks ago, and only now find time
enough to finish and send it. I hope it still makes some sense for you
or/and anybody else.

I'm afraid, as usual, I've not an easy answer for your question but I am,
and I'm also sure many others, interested in how you are going to face the
process. Migration is always a hard task as, very frequently, plain old
wikis are full with ad hoc not easily replaceable/migrable solutions.

Some years ago XWiki guys helped me to move a 1.x XWiki installation to a
XWiki Enterprise 2.4.30451 server and, since 7.x appeared, I've a peding
upgrade from that 2.4.30451 to a new 7.x server.

During the last months I've been documenting the process to upgrade within
the 7.x series, and now I feel more or less confortable with it.

Here some notes I would like to share even thought they are still kind of a
mess...

http://portal.idisantiago.es/xwiki/bin/download/ICT/UpgradingXWiki/upgradingXWiki.txt

I'm not sure if I'll be able to move to parameters all variable items and
construct a script, but I'll keep trying!

Also, I'm afraid any migration/upgrade process is very related with the
RDBMS, the application server and the web server (if any) of each
installation. My take now is that in a XWiki migration from an old version
to a brand new installation we have to design/follow a strategy more than
expect to have a fully equivalent upgraded installation.

For instance, I would like to:

1) As users and groups are the core of the system, I would like to move
my old XWiki community, the one installed in the 2.4.30451 server, to the
brand new 7.x box, get all users authenticating in the 7.x box and having
access with this login to the legacy 2.4.30451 box.
2) Once I get this done, I'll frozen my 2.4.30451 community and only allow
it to growth in the 7.x installation.
3) Contents will be exported/migrated on a per-demand/per-opportunity
basis.

While 2) and 3) are easily implementable, I''ve no idea about how to reach
1). Any comment, criticism or idea will be more than welcome!

Thanks in advance,

Ricardo



On Tue, May 19, 2015 at 3:42 PM, mbapoa poamba mba@gmail.com wrote:

 Hi!

 Im trying to upgrade from xwiki 4.2 to 7.
 I already installed xwiki 7 and postgres in another server for testing
 purposes since Im new with xwiki. I adjusted the settings and started
 postgres. Xwiki 7 is working fine. Although I think its a bit slow (I
 installed in a virtual server, maybe thats it?).

 My main question is how to import all the old content to the new xwiki?
 I have a postgres dump of 11GB from the old xwiki. Should I use it in the
 new xwiki? If so, how?
 Is it the best way considering how far the versions are?


 Thanks in advance!
 --
 Mba
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] a detail after upgrading to 7.0.1

2015-05-06 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi!

I'm really enjoying the new upgrade wizard. It allows to me to concentrate
in details that never catch my attention before :-)

A minor detail that I would like to clarify. 7.0.1 XWiki Enterprise release
notes reads Note that you should add xwiki.store.migration=1 so that XWiki
will attempt to automatically migrate But this parameter and value
(set to 1) are included in xwiki.cfg by default.

Please, why don't remove this comment from the release notes?

Thanks!

-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] struggling with encoding

2015-05-06 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi!

I've set up a XWiki Enterprise 7.0.1 installation to use UTF-8 as per...

http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding

In spite of this, only Chrome (both in Windows and Mac OS X platforms) is
able to correctly show the five accented vowels contained in an attached
file UTF-8 encoded available here...

http://portal.idisantiago.es/xwiki/bin/download/ICT/Encoding/encoding_vowels.txt

Firefox (Windows and Mac OS X), Safari and Omniweb in Mac OS X and Internet
Explorer show them wrongly by default as...

http://portal.idisantiago.es/xwiki/bin/download/ICT/Encoding/badRendering.png

I've to manually select UTF-8 encoding the read it correctly or select
UTF-8 as default encoding for the browser.

Please, is it possible to control the encoding used by a browser to display
an attached text file from XWiki server side?

Thanks!

Ricardo

-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] struggling with encoding

2015-05-06 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi!

On Wed, May 6, 2015 at 4:21 PM, thomas.morta...@xwiki.com wrote:

 On Wed, May 6, 2015 at 4:12 PM, Marius Dumitru Florea
 mariusdumitru.flo...@xwiki.com wrote:
  On Wed, May 6, 2015 at 4:45 PM, Pascal BASTIEN pbasnews-xw...@yahoo.fr
 wrote:
  Helle,
  May I?
 
  i think it is not a xwiki problem because encoding_vowels.txt file is
 an attachment of a web page (it is like a file on FTP site). Xwiki (
 fortunely) doesn't change attachment file content.
  If I download your file, file command indicate of course: UTF-8
 Unicode text, with no line terminators
  I think it is more a browser problem (chrome doesn't detect UTF8
 encoding of your file)
  If your attachment is a PDF file, it is the same, it depend of browser
 (if PDF reader are included in it or not)
 
  Htttpheader is for web page an not attachment IMO
 
  When you click on the link the browser makes an HTTP request (with
  headers) without knowing (or caring) what the response may be (HTML,
  text, binary, etc.). The server (XWiki in this case) sends the HTTP
  response **with headers**, because the headers tell the browser what
  to do with the response. The Content-Type header tells the browser
  that the response contains text content. The Content-Type can also
  specify the encoding. If no encoding is specified then the browser
  will attempt to detect the encoding (or use some default / configured
  encoding) which may not be the expected encoding, like in this case.
 
  XWiki needs to specify the right encoding in the Content-Type header.

 Problem is that XWiki does not really knows it, not in a generic way.


Then, please, must I report an issue?

My use case here: we frequently use plain-text files as exchange media for
some sets of simple information that always content accented vowels and ñ
(Spanish names and surnames and institutions' names). In several ways we
promote the use of UTF-8 encoding all along the chain of producers of
such files. People accessing then as attached files to XWiki pages
depicting a snapshot at a given time of, for instance, the composition of a
group. Those users occasionally use their web browsers to access that kind
of files. From here, we receive frequent complaints about garbled files.
The solution is so simple as to manually change Text Encoding in the web
browser to UTF-8 or set it by default. But this is out of our scope to
control such settings! Thus, it will be great if we can send that
information to the client, to the browser.

Follow this discussion is no clear to me if the response sent by XWiki must
or can include that information when responding to calls asking for
attached text files. Mustn't it?

Thanks for your time!

Ricardo




 
 
  Pascal B.
 
  
  En date de : Mer 6.5.15, Marius Dumitru Florea 
 mariusdumitru.flo...@xwiki.com a écrit :
 
   Objet: Re: [xwiki-users] struggling with encoding
   À: XWiki Users users@xwiki.org
   Date: Mercredi 6 mai 2015, 14h34
 
   On Wed, May 6, 2015 at
   2:08 PM, [IDIS Technical Secretariat] Ricardo
   Rodríguez ricardo.rodrig...@idisantiago.es
   wrote:
Hi!
   
I've set up a XWiki Enterprise 7.0.1
   installation to use UTF-8 as per...
   
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding
   
In spite of this,
   only Chrome (both in Windows and Mac OS X platforms) is
able to correctly show the five accented
   vowels contained in an attached
file
   UTF-8 encoded available here...
   
 
   
 http://portal.idisantiago.es/xwiki/bin/download/ICT/Encoding/encoding_vowels.txt
 
   If I inspect the HTTP headers
   of the response I see:
 
   Content-Type: text/plain;charset=
 
   I guess it should have been
 
   Content-Type:
   text/plain;charset=utf8
 
   I
   can reproduce with a fresh XWiki 7.1M1 (Jetty+HSQLDB). Can
   you
   report an issue?
 
   Thanks,
   Marius
 
   
   
   Firefox (Windows and Mac OS X), Safari and Omniweb in Mac OS
   X and Internet
Explorer show them
   wrongly by default as...
   
   
 http://portal.idisantiago.es/xwiki/bin/download/ICT/Encoding/badRendering.png
   
I've to manually
   select UTF-8 encoding the read it correctly or select
UTF-8 as default encoding for the
   browser.
   
Please,
   is it possible to control the encoding used by a browser to
   display
an attached text file from
   XWiki server side?
   
   
   Thanks!
   
Ricardo
   
--
Ricardo Rodríguez
   
   Research Management and Promotion Technician
Technical Secretariat
   
   Health Research Institute of Santiago de Compostela
   (IDIS)
http://www.idisantiago.es
   
   ___
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
 
  ___
  users mailing list
  users

[xwiki-users] upgrading to 7.0.1 - what about Dashboard?

2015-05-05 Thread [IDIS Technical Secretariat] Ricardo Rodríguez
Hi!

After an update to XWiki Enterprise 7.0.1 from 7.0, I miss the wiki
dashboard in the left column. Before getting mad, please, must I find this
icon/feature in the left column of my site? Must I find a Dashboard space
in the updated wiki?

I've faced some weird behaviours that I've been not able to reproduce,
but I'm sure that now we've not a Dashboard space in the XWiki
installation! I'm afraid I'm lost about the new extensions and
applications system. I would like to understand why that dashboard
traveled until XWiki Enterprise 7.0 and failed to go on with 7.0.1.

Please, could you point me in the rigth direction?

Thanks!

-- 
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] centering a DIV

2008-04-07 Thread [Ricardo Rodríguez]

Hi Martin!


martijn.ras wrote:
 
 The div id=xwikimaincontainer is centered automatically when you 
 either do not use any panels, or use both left and right panels.
 

Thanks for the input!

But I am not so sure about this centered automatically behaviour. For
instance, in a no side panels scenario, fix max-width for body (you will
find it under /* @group Layout */. Let's say max-width:800. This class will
read:

/* @group Layout */
body{
  font-size: 87.5%; /* 10px */
  font-family: sans-serif;
  color: #222;
  width: 100%; 
  padding: 0;
  margin: 0 ;
  max-width: 900px;
  background-image: url( images/colors/gray/H4x4-GRAY.png );
  background-color: #fff;
}

At least for me here (several browsers), the main frame, the area with
contents, is not centered but aligned left.

The result is the same whatever layout you choose. Really it looks as
expected as I am not able to find code that must center it.

But the problem is that I am not able to find how to do that. The auto
margin trick is failing. Perhaps the problem is to find what is the DIV we
have to reference to get this one centered. Anyway, I keep trying and
posting here any positive result.

Mazzel,

-- 
View this message in context: 
http://www.nabble.com/centering-a-DIV-tp16519663p16537212.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] A default filter for page lists

2008-04-07 Thread [Ricardo Rodríguez]

Hi,


goldring, richard wrote:
 
 Yes I think that's a good idea - it just confuses users when they see
 'structural' type wiki content - and it looks messy - only xwiki admin
 and
 developer users should be able to see xwiki 'structural' pages and
 elements
 when they do searches, view pages in a space or via an index.
 

Don't you think could be enough by filtering results in XWiki, Main and
Panels? I am working with XE, so it is possible that other configurations
require to filter out other spaces as well.

As XWiki is completely flexible and allow you to create customized filters,
I am not sure about the need of adding it by default. You could easily make
this separation by creating new spaces where users create their pages then
filtering search results based on this spaces names.

Just me 2c.

Ricardo
-- 
View this message in context: 
http://www.nabble.com/A-default-filter-for-page-lists-tp16432884p16537234.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] [Rescheduling] Re: [ANN] Skypecast about the new XWiki Rendering Architecture (31st March, 14:00 GMT+1)

2008-04-07 Thread [Ricardo Rodríguez]

Hi!


vmassol wrote:
 
 Here's a new date proposal that also allows our American friends the  
 ability to join the skypecast:
 
 Monday 7th of April (next Monday), 17:00 GMT+1
 

I am afraid I won't be able to attend this event at the proposed time :-(

Even though I am not a developer, I would like to join this Skypecast trying
to get some clues about XWiki developing process. Is it planned/possible to
make the discussion available for download? Thanks!

-- 
View this message in context: 
http://www.nabble.com/-ANN--Skypecast-about-the-new-XWiki-Rendering-Architecture-%2831st-March%2C-14%3A00-GMT%2B1%29-tp16307660p16537218.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] special rights

2008-04-07 Thread [Ricardo Rodríguez]

Hi!


Nohinder wrote:
 
  hello again.
 i have tried to solve this paragraph rights for the last couple of days.
 didn't work :)))
 i made a var similar to $isAdvancedUser called $isMyUser and tried to give
 it or not access to parts of a page. then i tried to create a macro that i
 can add in my page where i want to protect the text. i was probably doing
 something very much wrong . and so i am starting again. i have read your
 idea more times to be sure i get it:)
 i am curious where did u put the #includeTopic('Sandbox.FirstParagraph')
 or more importantly where have u explained what does that mean. i see this
 as a method. i still don;t know if xwiki knows about methods. 
 lost :)))
 

Sorry for being late with this. I've been a bit busy :-)

I am not sure I get your doubt. I'm using #includeTopic to construct a
document based on several other ones. Five in the case I am using as an
example. This allow me/you to delegate access control to the parts more than
to the whole doc.

Please, allo me to go back to the example:

http://xepecnet.environmentalchange.net/xwiki/bin/view/Sandbox/NichitaStanescu

It now has a [edit] link after each paragraph. I am sending you an account
for this wiki. Login and try to edit any of the four parts. You are allowed
to see all four but you can only edit the first one.

Of course the code is really poor! You could show/hide this buttons based
on users rights. And I am sure it is possible to tell XWiki to generate then
dynamically for each #includeTopic if you have edit rights on it. I am not
devoted much time to this. Just trying to create a kind of proof of
concept to see if this is what we need.

By the way, I think I've not found any attached file to your previous
message. Could you send it directly to me? Thanks!

Hope this helps,

Ricardo
-- 
View this message in context: 
http://www.nabble.com/special-rights-tp16306398p16537254.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] Only Admin Users can access Main space

2008-04-07 Thread [Ricardo Rodríguez]

Hi Glenn,


Glenn Everitt wrote:
 
 Is the Main space special?  XWiki seems to require Admin rights to view
 Main.WebHome.  
 I am using XWiki version 1.3.  I searched jira but couldn't find anything
 that seemed relevant.
 

This is weird. I can not figure out any reasson other than you have modify
in any way the access rights to Main.WebHome or to Main by itself.

Do you keep getting this error? Have you already worked it out?


Glenn Everitt wrote:
 
 Is there some setting to change the redirect of
 http://localhost:8080/xwiki from Main.WebHome to MySpace.WebHome?
 

I guess the simplest way is to use $response.sendRedirect, but I don't know
yet how to avoid to pass the whole URL of the desired home page to the
method. Taking this into account, to add this to your Main.WebHome page will
do the job:

$response.sendRedirect(http://localhost:8080/xwiki/bin/view/MySpace/WebHome;)

HTH,

Ricardo

-- 
View this message in context: 
http://www.nabble.com/Only-Admin-Users-can-access-Main-space-tp16421644p16537272.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] Synchronize two instances of XWiki Enterprise

2008-03-26 Thread [Ricardo Rodríguez]

Hi!


Vitantonio Messa wrote:
 
 Hi,
 
 I'm pretty sure just a copy of the database is enough ;)
 
 Vito
 

Yeap! But be aware that some information could be stored in xwiki.cfg,
templates or skins' folders. This information doesn't concern contents,
but if what you want is to have two locations running the same wiki, it must
be taken into account.

HTH,

Ricardo

-- 
View this message in context: 
http://www.nabble.com/Synchronize-two-instances-of-XWiki-Enterprise-tp16297082p16300311.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] Xwiki jmeter test

2008-03-26 Thread [Ricardo Rodríguez]

Hi!


Sergiu Dumitriu-2 wrote:
 
 - if it can handle cookies, then visit 
 /xwiki/bin/login/XWiki/XWikiLogin?j_username=Adminj_password=adminj_rememberme=true
 

Sorry, I don't know what to handle cookies means here and I have no
experience with jmeter, so perhaps this question is absurd. But I keep
trying to understand how/if username and password can be passed to XWiki
with an URL. I also keep following the related Jira issues.

In this case, could I understand that the proposed string could be passed to
XWiki to allow jmeter index its contents?

Could this be used to grant access to a given document?

Thanks for your help,

Ricardo
-- 
View this message in context: 
http://www.nabble.com/Xwiki-jmeter-test-tp16118635p16300454.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] Help with custom display

2008-03-26 Thread [Ricardo Rodríguez]

Hi!


javacupix wrote:
 
 I'm pretty confused with the documentation around xWiki and struggle to
 find infos on the custom display field in the property editor. A simple
 example could clarify my questions: how do you (for example) use the
 custom display field to display the content of the Textarea Propety in
 bold, red?
 

I guess this feature is not documented yet. Please, have you get something
about it?

Documentation must be improve and I am sure your help will be welcome by the
community!

Thanks for your help,

Ricardo
-- 
View this message in context: 
http://www.nabble.com/Help-with-custom-display-tp16277592p16300773.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] Custom Default Skin Everywhere, Except Login Page

2008-03-26 Thread [Ricardo Rodríguez]

Hi Andrew,


Andrew Hughes-5 wrote:
 
 Thanks for this guys
 
 I'm happy to give this a go, and I will do so. What I am wondering for the
 greater community, is how this is reproducable over new versions of xwiki?
 It seems that this is bound to the source vm. If I was to re-deploy xwiki
 then I would drop this behaviour (I know this is the same with the skin
 too).
 
 Sorry if Im being a pain, but Im sure this is some functionality others
 would like :)
 
 ...thanks  back soon!
 

I know that a new Rendering/Parsing component/API is been actively developed
as many entries in devs list show, but I am not able to understand how this
will work yet.

As for working with 1.x releases, I think that there is no other way of
keeping customizations that keeping track of changes both in templates
stored in the general /templates folder and new skins' folders.

I have not been able yet to get this customized skin applied to the login
page issue solved here, so it will be great to have your feedback!

Cheers,

Ricardo

-- 
View this message in context: 
http://www.nabble.com/Custom-Default-Skin-Everywhere%2C-Except-Login-Page-tp16041624p16300777.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


Re: [xwiki-users] PDF styling

2008-03-10 Thread [Ricardo Rodríguez]

Hi,


vmassol wrote:
 
 For the content I'd guess you'll have to modify the xhtml2fo.xsl file 
 in the xwiki core jar in your WEB-INF/lib directory.
 

Please, does Export to RTF use the same xhtml2fo.xsl file?

I do need to export several XWiki documents to a format editable by Word and
I am facing some problems in the process. See following...

There are no space before and after most heading levels (this doesn't happen
while exporting to PDF)...

http://mire.environmentalchange.net/~webmaster/images/ToRtfHeading.png

There is no space between the header and the first paragraph, above and
below images and images don't fit in the page: they are aligned to the left
and the output is at 100% width and height...

http://mire.environmentalchange.net/~webmaster/images/ToRtfHeader.png

Please, coudl you/anybody outline the export-to-PDF/RTF processes in XWiki
to try to find the right way of dealing with these issues?

Thank you so much,

Ricardo
-- 
View this message in context: 
http://www.nabble.com/PDF-styling-tp15798886p15950779.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

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


[xwiki-users] on Groovy doc

2007-11-02 Thread Ricardo Rodríguez


Hi,

I do hope you don't mind I open a new thread on this even though there are
several live discussions refering Groovy scripting.

In http://www.xwiki.org/xwiki/bin/view/DevGuide/Scripting we can actually
read this TODO paragraph:

-
TO DO: We need to move all of the Groovy pages from the Dev Web Space to
this area. Then, with all the Velocity and Groovy docs in this Web Space, we
can reorganize and cross reference and such.
-

Please, where could I find this Dev Web Space? I am trying to find/read
any document related with Groovy scripting before posting new questions.

Thanks for your help,

Ricardo


-- 
View this message in context: 
http://www.nabble.com/on-Groovy-doc-tf4737169.html#a13546856
Sent from the XWiki- Users mailing list archive at Nabble.com.

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