[xwiki-users] [Proposal] Improving the User Guide documentation

2010-03-01 Thread Silvia Rusu

Hello, 

I would like to propose we update the User Guide documentation so that it's
more helpful to users that start using XWiki, whether they are programmers
or not. The purpose of the guide is to get users up to speed with the XWiki
basics, to gather these resources in one place. 

You can find my proposal for the user guide here:
http://dev.xwiki.org/xwiki/bin/view/Drafts/UserGuide

Please feel free to make suggestions for other pages to be included or
changes you think should be made. Remember this is not a TOC for all the
documentation, but rather a selection of links to help you get started with
XWiki. 

Thanks, 
Silvia

-
Silvia Rusu
Tester  Documentation Writer - XWiki
http://twitter.com/silviarusu
-- 
View this message in context: 
http://n2.nabble.com/Proposal-Improving-the-User-Guide-documentation-tp4653338p4653338.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] [Proposal] Improving the User Guide documentation

2010-03-01 Thread Thomas Mortagne
On Mon, Mar 1, 2010 at 10:58, Silvia Rusu silvia.r...@xwiki.com wrote:

 Hello,

 I would like to propose we update the User Guide documentation so that it's
 more helpful to users that start using XWiki, whether they are programmers
 or not. The purpose of the guide is to get users up to speed with the XWiki
 basics, to gather these resources in one place.

 You can find my proposal for the user guide here:
 http://dev.xwiki.org/xwiki/bin/view/Drafts/UserGuide

 Please feel free to make suggestions for other pages to be included or
 changes you think should be made. Remember this is not a TOC for all the
 documentation, but rather a selection of links to help you get started with
 XWiki.

It should maybe be renamed as Get Started with XWiki instead of
User Guide then.


 Thanks,
 Silvia

 -
 Silvia Rusu
 Tester  Documentation Writer - XWiki
 http://twitter.com/silviarusu
 --
 View this message in context: 
 http://n2.nabble.com/Proposal-Improving-the-User-Guide-documentation-tp4653338p4653338.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




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


Re: [xwiki-users] [Proposal] Improving the User Guide documentation

2010-03-01 Thread Vincent Massol

On Mar 1, 2010, at 11:08 AM, Thomas Mortagne wrote:

 On Mon, Mar 1, 2010 at 10:58, Silvia Rusu silvia.r...@xwiki.com wrote:
 
 Hello,
 
 I would like to propose we update the User Guide documentation so that it's
 more helpful to users that start using XWiki, whether they are programmers
 or not. The purpose of the guide is to get users up to speed with the XWiki
 basics, to gather these resources in one place.
 
 You can find my proposal for the user guide here:
 http://dev.xwiki.org/xwiki/bin/view/Drafts/UserGuide
 
 Please feel free to make suggestions for other pages to be included or
 changes you think should be made. Remember this is not a TOC for all the
 documentation, but rather a selection of links to help you get started with
 XWiki.
 
 It should maybe be renamed as Get Started with XWiki instead of
 User Guide then.

Actually it's meant to be a full User Guide to replace the current page at 
http://enterprise.xwiki.org/xwiki/bin/view/UserGuide/
(the existing Getting Started guide would disappear).

Basically the idea is to have a single user guide that starts with some basic 
feature explanations (the getting started part) and that increases in 
complexity as you progress through the guide.

Thanks
-Vincent

 Thanks,
 Silvia
 
 -
 Silvia Rusu
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] [Proposal] Improving the User Guide documentation

2010-03-01 Thread Vincent Massol
Hi Silvia,

On Mar 1, 2010, at 10:58 AM, Silvia Rusu wrote:

 
 Hello, 
 
 I would like to propose we update the User Guide documentation so that it's
 more helpful to users that start using XWiki, whether they are programmers
 or not. The purpose of the guide is to get users up to speed with the XWiki
 basics, to gather these resources in one place. 
 
 You can find my proposal for the user guide here:
 http://dev.xwiki.org/xwiki/bin/view/Drafts/UserGuide
 
 Please feel free to make suggestions for other pages to be included or
 changes you think should be made. Remember this is not a TOC for all the
 documentation, but rather a selection of links to help you get started with
 XWiki. 

Good start! It's cool that you're working on this, we absolutely need it :)

Some feedback:

* It doesn't feel like a guide right now. It seems to be a collection of links 
to other places. Personally I like that because it avoids duplication. However 
I wonder what will first time users think. It probably makes it hard for them 
to read. Also the current getting started guide from Guillaume (which would 
disappear as a consequence) has a lot more texts and explanations that need to 
be reintegrated in the user guide.
* It's missing an overall TOC
* I only see XWiki Basics but this guide is supposed to be a full guide to 
all features. Is it simply because it's not finished? How would you organize 
the rest?
* I think you need the guide to start with a single page that is a TOC and have 
more separate pages. This will come naturally as a consequence of adding more 
explanations/texts to the each section (see first point above).
* The guide needs a lot more screenshots IMO. There should be screenshots 
everywhere. Remember that an image is worth a thousand words ;)

Thanks
-Vincent

 Thanks, 
 Silvia

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


[xwiki-users] Localization testing howto for review

2010-03-01 Thread Valdis Vītoliņš
Please review localization testing page
http://l10n.xwiki.org/xwiki/bin/view/L10N/TranslationTesting
Update/move (add links to it) where it is necessary.

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


[xwiki-users] XWiki - Tomcat problem

2010-03-01 Thread hel-o

Hi,

had a big problem yesterday. Updated to XEM 2.2.1. Everything seemed to be
alright but after a while the server didn't respond anymore. 

After restart the server-log was huge and full of the following
Error-Messages:

jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(
Feb 28 10:24:25 rakis jsvc.exec[12827]: XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)
Feb 28 10:24:25 rakis jsvc.exec[12827]: #011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5681)#012#011at
com.xpn.xwiki.XWiki.formatDate(XWiki.java:5684)#012#011at

Re: [xwiki-users] [Proposal] Improving the User Guide documentation

2010-03-01 Thread Silvia Rusu

Hi Vincent,

Thanks for the feedback

On 3/1/2010 12:17 PM, vmassol [via XWiki] wrote:
 Hi Silvia,

 On Mar 1, 2010, at 10:58 AM, Silvia Rusu wrote:

 
  Hello,
 
  I would like to propose we update the User Guide documentation so that
 it's
  more helpful to users that start using XWiki, whether they are
 programmers
  or not. The purpose of the guide is to get users up to speed with the
 XWiki
  basics, to gather these resources in one place.
 
  You can find my proposal for the user guide here:
  http://dev.xwiki.org/xwiki/bin/view/Drafts/UserGuide
 
  Please feel free to make suggestions for other pages to be included or
  changes you think should be made. Remember this is not a TOC for all the
  documentation, but rather a selection of links to help you get started
 with
  XWiki.

 Good start! It's cool that you're working on this, we absolutely need it
 :)

 Some feedback:

 * It doesn't feel like a guide right now. It seems to be a collection of
 links to other places. Personally I like that because it avoids
 duplication. However I wonder what will first time users think. It
 probably makes it hard for them to read. Also the current getting started
 guide from Guillaume (which would disappear as a consequence) has a lot
 more texts and explanations that need to be reintegrated in the user
 guide.

I think the collection of links makes it easier for users to spot the
documentation they are interested in. I agree that Guillaume's Getting
Started guide needs to be reintegrated in the user guide as much as
possible. As a consequence I've added links to part of the pages. Other
issues however, like managing user groups, are better described in the
platform documentation (more information, screenshots), so I preferred
adding a link to those resources instead. If the Getting Started pages will
be removed altogether I can copy their content to different pages and set
the User Guide as their parent. I'll also include more screenshots.

 * It's missing an overall TOC

I added the TOC at the XWiki Basics level, but this can easily be changed.

 * I only see XWiki Basics but this guide is supposed to be a full guide
 to all features. Is it simply because it's not finished? How would you
 organize the rest?

My initial idea was for the guide to provide links to part of the
documentation. This would be the pages that are most necessary when starting
with XWiki and that don't require programming or advanced admin skills to
understand. (Hence This is not a TOC for all the documentation, but rather
a selection of links to help you get started with  XWiki. in the first
email).

I've extended the invitation for users to visit the Developer 
Administrator's Guides to further their skills and get a deeper
understanding of XWiki.

This way Getting started is interpreted not necessarily as the first steps
to take with XWiki, but rather as mastering the basics of working with
XWiki, with the possibility of enhancing your skills as you read the rest of
the documentation.

Should we add links to all our existing resources I think the User Guide may
get  too crowded and users with no significant coding experience may have
trouble understanding it.

WDYT?

 * I think you need the guide to start with a single page that is a TOC and
 have more separate pages. This will come naturally as a consequence of
 adding more explanations/texts to the each section (see first point
 above).
The idea behind the User Guide page was that of a TOC (this is why it looks
more like a collection of links). The small pieces of text are there to put
the links in context, so that they make sense when seeing them for the first
time.

I agree with the having more separate pages. While in some sections the
existing documentation is enough, for other areas we could add a lot more
details to make things clear. This is the case of the blog for example
(which is not yet included) for which there will be a separate guide. After
the blog guide is ready there will be of course a link to it from the User
Guide. The same goes for the WYSIWYG editor. This can be also done for other
sections if users consider the existing documentation is not
clear/descriptive enough.

 * The guide needs a lot more screenshots IMO. There should be screenshots
 everywhere. Remember that an image is worth a thousand words ;)

I think we should avoid having images on the User Guide's main page (the one
in Drafts) since this page's role is that of a TOC. I agree with having many
screenshots in the sub-guides (e.g. the blog and wysiwyg guides, the new
pages resulting from the old Getting Started guide)


 Thanks
 -Vincent

  Thanks,
  Silvia

 ___
 users mailing list
 [hidden email]
 http://lists.xwiki.org/mailman/listinfo/users


 View message @
 http://n2.nabble.com/Proposal-Improving-the-User-Guide-documentation-tp4653338p4653388.html
 To unsubscribe from [Proposal] Improving the User Guide documentation,
 click here.


This is 

Re: [xwiki-users] [Proposal] Improving the User Guide documentation

2010-03-01 Thread Valdis Vītoliņš
One of problem with xwiki is that resources are quite distributed.
Due to virtual wikis for www.xwiki.com, www.xwiki.org, dev.xwiki.org,
l10n.xwiki.org
even I am confused (though I have started using xwiki quite long time
ago)
where to find info (except for google) and where to put new entries
(except for comments).

So I see 2 options here, 
1. aggressively normalized content chunks with (as much as possible)
links between them
(it seems current approach but needs more normalizing and linking).
2. very centralized approach with one super entry point (domain
name/page/space),
where all necessary info can be found.

Valdis 


 On Mar 1, 2010, at 11:08 AM, Thomas Mortagne wrote:
 
  On Mon, Mar 1, 2010 at 10:58, Silvia Rusu silvia.r...@xwiki.com wrote:
  
  Hello,
  
  I would like to propose we update the User Guide documentation so that it's
  more helpful to users that start using XWiki, whether they are programmers
  or not. The purpose of the guide is to get users up to speed with the XWiki
  basics, to gather these resources in one place.
  
  You can find my proposal for the user guide here:
  http://dev.xwiki.org/xwiki/bin/view/Drafts/UserGuide
  
  Please feel free to make suggestions for other pages to be included or
  changes you think should be made. Remember this is not a TOC for all the
  documentation, but rather a selection of links to help you get started with
  XWiki.
  
  It should maybe be renamed as Get Started with XWiki instead of
  User Guide then.
 
 Actually it's meant to be a full User Guide to replace the current page at 
 http://enterprise.xwiki.org/xwiki/bin/view/UserGuide/
 (the existing Getting Started guide would disappear).
 
 Basically the idea is to have a single user guide that starts with some basic 
 feature explanations (the getting started part) and that increases in 
 complexity as you progress through the guide.
 
 Thanks
 -Vincent
 
  Thanks,
  Silvia
  
  -
  Silvia Rusu
 ___
 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] Login in xwiki through http client...

2010-03-01 Thread Nithya Vembu

Hi All,

   I just want to know is it possible to login in xwiki application through
httpclient. Now through xmlrpc and rest api we can. But for some purpose i
need to login through httpclient. If possible, any one can tell the url
along with the parameters needed to login.

  Thanks in advance.

Regards,
Nithya.
-- 
View this message in context: 
http://n2.nabble.com/Login-in-xwiki-through-http-client-tp4654361p4654361.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] Login in xwiki through http client...

2010-03-01 Thread Simon Glet
Hi,

