Vincent Massol wrote:
You're the first one I see to have this need so I'm curious to
understand what's your use case first. My belief is that you're not
using XWiki properly.
Me again jumping in others' threads! :-(
Before XWiki arrives to our lives, their are much easier now, we use
O
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
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 y
The Xwiki system has it's own internal database structure; called using
"$xwiki.search(type_hql_here)".
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Vincent Massol
Sent: 31 October 2007 07:01
To: XWiki Users
Subject: Re: [xwiki-users] Sample Groovy Co
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
Gosh ! I didn't realise that I could create such an uproar ! :-))
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
V. Harikrishnan Nair wrote:
Hi, Harikrishnan,
Perhaps the Three Wise Men could be a better target for our messages :-)
(I do hope this Christian metaphor is known enough!)
I think we are messing up things here and this won't be useful for anybody.
Don't you thing it would be better to split th
I took a quick look at "access another database from xwiki in groovy"; this
quick snippet -seems- to work (this uses mysql)
<%
import groovy.sql.Sql;
def sendSQL = Sql.newInstance("jdbc:mysql://localhost/myotherdatabase",
"username-can-be-root",
"password-g
Hi Ricardo,
Ricardo RodrÃguez wrote:
>
> Perhaps the Three Wise Men could be a better target for our messages :-)
> (I do hope this Christian metaphor is known enough!)
>
the metaphor is well known and so is James Blunt (forgive me if it's a
poor joke)
> Accessing RDBMS other than XWiki
Guys, this looks like a good topic for adding to the API guide at
http://www.xwiki.org/xwiki/bin/view/DevGuide/APIGuide
It should be mentioned in #warning() box that this is ONLY for data
outside of XWiki's control.
In addition we should also look at finding out how custom mapping
works in XW
Hmm the list server messes up formatting :(
Added a bunch of lines to see if that's better
<%
import groovy.sql.Sql;
def sendSQL = Sql.newInstance("jdbc:mysql://localhost/myotherdatabase",
"username-can-be-root",
"password-goes-here", "com.mysql.jdbc.Drive
Hello again !
I want to take a string entered into a textbox and place it into a MySQL
db (which is not XWiki's RDB). For that I created a simple form shown below
-
This is the velocity page (named VelocityTest2) which is supposed to parse
the string entered into the text box
hi,
I think this should work:
#set($j = $request.formval)
Vito
V. Harikrishnan Nair wrote:
> Hello again !
>
> I want to take a string entered into a textbox and place it into a MySQL
> db (which is not XWiki's RDB). For that I created a simple form shown below
> -
>
>
>
>
>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi!
Thanks for your reply!
Vincent Massol schrieb:
> Hi Andreas,
>
> Thanks a lot for the praise. I'm really happy that you got the upgrade
> working since it's not always that easy to move from 0.9 to 1.1.
>
Well, I did my homework: read the doc
Check that you're using correct case as well.
Also, you will need to be careful with quote marks, as these need to be
escaped by putting two together before sending into a sql query - so for
example, O'Hara Airport should read O''Hara Airport when added to a sql
statement.
-Original Message---
On Oct 31, 2007, at 11:49 AM, Vincent Massol wrote:
>
> 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...
Esbach, Brandon wrote:
> Hmm the list server messes up formatting :(
> Added a bunch of lines to see if that's better
> <%
>
>
> import groovy.sql.Sql;
>
>
> def sendSQL = Sql.newInstance("jdbc:mysql://localhost/myotherdatabase",
> "username-can-be-root",
> "p
Hello,
First of all, to all developers, congratulations to Xwiki! It is by
far the best piece of software I've seen in a while. The introduction
to "what is it?", "what can it do?" and the install and running
process were just fantastic.
Right now I'm entering the stage where I want to write my
It's perfect ! Thank you, Vito.
Vitantonio Messa wrote:
>
> hi,
>
> I think this should work:
> #set($j = $request.formval)
>
> Vito
>
>
>
> V. Harikrishnan Nair wrote:
>> Hello again !
>>
>> I want to take a string entered into a textbox and place it into a
>> MySQL
>> db (which is n
19 matches
Mail list logo