[xwiki-users] XWikiLock and it's duration time

2009-05-09 Thread ladar
Hi, by changing manullay the date attribute in table xwikilock I have found that xwikilock lasts only about 30-45 minutes (approximatelly). Is there any way how to increase this time? I haven't found it neither in xwiki.cfg nor hibernate.cfg.xml... And second question, if one user starts editing

Re: [xwiki-users] XWikiLock and it's duration time

2009-05-09 Thread ladar
Thanks a lot -- View this message in context: http://n2.nabble.com/XWikiLock-and-it%27s-duration-time-tp2850310p2850557.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org

Re: [xwiki-users] How to change rights correctly in java?

2009-04-03 Thread ladar
Thanks. That is probably the problem. I didn't realize that I had to use fullname... -- View this message in context: http://n2.nabble.com/How-to-change-rights-correctly-in-java--tp2575044p2579733.html Sent from the XWiki- Users mailing list archive at Nabble.com.

[xwiki-users] How to change rights correctly in java?

2009-04-02 Thread ladar
Hi, I'm trying make plugin that allows changing rights of parent page and automatically changes rights of its children pages. Now, this plugin is almost working, it is really changing the rights of all pages. But when I select Edit- Page Access Rights then there are no icons in the rights

Re: [xwiki-users] How to get real content of wiki page in plugin Api?

2008-11-04 Thread ladar
Thank you again, you are right. It was problem with the recursive call. -- View this message in context: http://n2.nabble.com/How-to-get-%22real%22-content-of-wiki-page-in-plugin-Api--tp1320740p1455729.html Sent from the XWiki- Users mailing list archive at Nabble.com.

Re: [xwiki-users] How to get real content of wiki page in plugin Api?

2008-11-02 Thread ladar
Hello again, I'm still playing with the content of the page and I'm trying to use $xwiki.parseContent($doc.content) as Sergiu advised me. On the page I have just simple form with one submit button and some text. My plugin is called after submitting the form #if($request.Send)

Re: [xwiki-users] How to get real content of wiki page in plugin Api?

2008-10-13 Thread ladar
Thanks, but it is not working. With this method I get hmtl code, but better than nothing :-) -- View this message in context: http://n2.nabble.com/How-to-get-%22real%22-content-of-wiki-page-in-plugin-Api--tp1320740p1321907.html Sent from the XWiki- Users mailing list archive at Nabble.com.

Re: [xwiki-users] Problems with new attachment made in plugin Api

2008-10-13 Thread ladar
Thanks, works perfect -- View this message in context: http://n2.nabble.com/Re%3A-Problems-with-new-attachment-made-in-plugin-Api-tp1321114p1321909.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list

[xwiki-users] Problems with new attachment made in plugin Api

2008-10-11 Thread ladar
Hello, I'm trying to make some kind of convertor plugin from XWiki syntax to DokuWiki syntax. I want to have a button on page and after pushing it I want to create new attachment to this page with content of the page in dokuwiki syntax. So I have something like this in my plugin Api:

[xwiki-users] How to get real content of wiki page in plugin Api?

2008-10-11 Thread ladar
Hello, I'm trying to work with the content of wiki page in my plugin Api. I can access the content through method getContent() called with XWikiDocument. However I have an object added to the page and I'm using #includeForm(XWiki.PersonClassSheet) and this is the problem, because with method

[xwiki-users] Object properties problem

2008-09-22 Thread ladar
Hi, I have just started to work with XWiki and I have some problems with XWiki Objects. I created simple new Class with 3 String properties (name, surname, text) and this ClassSheet (copied from xwiki.org): #set($class = $doc.getObject(XWiki.AtlantisClass).xWikiClass) #set($hasProps = false)

Re: [xwiki-users] Object properties problem

2008-09-22 Thread ladar
I'm really sorry, I have just deleted the content Custom display and it works. I just didn't understand the Custom display I thought that it will show only if the property value is empty or undefined -- View this message in context: