Thanks for the tip! I also see that there's an xwiki plugin over at
http://www.jkraemer.net/static/maven/xwiki/plugins/emailnotify-plugin/index…
using this api. Good job! This is probably just what I was looking for.
cheers :-)
Thomas
Sergiu Dumitriu wrote:
> Hi,
>
> Yes, you can do that, and there's an API for this in XWiki. See
> com.xpn.xwiki.notify, and search the code for usage examples.
>
> On 8/13/07, Thomas Drevon <thomas.drevon(a)intermedia.uio.no> wrote:
>> Hi!
>>
>> I'm trying to make xwiki do something (run a line of velocity code)
>> after somebody has successfully saved an xwiki document. Does anybody
>> know of a way to hook into xwikis internal mechanisms when this has
>> taken place?
>>
>> In fact, any insight at all in the request-response loop of xwiki
>> (especially during save) would be very helpful!
>>
>>
>> cheers :-)
>> Thomas
>>
>
> Sergiu
Hi,
I am still testing the XMLRPC interface. This the first result I have noticed:
1.There are some messages that are not implemented:
-public Map getUser(String token, String username);
-public void addGroup(String token, String group);
-public Object[] getUserGroups(String token, String username);
-public void addUserToGroup(String token, String username, String groupname);
2.To make the update or the creation of a page work normally, I have to get the content of a page and to modify his element to have the result I want. This is linked with the fact that we have to use a Map Object to define a page or Map is an interface. So the other solution I haven't tested is to implement the interface Map instead of getting a page and modifying it.
3.For "public Object[] getComments(String token, String pageId);" I have some problem to make it work normally.
4.Another result is that I have to flush the cash very often in order to make the Update and creation of a page work. If I don't do that I have to restart my server to see the changes. When all work correct with a login/logout, we see the changes.
5.When I try to get the content of a document created by a Class, I get the content of the Template linked to the Class. I don't know if this is normal or not.
I don't know if there are other people testing the interface XMLRPC, but if this can give more information to someone... If there is other things I don't know that can help, any suggestion will be welcomed.
Bye
Hi everyone!
I am new to xwiki and am having trouble finding out how to configure
blog clients for remote blogging.
Can anybody tell me the weblog api URL?
TIA
Cheers
Dan
************************************************************************
DISCLAIMER
The information contained in this e-mail is confidential and is intended
for the recipient only.
If you have received it in error, please notify us immediately by reply
e-mail and then delete it from your system. Please do not copy it or
use it for any other purposes, or disclose the content of the e-mail
to any other person or store or copy the information in any medium.
The views contained in this e-mail are those of the author and not
necessarily those of Admenta UK Group.
Admenta UK plc is a company incorporated in England and Wales
under company number 3011757 and whose registered office
is at Sapphire Court, Walsgrave Triangle, Coventry CV2 2TX
************************************************************************
Hi!
I'm trying to make xwiki do something (run a line of velocity code)
after somebody has successfully saved an xwiki document. Does anybody
know of a way to hook into xwikis internal mechanisms when this has
taken place?
In fact, any insight at all in the request-response loop of xwiki
(especially during save) would be very helpful!
cheers :-)
Thomas
Can anyone answer this question?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kito D. Mann - Author, JavaServer Faces in Action
<http://www.virtua.com/> http://www.virtua.com - JSF/Java EE consulting,
training, and mentoring
<http://www.jsfcentral.com/> http://www.JSFCentral.com - JavaServer Faces
FAQ, news, and info
From: Kito D. Mann [mailto:kmann@virtua.com]
Sent: Sunday, August 05, 2007 2:15 AM
To: xwiki-users(a)objectweb.org
Subject: [xwiki-users] xWiki and eXo 1.1.x
Hello,
Is there a version of xWiki that works with eXo portal 1.1.x?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kito D. Mann - Author, JavaServer Faces in Action
<http://www.virtua.com/> http://www.virtua.com - JSF/Java EE consulting,
training, and mentoring
<http://www.jsfcentral.com/> http://www.JSFCentral.com - JavaServer Faces
FAQ, news, and info
* Sign up for the JSF Central newsletter!
http://oi.vresp.com/?fid=ac048d0e17 *
Hi All,Here are my choices/picks for creating a new Class/Sheet/Template...According to: http://www.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialCan anyone see some obvious mistake ?------------------------------------------Step1 - Create Class------------------------------------------Create Class with these values:>>Web: Try7>>Class: Try7Faq------------------------------------------Step1b - Complete Edit Save of Class------------------------------------------Add Title:>>'Try7 Class Title'Leave Default Parent - but Change defaultweb:>>#set($defaultparent = 'XWiki.${class}Class')>>#set($defaultweb = 'Try7')------------------------------------------Step2 - Edit Class Add Properties------------------------------------------Added two TextArea properties: TestA and TestB - default options------------------------------------------Step3 - Click Create Document Sheet------------------------------------------Add Title:>> Try7 Document Sheet TitleChange Velocity template text:>>#set($class = $doc.getObject('Try7.Try7Faq').xWikiClass)------------------------------------------Step4 - Click Create Document Template------------------------------------------Add Title:>>Try7 Document Template TitleChange Velocity template text:>>#includeForm('Try7.Try7FaqClassSheet')------------------------------------------Step5 - Click Create Document Template------------------------------------------Click on ObjectsTab -- 'Add Object from this Class' dropdown:>>Added Try7.Try7FaqClass to ObjectsTab of Document Template.**NOTE: The two textareas show up fine - OK...Save and Exit...------------------------------------------TEST - Create Instance Of Object/Document------------------------------------------Click on the create document button....>> Only the document title shows -- properties/textareas that wereadded do not show ? I'm not sure why....Attached is an error stack (maybe unrelated) that I'm getting but not consistently when going through the above steps....ThanksFrankFrom: frankmisa(a)hotmail.comTo: xwiki-users(a)objectweb.orgSubject: Authoring templates and design sheets not working for custom classDate: Thu, 9 Aug 2007 19:43:31 +0000Hi All,I'm really disappointed by the lack of in depth XWiki developer tutorial.XWiki has been around for a while -- and the only good material I can find is here:http://www.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialhttp://www.xwi… above links are the level of tutorial I'm looking for -- but they don't go far/long enough....I've followed the FAQTutorial steps and cannot get the example to work as described.I've performed all steps as described -- without error/warning -- but when I try to create a new custom FAQ document -- my class properties (question & answer) are not being shown on the edit/creation page ? It's just blank space with two rows of Cancel/Save-Continue/Save-View etc buttons.* I'm using XWIKI: 1.1-milestone-3.3933* On Windows XP with Apache Tomcat 5.5.12* I'm using MySQL as the database - I think it's UTF8 - Server version: 5.0.13-rc-nt1) When I'm querying the database -- the tables: xwikiproperties - is being populated -- but newly added entries seem to have negative values for XWO_ID column. xwikiobjects - is being populated -- but newly added entries seem to have negative values for XWO_ID column. xwikiclasses - is empty ? why ?2) I would be very grateful to a link to some decent tutorial/documentation -- even if I have to pay for it...It would be great to see something along the lines of the 'FAQTutorial' but with more indepth look at available Velocity objects/macros and discussion of how Documents/Classes/Objects/Properties are actually related....I can't believe this stuff isn't better documented :(Hope someone can help me out...ThanksFrankExplore the seven wonders of the world Learn more!
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
Thanks for replying...Count me in Vincent....If you have some ideas (to get me going with my example) -- I would gladly help expand the tutorial section.What do you think I've done wrong ? Re: Class parameters not showing Do you need anymore info. from me -- or do you already have a good idea of what my mistake is.Let me know....ThanksFrankFrom: vincent(a)massol.netDate: Fri, 10 Aug 2007 09:03:59 +0200To: xwiki-users(a)objectweb.orgSubject: Re: [xwiki-users] Authoring templates and design sheets not working for custom classHi Frank,On Aug 9, 2007, at 9:43 PM, Frank Misa wrote: Hi All,I'm really disappointed by the lack of in depth XWiki developer tutorial.XWiki has been around for a while -- and the only good material I can find is here:http://www.xwiki.org/xwiki/bin/view/DevGuide/FAQTutorialhttp://www.xwi… is a great opportunity for you to set this right! :)Once you understand it, could we count on you to improve the documentation on the xwiki.org wiki?The above links are the level of tutorial I'm looking for -- but they don't go far/long enough....I've followed the FAQTutorial steps and cannot get the example to work as described.I've performed all steps as described -- without error/warning -- but when I try to create a new custom FAQ document -- my class properties (question & answer) are not being shown on the edit/creation page ? It's just blank space with two rows of Cancel/Save-Continue/Save-View etc buttons.* I'm using XWIKI: 1.1-milestone-3.3933* On Windows XP with Apache Tomcat 5.5.12* I'm using MySQL as the database - I think it's UTF8 - Server version: 5.0.13-rc-nt1) When I'm querying the database -- the tables: xwikiproperties - is being populated -- but newly added entries seem to have negative values for XWO_ID column. xwikiobjects - is being populated -- but newly added entries seem to have negative values for XWO_ID column. xwikiclasses - is empty ? why ?2) I would be very grateful to a link to some decent tutorial/documentation -- even if I have to pay for it...It would be great to see something along the lines of the "FAQTutorial" but with more indepth look at available Velocity objects/macros and discussion of how Documents/Classes/Objects/Properties are actually related....I can't believe this stuff isn't better documented :(Documentation is done by the community, i.e. people like you. I agree it's a little bit disappointing that lots of users do not participate more to documentation since they get a software for free, ask a lot of questions and when they get their answers they don't even bother to reinject their knowledge into the documentation for the benefit of others. I hope you're not like these users! :)I can help if you're ok to work on improving the tutorials with the missing information.WDYT?Thanks-Vincent
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
Hi,
We had a problem yesterday morning with our xWiki. I exported all pages to a xar file, reinstalled xwiki and imported the xar file but after a long time it says:
No documents found in the selected archive
Any ideas?
Juan Manuel Urraburu
E-mail y MSN: juan(a)prorm.com
Web: http://www.prorm.com
Is the example AD configuration in the Wiki the right way to do things?
My understanding is that the bind_DN and bind_pass are for setting the
username and password XWiki will use to connect to the LDAP server in
order to do a search, then the UID_attr field is searched for the
username entered on the form.
If that is correct then the bind_dn and bind_pass should either be
hardcoded to a special AD user with restricted privileges, or left blank
to bind anonymously. (I see no mention of anonymous binding?)
For the first of these XWiki connects to AD ok but then seems to
'authenticate OK' whatever username/password I enter on the form even if
the user does not exist in AD at all. Is this a bug?
I can't seem to get anonymous binding to work - if I leave bind_dn and
bind_pass empty or comment out the entries entirely I always get the
'LDAP Bind failed with Exception Invalid Credentials' error message. My
LDAP server does allow anonymous binding - I've tested this in LDAP Browser.
Cheers
Neil
Hi all,
I hope I can get some help on this as I really don't know what to do...
I'm making the last preparations to move my experimental xwiki to another machine for actual use but my Imports don't work. I can make a backup.xar file using the Export tool but as I try to import it again I get a huge error message. I tried attaching it and sending it with this mail but I got it back because it was too large... The first part of it goes like this:
Error number 3232 in 3: Exception while saving attachment Backup.xar of document XWiki.Import
Wrapped Exception: Error number 3231 in 3: Exception while loading attachment Backup.xar of document XWiki.Import
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=3Dfalse for more info) setter of com.xpn.xwiki.doc.XWikiAttachmentArchive.setArchive
com.xpn.xwiki.XWikiException: Error number 3232 in 3: Exception while saving attachment Backup.xar of document XWiki.Import
Wrapped Exception: Error number 3231 in 3: Exception while loading attachment Backup.xar of document XWiki.Import
Wrapped Exception: exception setting property value with CGLIB (set hibernate.cglib.use_reflection_optimizer=3Dfalse for more info) setter of com.xpn.xwiki.doc.XWikiAttachmentArchive.setArchive
After searching the mailinglist archives I've tried the following:
- set the -Xms512m to -Xmx521m in catalina.sh
- remove documents with Swedish carachters in their names
- made a much smaller .xar file by changing the package.xml file and only including what I left in there.
- imported old backups that I know worked back then, but it gives me the same error as all the others.
I'm using MySQL, Tomcat, XWiki 1.0 and it has all worked before... Please help!
Thanks,
//Karin