On Oct 31, 2007, at 11:35 AM, V. Harikrishnan Nair wrote:
Gosh ! I didn't realise that I could create such an uproar ! :-))
The uproar was caused by the fact that you asked for help without explaining what you wanted to do... If you had explained what you just explained below I guess it would have saved us a few emails ;) One option you should consider is to define standard XWiki Classes and map them to your own database schema using what is called "custom mapping". Unfortunately I cannot tell you much more other than it's doable. Anyone having any experience with custom mapping in XWiki? Thanks -Vincent
To answer Q1. -> I wanted to make XWiki a platform for integrating some tools like XPlanner with a Project Mangement template which carries copious amounts of data in its database and also as an area where employees can interact with each other and share/edit data (making use of versioning). This is on an experimental basis.
All I wanted to do is -
1. Insert/read data from the company's database (I'm just doing what I am told to do, okay ?).
2. Allow employees to access their domains in the mail server/ Bugzilla etc. without the need to type in username & password repeatedly - just login to XWiki and go to their spaces using links. Something like MS Outlook allows you to access your all your mail accounts.
3. Enter documents under discussion which can be edited by multiple persons (along with histories and RSS)
I hope this is clear enough... :-) Xwiki is serving its purpose but I guess just wanted to bend it a bit too much !
Harikrishnan
Ricardo RodrÃguez wrote:
Vincent Massol wrote:
Since I was probably not clear let me try to rephrase what I meant:
1) If what you to manipulate is data generated by xwiki (i.e. everything in the XWiki database) then you should use the API provided by xwiki and not manipulate this data directly.
2) If what you want to manipulate is your own data (for example data coming from other systems) then you have to use direct JDBC connection for sure.
This is why I asked for Harikrishan's use case as he seems to be in use case 1 since he mentioned something about saving some text field in the database. Typically, the standard way for doing this in XWiki is to create an Object and let XWiki save that Object to the database.
Hope it makes sense, -Vincent Definitely. It makes complete sense. I'm also a bit confused by Harikrishnan messages, that is the reason I've brought in our own case to see where, if anywhere, Harikrishnan graft to.
Keeping track of this issue,
-- Ricardo RodrÃguez Your XEN ICT Team
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://www.nabble.com/Adding-a-document-in-XWiki.org-tf4723188.html#a1350623... Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users