You could use TcpTrace (http://www.pocketsoap.com/tcpTrace/) to
proxy-forward everything that is going on between your browser and XE.
The tool will allow you to investigate the HTTP messages.

Regards
Simon Glet

On Mon, Mar 1, 2010 at 9:15 AM, Nithya Vembu nithu...@gmail.com wrote:

 Hi All,

   I just want to know is it possible to login in xwiki application through
 httpclient. Now through xmlrpc and rest api we can. But for some purpose i
 need to login through httpclient. If possible, any one can tell the url
 along with the parameters needed to login.

  Thanks in advance.

 Regards,
 Nithya.
 --
 View this message in context: 
 http://n2.nabble.com/Login-in-xwiki-through-http-client-tp4654361p4654361.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

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


Re: [xwiki-users] Login in xwiki through http client...

2010-03-01 Thread Florin Ciubotaru
Hi,

On 3/1/2010 4:15 PM, Nithya Vembu wrote:
 Hi All,

 I just want to know is it possible to login in xwiki application through
 httpclient. Now through xmlrpc and rest api we can. But for some purpose i
 need to login through httpclient. If possible, any one can tell the url
 along with the parameters needed to login.

IMO, this has a lot of downsides and it's not a very reliable solution. 
Can you can you give some details about your use case?
AFAIK the login is not shared between the subsystems, so you will not be 
able to use the rest or xmlrpc features by logging in with http.
Anyway, to do the login for the standard distribution you need to post 
to: /xwiki/bin/loginsubmit/XWiki/XWikiLogin.
The parameters are: j_username, j_password, j_rememberme, and you will 
probably want to add xpage=plain and stop the redirects.

 From my experince this kind of approach ends up being quite costly.

Florin Ciubotaru


Thanks in advance.

 Regards,
 Nithya.


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


Re: [xwiki-users] [Proposal] Improving the User Guide documentation

2010-03-01 Thread Silvia Rusu

Hi,

After reading all your emails I think the best solution is having both a
guide for first time users and a complete guide to all XWiki features:

- The Getting Started page can become the draft included in this email
- The User Guide could be a TOC of all existing resources as Vincent
suggested. 

This way both experienced and unexperienced users are happy: 
- First time users can discover XWiki one step at a time with the help of
the Getting Started page
- Experienced users don't have to look for information through the different
wikis and can instead go to the User Guide TOC. 

Smaller guides will be made as suggested in the previous email for the blog,
wysiwyg, etc. These will be linked from both the Getting Started page and
the User Guide.

WDYT? 

-
Silvia Rusu
Tester  Documentation Writer - XWiki
http://twitter.com/silviarusu
-- 
View this message in context: 
http://n2.nabble.com/Proposal-Improving-the-User-Guide-documentation-tp4653338p4654614.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] Still issues with livetables - author property display ?

2010-03-01 Thread Jeremie BOUSQUET
Hi,

Again with livetables ...

Here I have a livetable showing objects from a custom class. One of the
properties displayed is named author. While the livetable shows well, and
the author properties are valued, the author column always remains
empty.
As it contained some   characters, I added html:true as a column
option, but still the column remains empty.

I was wondering, is there some mismatch between my author column and a
possible author property in xwiki ?

Note : I use XWiki 2.0.3, but I will soon test with 2.2.1 as I know there
were some improvements on livetables.

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


Re: [xwiki-users] Login in xwiki through http client...

2010-03-01 Thread Thomas Mortagne
On Mon, Mar 1, 2010 at 15:15, Nithya Vembu nithu...@gmail.com wrote:

 Hi All,

   I just want to know is it possible to login in xwiki application through
 httpclient. Now through xmlrpc and rest api we can. But for some purpose i
 need to login through httpclient. If possible, any one can tell the url
 along with the parameters needed to login.

See 
http://svn.xwiki.org/svnroot/xwiki/enterprise/trunk/distribution-test/webstandards-tests/src/test/it/com/xpn/xwiki/it/XHTMLValidationTest.java

And the method #testDocumentValidity

the important part is

method.setDoAuthentication(true);
method.setFollowRedirects(true);
method.addRequestHeader(Authorization, Basic  + new
String(Base64.encodeBase64(Admin:admin.getBytes(;



  Thanks in advance.

 Regards,
 Nithya.
 --
 View this message in context: 
 http://n2.nabble.com/Login-in-xwiki-through-http-client-tp4654361p4654361.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




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


[xwiki-users] XWiki Logo Challenge

2010-03-01 Thread Jean-Vincent Drean
Hi XWikiers!

It's time to inject new blood in XWiki.org. While discussing about
improving its look  feel we thought it would be a good time to create
a new logo for XWiki.org as it's an important part of a website
design.
We borrowed the current logo from XWiki.com some time ago and, in
order to keep the distinction between the company and the Open-Source
project clear, we think XWiki.org websites and projects need their own
logo.

As you may know, we love proposals, that's why we'd like to make the
logo design an open challenge, anyone interested can join and a vote
amongst the community will determine the winner. Even if the main
purpose of the challenge is to have fun, the person whose design gets
selected will receive XWiki goodies, including his logo printed on a
t-shirt obviously :) The designer of the selected logo will enter the
Hall Of Fame, and last but not least reward : the design will be
spread wide (XWiki Enterprise is more than 1 downloads/month and
XWiki.org web site more than 5 visits a month).

The challenge takes place there:
http://dev.xwiki.org/xwiki/bin/view/Community/LogoChallenge

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


Re: [xwiki-users] Localization testing howto for review

2010-03-01 Thread Thomas Mortagne
On Mon, Mar 1, 2010 at 12:34, Valdis Vītoliņš valdis.vitol...@odo.lv wrote:
 Please review localization testing page
 http://l10n.xwiki.org/xwiki/bin/view/L10N/TranslationTesting
 Update/move (add links to it) where it is necessary.

Looks good, now i'm not sure what is the best place to put that. Maybe
in http://platform.xwiki.org/xwiki/bin/view/Features/I18N instead of
l10n wiki and link
http://platform.xwiki.org/xwiki/bin/view/Features/I18N somewhere in
l10n wiki like the home page or a HELP panel on the right. In any case
http://platform.xwiki.org/xwiki/bin/view/Features/I18N should be
linked somewhere in l10n wiki i think.


 Thanks,
 Valdis
 ___
 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


Re: [xwiki-users] Login in xwiki through http client...

2010-03-01 Thread Nithya Vembu

Hi All,

   Thanks for you valuable response.

  I am asking the httpclient for doing my own sso login.

  I am using JBoss portal which using OpenSSO - OpenDS as a user datastore.
The same user get store in both JForum application's seperate database and
also in xwiki database.

  In JForum i followed this approach to do the single sign on.
  1. Check for my LTPA token cookie.
  2. If its there i will get the user details with username and password
from OpenSSO and do the login in jforum through the http client to maintain
the user in session.
  3. Add a cookie for JForum application.
  (The user will be in session till the LTPA token get expire).

But i am not getting clear idea about implementation of my own sso in xwiki. 
Any solution please suggest.

Thanks,
Nithya.
-- 
View this message in context: 
http://n2.nabble.com/Login-in-xwiki-through-http-client-tp4654361p4655517.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] Localization testing howto for review

2010-03-01 Thread Vincent Massol

On Mar 1, 2010, at 6:02 PM, Thomas Mortagne wrote:

 On Mon, Mar 1, 2010 at 12:34, Valdis Vītoliņš valdis.vitol...@odo.lv wrote:
 Please review localization testing page
 http://l10n.xwiki.org/xwiki/bin/view/L10N/TranslationTesting
 Update/move (add links to it) where it is necessary.
 
 Looks good, now i'm not sure what is the best place to put that. Maybe
 in http://platform.xwiki.org/xwiki/bin/view/Features/I18N instead of
 l10n wiki and link
 http://platform.xwiki.org/xwiki/bin/view/Features/I18N somewhere in
 l10n wiki like the home page or a HELP panel on the right. In any case
 http://platform.xwiki.org/xwiki/bin/view/Features/I18N should be
 linked somewhere in l10n wiki i think.

The Features space is the user guide. Testing new translation is more for 
Admins so I'd suggest putting this in the AdminGuide instead.

Thanks
-Vincent

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


Re: [xwiki-users] Login in xwiki through http client...

2010-03-01 Thread Thomas Mortagne
On Mon, Mar 1, 2010 at 18:08, Nithya Vembu nithu...@gmail.com wrote:

 Hi All,

   Thanks for you valuable response.

  I am asking the httpclient for doing my own sso login.

  I am using JBoss portal which using OpenSSO - OpenDS as a user datastore.
 The same user get store in both JForum application's seperate database and
 also in xwiki database.

  In JForum i followed this approach to do the single sign on.
  1. Check for my LTPA token cookie.
  2. If its there i will get the user details with username and password
 from OpenSSO and do the login in jforum through the http client to maintain
 the user in session.
  3. Add a cookie for JForum application.
  (The user will be in session till the LTPA token get expire).

 But i am not getting clear idea about implementation of my own sso in xwiki.

No need, you can find an sunsso/opensso authenticator on
http://svn.xwiki.org/svnroot/xwiki/contrib/sandbox/xwiki-authenticator-sunsso/
;)

 Any solution please suggest.

 Thanks,
 Nithya.
 --
 View this message in context: 
 http://n2.nabble.com/Login-in-xwiki-through-http-client-tp4654361p4655517.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




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


Re: [xwiki-users] Localization testing howto for review

2010-03-01 Thread Thomas Mortagne
On Mon, Mar 1, 2010 at 18:34, Vincent Massol vinc...@massol.net wrote:

 On Mar 1, 2010, at 6:02 PM, Thomas Mortagne wrote:

 On Mon, Mar 1, 2010 at 12:34, Valdis Vītoliņš valdis.vitol...@odo.lv wrote:
 Please review localization testing page
 http://l10n.xwiki.org/xwiki/bin/view/L10N/TranslationTesting
 Update/move (add links to it) where it is necessary.

 Looks good, now i'm not sure what is the best place to put that. Maybe
 in http://platform.xwiki.org/xwiki/bin/view/Features/I18N instead of
 l10n wiki and link
 http://platform.xwiki.org/xwiki/bin/view/Features/I18N somewhere in
 l10n wiki like the home page or a HELP panel on the right. In any case
 http://platform.xwiki.org/xwiki/bin/view/Features/I18N should be
 linked somewhere in l10n wiki i think.

 The Features space is the user guide. Testing new translation is more for 
 Admins so I'd suggest putting this in the AdminGuide instead.

Indeed an Internationalization section would be good on
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/ page.


 Thanks
 -Vincent

 ___
 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


[xwiki-users] No FormBeanConfig

2010-03-01 Thread Paul Libbrecht

Hello XWiki experts,

what can mean the following error which I now have by tons in my log:

 2010-03-01 23:32:19,458 WARN  util.RequestUtils  - No FormBeanConfig  
 found under 'view'

thanks in advance

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


Re: [xwiki-users] [Proposal] Improving the User Guide documentation

2010-03-01 Thread Caleb James DeLisle
+1

I believe in making XWiki as friendly as possible to application
developers so I think we should cater to people who are new to XWiki
but have experience in development. As an example I found the FAQ
Tutorial confusing and patronizing but I was at home with the object
editor.

Anyway just an idea and big +1 for all kinds of documentation.

Caleb


Silvia Rusu wrote:
 Hi,
 
 After reading all your emails I think the best solution is having both a
 guide for first time users and a complete guide to all XWiki features:
 
 - The Getting Started page can become the draft included in this email
 - The User Guide could be a TOC of all existing resources as Vincent
 suggested. 
 
 This way both experienced and unexperienced users are happy: 
 - First time users can discover XWiki one step at a time with the help of
 the Getting Started page
 - Experienced users don't have to look for information through the different
 wikis and can instead go to the User Guide TOC. 
 
 Smaller guides will be made as suggested in the previous email for the blog,
 wysiwyg, etc. These will be linked from both the Getting Started page and
 the User Guide.
 
 WDYT? 
 
 -
 Silvia Rusu
 Tester  Documentation Writer - XWiki
 http://twitter.com/silviarusu

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


[xwiki-users] Strange ajax + json issue

2010-03-01 Thread Jeremie BOUSQUET
Hello,

This is for something I'm trying to develop ... And I'm not sure it has
something to do with XWiki, but who knows ?

In a page I call a particular init() function like this :

Event.observe(window, load, init);

This init() aims at loading some JSON data from another page using Ajax. I
was inspired by the livetable.js here :-)

var json = 
var ajx=new Ajax.Request(  
http://localhost:8081/xwiki/bin/view/Dev/JSONProvider?xpage=plainoutputSyntax=plain;,

   {method:get,onSuccess:function(transport)  {  json =
eval((+transport.responseText+));  }
   }
)

This Javascript is in a .js file along with other resources on the server
filesystem. It is loaded with $xwiki.jsfx.use(...) .
When I debug step by step using Firebug, everything is fine, json variable
contains what I expect.
But when I'm not debugging and refresh the page, json variable is empty
... (breakpointing AFTER ajax call shows it). Though I can see in Firebug
that my Ajax http request finished with a 200 OK code.

Do you think it might be linked to the fact this method is called on page
load ? I can't see how it's different than other ajax calls in xwiki ...


Thanks for any help,
Jeremie
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Strange ajax + json issue

2010-03-01 Thread Sergiu Dumitriu
On 03/02/2010 01:15 AM, Jeremie BOUSQUET wrote:
 Hello,

 This is for something I'm trying to develop ... And I'm not sure it has
 something to do with XWiki, but who knows ?

 In a page I call a particular init() function like this :

 Event.observe(window, load, init);

 This init() aims at loading some JSON data from another page using Ajax. I
 was inspired by the livetable.js here :-)

 var json = 
 var ajx=new Ajax.Request(  
 http://localhost:8081/xwiki/bin/view/Dev/JSONProvider?xpage=plainoutputSyntax=plain;,

You should use what Prototype already offers:
- set the proper MIME type for the response from velocity, with 
$response.setContentType('application/json')
- write well formed JSON (also include the ( and ) that you append 
before the eval in your current code
- use transport.responseJSON to read the already parsed JSON data

 {method:get,onSuccess:function(transport)  {  json =
 eval((+transport.responseText+));  }
 }
 )

 This Javascript is in a .js file along with other resources on the server
 filesystem. It is loaded with $xwiki.jsfx.use(...) .
 When I debug step by step using Firebug, everything is fine, json variable
 contains what I expect.
 But when I'm not debugging and refresh the page, json variable is empty
 ... (breakpointing AFTER ajax call shows it). Though I can see in Firebug
 that my Ajax http request finished with a 200 OK code.

Can you also check the content of the response, to see if it's well 
formed JSON? If you also set the right MIME type, then Firebug should 
provide a tab with the JSON data of the response (depends on the actual 
Firebug version).

 Do you think it might be linked to the fact this method is called on page
 load ? I can't see how it's different than other ajax calls in xwiki ...

-- 
Sergiu Dumitriu
http://purl.org/net/sergiu/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Strange ajax + json issue

2010-03-01 Thread Jeremie BOUSQUET
Hello  thx Sergiu,

I changed to json content-type, and responseJSON as you proposed.

I checked that my GET request is 200 OK, and in the response the JSON tab in
Firebug shows well formed JSON. But still my json variable is empty at
execution time !
By the way if I breakpoint on or before the Ajax.Request() and step over the
code, the json variable gets properly initiated and executed. Where it's
used afterwards, it's perfectly well formed.

I also added url parameters as 'parameters' of Ajax.Request instead of
directly in the url but no change.

Could it be a problem in the way I pass my json variable ? Declared outside
of Ajax.Request(...) ? It must be something really stupid but I just don't
understand ...

Jeremie

2010/3/2 Sergiu Dumitriu ser...@xwiki.com

 On 03/02/2010 01:15 AM, Jeremie BOUSQUET wrote:
  Hello,
 
  This is for something I'm trying to develop ... And I'm not sure it has
  something to do with XWiki, but who knows ?
 
  In a page I call a particular init() function like this :
 
  Event.observe(window, load, init);
 
  This init() aims at loading some JSON data from another page using Ajax.
 I
  was inspired by the livetable.js here :-)
 
  var json = 
  var ajx=new Ajax.Request(  
 
 http://localhost:8081/xwiki/bin/view/Dev/JSONProvider?xpage=plainoutputSyntax=plain
 ,

 You should use what Prototype already offers:
 - set the proper MIME type for the response from velocity, with
 $response.setContentType('application/json')
 - write well formed JSON (also include the ( and ) that you append
 before the eval in your current code
 - use transport.responseJSON to read the already parsed JSON data

  {method:get,onSuccess:function(transport)  {  json =
  eval((+transport.responseText+));  }
  }
  )
 
  This Javascript is in a .js file along with other resources on the server
  filesystem. It is loaded with $xwiki.jsfx.use(...) .
  When I debug step by step using Firebug, everything is fine, json
 variable
  contains what I expect.
  But when I'm not debugging and refresh the page, json variable is empty
  ... (breakpointing AFTER ajax call shows it). Though I can see in Firebug
  that my Ajax http request finished with a 200 OK code.

 Can you also check the content of the response, to see if it's well
 formed JSON? If you also set the right MIME type, then Firebug should
 provide a tab with the JSON data of the response (depends on the actual
 Firebug version).

  Do you think it might be linked to the fact this method is called on page
  load ? I can't see how it's different than other ajax calls in xwiki ...

 --
 Sergiu Dumitriu
 http://purl.org/net/sergiu/
 ___
 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] Strange ajax + json issue

2010-03-01 Thread PERINAUD Christophe
Hello,

Can't it be a timing problem ? When using Firebug, the system has time to 
retrieve result from the AJAX request but at execution time it has not ? 

 -Message d'origine-
 De : users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] 
 De la part de Jeremie BOUSQUET
 Envoyé : mardi 2 mars 2010 08:30
 À : XWiki Users
 Objet : Re: [xwiki-users] Strange ajax + json issue
 
 Hello  thx Sergiu,
 
 I changed to json content-type, and responseJSON as you proposed.
 
 I checked that my GET request is 200 OK, and in the response 
 the JSON tab in
 Firebug shows well formed JSON. But still my json variable is empty at
 execution time !
 By the way if I breakpoint on or before the Ajax.Request() 
 and step over the
 code, the json variable gets properly initiated and executed. 
 Where it's
 used afterwards, it's perfectly well formed.
 
 I also added url parameters as 'parameters' of Ajax.Request instead of
 directly in the url but no change.
 
 Could it be a problem in the way I pass my json variable ? 
 Declared outside
 of Ajax.Request(...) ? It must be something really stupid but 
 I just don't
 understand ...
 
 Jeremie
 
 2010/3/2 Sergiu Dumitriu ser...@xwiki.com
 
  On 03/02/2010 01:15 AM, Jeremie BOUSQUET wrote:
   Hello,
  
   This is for something I'm trying to develop ... And I'm 
 not sure it has
   something to do with XWiki, but who knows ?
  
   In a page I call a particular init() function like this :
  
   Event.observe(window, load, init);
  
   This init() aims at loading some JSON data from another 
 page using Ajax.
  I
   was inspired by the livetable.js here :-)
  
   var json = 
   var ajx=new Ajax.Request(  
  
  
 http://localhost:8081/xwiki/bin/view/Dev/JSONProvider?xpage=pl
 ainoutputSyntax=plain
  ,
 
  You should use what Prototype already offers:
  - set the proper MIME type for the response from velocity, with
  $response.setContentType('application/json')
  - write well formed JSON (also include the ( and ) that you append
  before the eval in your current code
  - use transport.responseJSON to read the already parsed JSON data
 
   {method:get,onSuccess:function(transport)  {  json =
   eval((+transport.responseText+));  }
   }
   )
  
   This Javascript is in a .js file along with other 
 resources on the server
   filesystem. It is loaded with $xwiki.jsfx.use(...) .
   When I debug step by step using Firebug, everything is 
 fine, json
  variable
   contains what I expect.
   But when I'm not debugging and refresh the page, json 
 variable is empty
   ... (breakpointing AFTER ajax call shows it). Though I 
 can see in Firebug
   that my Ajax http request finished with a 200 OK code.
 
  Can you also check the content of the response, to see if it's well
  formed JSON? If you also set the right MIME type, then 
 Firebug should
  provide a tab with the JSON data of the response (depends 
 on the actual
  Firebug version).
 
   Do you think it might be linked to the fact this method 
 is called on page
   load ? I can't see how it's different than other ajax 
 calls in xwiki ...
 
  --
  Sergiu Dumitriu
  http://purl.org/net/sergiu/
  ___
  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
 


This e-mail is intended only for the addressee named above. It does not bind 
the sender, except in the case of an existing written convention with the 
addressee. This e-mail may contain material that is confidential and privileged 
for the sole use of the intended recipient. Any review, reliance or 
distribution by others or forwarding without express permission is strictly 
prohibited and may be unlawful. If you are not the intended recipient, please 
contact the sender and delete all copies.

While reasonable precautions have been taken to ensure that this e-mail and any 
attachments are free from any computer virus or similar defect, no liability 
will be accepted in that respect. Anyone accessing this e-mail must take their 
own precautions as to security and virus protection.

KBL European Private Bankers S.A., 43 boulevard Royal L-2955 Luxembourg, R.C.S. 
Luxembourg B 6395, T (352) 47 97 1
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users