Hi,
Please help me out,
Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of users-request(a)xwiki.org
Sent: Friday, November 02, 2007 11:53 AM
To: users(a)xwiki.org
Subject: users Digest, Vol 4, Issue 3
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Re: Page not loading (Esbach, Brandon)
2. Re: Page not loading (goldring, richard)
3. Closed JIRA issue 744 seems still to cause problems:
getRenderedContent does not set the proper document in the
context (developers Massol/Dumitru/Dubost) (Andreas)
4. Re: Adding a document in XWiki.org
(Your XEN ICT Team - Ricardo Rodriguez)
5. Porblem Installing w/Oracle (Fye Kan)
6. Re: users Digest, Vol 3, Issue 69 (prabhakar.gopalsamy(a)wipro.com)
----------------------------------------------------------------------
Message: 1
Date: Thu, 1 Nov 2007 15:37:41 -0000
From: "Esbach, Brandon" <Esbachb(a)tycoelectronics.com>
Subject: Re: [xwiki-users] Page not loading
To: "XWiki Users" <users(a)xwiki.org>
Message-ID:
<A259A3D352E3904F8D83CC44E3BE10670233E95B(a)gbd04mx02.tycoelectronics.net>
Content-Type: text/plain; charset="us-ascii"
Add "?viewer=history" (naturally without the "") to the end of the page
name to access the history. This interrupts the page and gives you the
history layout where you can rollback as needed.
If it won't even show you the menu (where the history is usually
accessed), it's possible that you've got another supporting page broken.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:27
To: 'XWiki Users'
Subject: Re: [xwiki-users] Page not loading
Er .. no ... the page won't load so I can't access the history view!!!
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Esbach, Brandon
Sent: 01 November 2007 15:29
To: XWiki Users
Subject: Re: [xwiki-users] Page not loading
You can go to the history view..
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:08
To: 'XWiki Users'
Subject: [xwiki-users] Page not loading
Anyone,
My page (WebHome) is not loading - possibly because of some doddgy code
on it.
Is there anyway to revert it back to a previous working version of the
page using some magic code executed on another page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL
> database (after a very long night, finally!) and I think this should
> be added into the documentation for XWiki.org but first, I want to get
> data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights
?
>
>
> Harikrishnan
>
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
------------------------------
Message: 2
Date: Thu, 1 Nov 2007 15:36:42 -0000
From: "goldring, richard" <richard.goldring(a)uk.thalesgroup.com>
Subject: Re: [xwiki-users] Page not loading
To: "'XWiki Users'" <users(a)xwiki.org>
Message-ID:
<C02943801230D611919D00508BDF0C240962642C(a)rtwexch.int.rdel.co.uk>
Content-Type: text/plain
Brandon,
Thanks - that worked! - my code must have gone into an endless loop or
something.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Esbach, Brandon
Sent: 01 November 2007 15:38
To: XWiki Users
Subject: Re: [xwiki-users] Page not loading
Add "?viewer=history" (naturally without the "") to the end of the page
name to access the history. This interrupts the page and gives you the
history layout where you can rollback as needed.
If it won't even show you the menu (where the history is usually
accessed), it's possible that you've got another supporting page broken.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:27
To: 'XWiki Users'
Subject: Re: [xwiki-users] Page not loading
Er .. no ... the page won't load so I can't access the history view!!!
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Esbach, Brandon
Sent: 01 November 2007 15:29
To: XWiki Users
Subject: Re: [xwiki-users] Page not loading
You can go to the history view..
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:08
To: 'XWiki Users'
Subject: [xwiki-users] Page not loading
Anyone,
My page (WebHome) is not loading - possibly because of some doddgy code
on it.
Is there anyway to revert it back to a previous working version of the
page using some magic code executed on another page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL
> database (after a very long night, finally!) and I think this should
> be added into the documentation for XWiki.org but first, I want to get
> data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights
?
>
>
> Harikrishnan
>
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail
is confidential. It may also be legally privileged. It is intended only
for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained
in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this
e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete
it
and all copies from your system. We accept no responsibility for changes
to
any e-mail which occur after it has been sent. Attachments to this
e-mail
may contain software viruses which could damage your system. We
therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne
Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
------------------------------
Message: 3
Date: Thu, 1 Nov 2007 11:45:10 -0700
From: Andreas <vonhessling+xwiki.org(a)gmail.com>
Subject: [xwiki-users] Closed JIRA issue 744 seems still to cause
problems: getRenderedContent does not set the proper
document in the
context (developers Massol/Dumitru/Dubost)
To: users(a)xwiki.org
Message-ID:
<a2159590711011145p6b1e2890x8990abea28a936d4(a)mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Hello,
I believe my yesterday's question to this list refers to the problem
described in
http://jira.xwiki.org/jira/browse/XWIKI-744
Anybody got similar issues? Any quick fix in sight?
Thanks,
Andreas
------------------------------
Message: 4
Date: Thu, 01 Nov 2007 20:14:46 +0100
From: Your XEN ICT Team - Ricardo Rodriguez <webmaster(a)xen.net>
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: XWiki Users <users(a)xwiki.org>
Message-ID: <472A25A6.2080009(a)xen.net>
Content-Type: text/plain; charset="iso-8859-1"
Esbach, Brandon wrote:
> Xwiki.org sandbox: you don't normally get programming rights (admin
rights don't guarantee programming rights on the .org sites).
> Someone on the xwiki team will have to open and save the page for you
in order to test it.
>
>
Thanks for the information. I didn't realize about the required
programming rights. It is perfectly reasonable that this rights must be
given by an administrator.
But the site is not accessible yet. This link
http://sandbox.xwiki.org/xwiki/bin/view/Main/WebHome keeps generating an
exception while reading document XWiki.XWikiPreferences.
In any case, it there were a problem with programming rights, I
understand that no script will be executed. In this case, scripts
recovering a single record work fine or printing simple lines by using
println work fine.
> If it's a local xwiki instance that's also causing the problem, I'm
not sure. Accessing mysql databases seems to work fine for me for my
own local databases.
Could you be so kind as to trying the following script in your xwiki
installation to see if it is my server the only one that is having
problems while printing iterations? Thanks!
<%
import groovy.sql.Sql;
println "This is a sample to access epec in *mire*"
def sendSQL =
Sql.newInstance("jdbc:mysql://mire.environmentalchange.net/epec","epec_R
eadOnly", "epec_ReadOnly", "com.mysql.jdbc.Driver")
sendSQL.eachRow("SELECT * FROM epec.spot s") {row ->println
"${row.code}"}
%>
I've run it in three boxes all of them running 1.2-milestone-1.5235 and
always get the same result.
Please, could anybody else try this? Thank you so much.
Best,
--
Ricardo Rodr?guez
Your XEN ICT Team
Hi,
Please help me out,
8. Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of users-request(a)xwiki.org
Sent: Wednesday, October 31, 2007 1:26 PM
To: users(a)xwiki.org
Subject: users Digest, Vol 3, Issue 69
Send users mailing list submissions to
users(a)xwiki.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.xwiki.org/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
users-request(a)xwiki.org
You can reach the person managing the list at
users-owner(a)xwiki.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."
Today's Topics:
1. Re: Sample Groovy Code (V. Harikrishnan Nair)
2. Adding a document in XWiki.org (V. Harikrishnan Nair)
3. Re: Xwiki file and attachment storage (Vincent Massol)
4. Re: Sample Groovy Code (Vincent Massol)
5. Re: Adding a document in XWiki.org (Vitantonio Messa)
6. Re: Adding a document in XWiki.org (Vincent Massol)
7. Re: Xwiki file and attachment storage
(Your XEN ICT Team - Ricardo Rodriguez)
8. Help for XWiki - User Login Counter
(prabhakar.gopalsamy(a)wipro.com)
----------------------------------------------------------------------
Message: 1
Date: Tue, 30 Oct 2007 22:19:08 -0700 (PDT)
From: "V. Harikrishnan Nair" <harikrishnan_v(a)amritatech.com>
Subject: Re: [xwiki-users] Sample Groovy Code
To: users(a)xwiki.org
Message-ID: <13502522.post(a)talk.nabble.com>
Content-Type: text/plain; charset=us-ascii
Hello Vincent,
I've found out QueryPluginApi from the docs. But even if this is the
API
you meant, why is it not possible to use Groovy to access the database
of my
choice to display my data ?
Harikrishnan
vmassol wrote:
>
> Hi,
>
> Don't call the database directly. XWiki offers API for doing this.
>
> What tutorial are you referring to?
>
> Thanks
> -Vincent
>
> On Oct 30, 2007, at 11:53 AM, V. Harikrishnan Nair wrote:
>
>>
>> Hi all...
>>
>> I am learning how to read from the default xwiki database xwiki_db
>> using
>> groovy. This is the code I got from the tutorial ->
>>
>> -------------
>> import groovy.sql.Sql
>> sql =
>> Sql.newInstance("jdbc:jtds:sqlserver://serverName/dbName-
>> CLASS;domain=domainName",
>> "username",
>> "password", "net.sourceforge.jtds.jdbc.Driver")
>> sql.eachRow("select * from tableName", { println it.id + " --
>> ${it.firstName} --"} );
>> ------------
>>
>> This is the code which is edited by me ->
>>
>> -----------
>> import groovy.sql.Sql
>> sql =
>> Sql.newInstance("jdbc:jtds:sqlserver://localhost/xwiki_db-
>> CLASS;domain=domainName",
>> "sa",
>> "", "net.sourceforge.jtds.jdbc.Driver")
>> sql.eachRow("select * from XWIKIDOC", { println it.id + " -- $
>> {it.firstName}
>> --"} );
>> ----------
>>
>> Can anyone please rectify any errors here ? Especially the closure
>> in the
>> third line as I don't know the fields present in XWIKIDOC table...
>>
>> Thanks,
>> Harikrishnan
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
--
View this message in context:
http://www.nabble.com/Sample-Groovy-Code-tf4717685.html#a13502522
Sent from the XWiki- Users mailing list archive at Nabble.com.
------------------------------
Message: 2
Date: Tue, 30 Oct 2007 23:57:03 -0700 (PDT)
From: "V. Harikrishnan Nair" <harikrishnan_v(a)amritatech.com>
Subject: [xwiki-users] Adding a document in XWiki.org
To: users(a)xwiki.org
Message-ID: <13503839.post(a)talk.nabble.com>
Content-Type: text/plain; charset=us-ascii
Hello...
I've been able to read and enter data into my personal MySQL database
(after a very long night, finally!) and I think this should be added
into
the documentation for XWiki.org but first, I want to get data from a
textbox
into the database...
Because the first thing that newbies like me wanted to do was to
communicate with a personal database (especially through the use of
forms),
I believe this is important.
How can I add a document in XWiki.org ? Do I have editing rights ?
Harikrishnan
--
View this message in context:
http://www.nabble.com/Adding-a-document-in-XWiki.org-tf4723188.html#a135
03839
Sent from the XWiki- Users mailing list archive at Nabble.com.
------------------------------
Message: 3
Date: Wed, 31 Oct 2007 07:59:05 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] Xwiki file and attachment storage
To: XWiki Users <users(a)xwiki.org>
Message-ID: <25635B2F-435B-4FBB-9191-84868EFD0F94(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
On Oct 31, 2007, at 12:01 AM, Your XEN ICT Team - Ricardo Rodriguez
wrote:
> Vincent Massol wrote:
>> Sorry but no. The scope for 1.2 was changed a long time ago. More =
>
>> importantly Artem who was working on it has stopped participating
>> to =
>
>> XWiki for some time since he's busy on other stuff. He'll join us
>> back =
>
>> later but there's no ETA right now on the JCR implementation.
>>
>> However I'm curious to know why you need attachments stored in the =
>
>> file system.
>>
>> Thanks
>> -Vincent
> Sorry if jumping in this thread is not the most elegant way of =
>
> collaborate, but I've missed this option, to store attachments in
> the =
>
> file system, today.
>
> For instance: we use a lot of high resolution pictures in our work.
> If I =
>
> can store this images in the file system I can access them by using =
>
> "regular" drive mapping, web server access, sftp,... I mean: I could =
>
> keep relying on different clients to read the files while I could
> rely =
>
> on XWiki to easy the way users "load" files in the system.
>
> Hope this makes sense for you.
Definitely. For this use case, webdav support would probably be the
best. We have jira issues opened for this but nobody has implemented
it yet AFAIK. I guess if the JCR implementation also supports Webdav
that should work too.
-Vincent
------------------------------
Message: 4
Date: Wed, 31 Oct 2007 08:01:06 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] Sample Groovy Code
To: XWiki Users <users(a)xwiki.org>
Message-ID: <C46002A9-5CF4-45A1-BEC3-7BC51FF3B9E9(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
First, you need to tell us what's your use case. What information do
you wish to get from the database?
Thanks
-Vincent
On Oct 31, 2007, at 6:19 AM, V. Harikrishnan Nair wrote:
>
> Hello Vincent,
>
> I've found out QueryPluginApi from the docs. But even if this is
> the API
> you meant, why is it not possible to use Groovy to access the
> database of my
> choice to display my data ?
>
> Harikrishnan
>
>
> vmassol wrote:
>>
>> Hi,
>>
>> Don't call the database directly. XWiki offers API for doing this.
>>
>> What tutorial are you referring to?
>>
>> Thanks
>> -Vincent
>>
>> On Oct 30, 2007, at 11:53 AM, V. Harikrishnan Nair wrote:
>>
>>>
>>> Hi all...
>>>
>>> I am learning how to read from the default xwiki database xwiki_db
>>> using
>>> groovy. This is the code I got from the tutorial ->
>>>
>>> -------------
>>> import groovy.sql.Sql
>>> sql =
>>> Sql.newInstance("jdbc:jtds:sqlserver://serverName/dbName-
>>> CLASS;domain=domainName",
>>> "username",
>>> "password", "net.sourceforge.jtds.jdbc.Driver")
>>> sql.eachRow("select * from tableName", { println it.id + " --
>>> ${it.firstName} --"} );
>>> ------------
>>>
>>> This is the code which is edited by me ->
>>>
>>> -----------
>>> import groovy.sql.Sql
>>> sql =
>>> Sql.newInstance("jdbc:jtds:sqlserver://localhost/xwiki_db-
>>> CLASS;domain=domainName",
>>> "sa",
>>> "", "net.sourceforge.jtds.jdbc.Driver")
>>> sql.eachRow("select * from XWIKIDOC", { println it.id + " -- $
>>> {it.firstName}
>>> --"} );
>>> ----------
>>>
>>> Can anyone please rectify any errors here ? Especially the closure
>>> in the
>>> third line as I don't know the fields present in XWIKIDOC table...
>>>
>>> Thanks,
>>> Harikrishnan
>>
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>
> --
> View this message in context:
http://www.nabble.com/Sample-Groovy-Code-tf4717685.html#a13502522
> Sent from the XWiki- Users mailing list archive at Nabble.com.
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
------------------------------
Message: 5
Date: Wed, 31 Oct 2007 09:02:42 +0200
From: Vitantonio Messa <vitantonio.messa(a)coss.fi>
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: XWiki Users <users(a)xwiki.org>
Message-ID: <47282892.90804(a)coss.fi>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL
database
> (after a very long night, finally!) and I think this should be added
into
> the documentation for XWiki.org but first, I want to get data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights
?
>
>
> Harikrishnan
>
>
------------------------------
Message: 6
Date: Wed, 31 Oct 2007 08:03:58 +0100
From: Vincent Massol <vincent(a)massol.net>
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: XWiki Users <users(a)xwiki.org>
Message-ID: <CB37D70F-FBC1-44CD-A715-388D6EEDC60F(a)massol.net>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
On Oct 31, 2007, at 7:57 AM, V. Harikrishnan Nair wrote:
>
> Hello...
>
> I've been able to read and enter data into my personal MySQL
> database
> (after a very long night, finally!) and I think this should be added
> into
> the documentation for XWiki.org but first, I want to get data from a
> textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
> forms),
> I believe this is important.
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.
> How can I add a document in XWiki.org ? Do I have editing rights ?
Everybody has editing rights but before you make any change:
1) let's agree you have a valid use case and that's you're using the
proper way of doing it
2) if 1) is agreed then let's decide together where it should go on
xwiki.org
Let's start with 1) first.
Thanks for offering your help for xwiki.org, very much appreciated.
-Vincent
------------------------------
Message: 7
Date: Wed, 31 Oct 2007 08:37:22 +0100
From: Your XEN ICT Team - Ricardo Rodriguez <webmaster(a)xen.net>
Subject: Re: [xwiki-users] Xwiki file and attachment storage
To: XWiki Users <users(a)xwiki.org>
Message-ID: <472830B2.1000901(a)xen.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Vincent Massol wrote:
> Definitely. For this use case, webdav support would probably be the
> best. We have jira issues opened for this but nobody has implemented
> it yet AFAIK. I guess if the JCR implementation also supports Webdav
> that should work too.
>
> -Vincent
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Thanks, Vincent. I'll search and keep track of these issues.
Unfortunately I'm still far from being able to contribute to such an
effort. But keep trying hard!
Cheers,
--
Ricardo Rodr?guez
Your XEN ICT Team
------------------------------
Message: 8
Date: Wed, 31 Oct 2007 12:24:20 +0530
From: <prabhakar.gopalsamy(a)wipro.com>
Subject: [xwiki-users] Help for XWiki - User Login Counter
To: <users(a)xwiki.org>
Cc: prabhakar.gopalsamy(a)wipro.com
Message-ID:
<E98CB0DA71F20341907598C3494F320D015AC244(a)BLR-EC-MBX08.wipro.com>
Content-Type: text/plain; charset="us-ascii"
Hi All,
I want to be creating the XWiki - User / Admin Login Counter. - (Page
visited for intranet through respective Login).
Please help me, how to do that? If anyone has xwiki code, please send to
me. I am new to XWiki.
Regards,
Prabhakar Gopalsamy
______________________________
Wipro Technologies
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
www.wipro.com
Er .. no ... the page won't load so I can't access the history view!!!
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Esbach, Brandon
Sent: 01 November 2007 15:29
To: XWiki Users
Subject: Re: [xwiki-users] Page not loading
You can go to the history view..
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:08
To: 'XWiki Users'
Subject: [xwiki-users] Page not loading
Anyone,
My page (WebHome) is not loading - possibly because of some doddgy code
on it.
Is there anyway to revert it back to a previous working version of the
page using some magic code executed on another page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL
> database (after a very long night, finally!) and I think this should
> be added into the documentation for XWiki.org but first, I want to get
> data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights
?
>
>
> Harikrishnan
>
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Brandon,
Thanks - that worked! - my code must have gone into an endless loop or
something.
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Esbach, Brandon
Sent: 01 November 2007 15:38
To: XWiki Users
Subject: Re: [xwiki-users] Page not loading
Add "?viewer=history" (naturally without the "") to the end of the page
name to access the history. This interrupts the page and gives you the
history layout where you can rollback as needed.
If it won't even show you the menu (where the history is usually
accessed), it's possible that you've got another supporting page broken.
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:27
To: 'XWiki Users'
Subject: Re: [xwiki-users] Page not loading
Er .. no ... the page won't load so I can't access the history view!!!
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Esbach, Brandon
Sent: 01 November 2007 15:29
To: XWiki Users
Subject: Re: [xwiki-users] Page not loading
You can go to the history view..
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org] On Behalf
Of goldring, richard
Sent: 01 November 2007 15:08
To: 'XWiki Users'
Subject: [xwiki-users] Page not loading
Anyone,
My page (WebHome) is not loading - possibly because of some doddgy code
on it.
Is there anyway to revert it back to a previous working version of the
page using some magic code executed on another page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL
> database (after a very long night, finally!) and I think this should
> be added into the documentation for XWiki.org but first, I want to get
> data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights
?
>
>
> Harikrishnan
>
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this
e-mail is confidential. It may also be legally privileged. It is
intended only for the stated addressee(s) and access to it by any other
person is unauthorised. If you are not an addressee, you must not
disclose, copy, circulate or in any other way use or rely on the
information contained in this e-mail. Such unauthorised use may be
unlawful. We may monitor all e-mail communications through our networks.
If you have received this e-mail in error, please inform us immediately
on +44 (0) 1749 672081 and delete it and all copies from your system. We
accept no responsibility for changes to any e-mail which occur after it
has been sent. Attachments to this e-mail may contain software viruses
which could damage your system. We therefore recommend you virus-check
all attachments before opening. A business of Thales UK Ltd. Registered
Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone,
Weybridge, Surrey KT15 2NX Registered in England No.
868273
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Anyone,
My page (WebHome) is not loading - possibly because of some doddgy code on
it.
Is there anyway to revert it back to a previous working version of the page
using some magic code executed on another page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL database
> (after a very long night, finally!) and I think this should be added into
> the documentation for XWiki.org but first, I want to get data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights ?
>
>
> Harikrishnan
>
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
Anyone,
My page (WebHome) is not loading - possibly because of some doddgy code on
it.
Is there anyway to revert it back to a previous working version of the page
using some magic code executed on another page?
Regards,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf
Of Vitantonio Messa
Sent: 31 October 2007 07:03
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org
Hi,
if you take a look at the API, there are all the information you need.
It is possible to create and save a document, through the function
Xwiki.createDocument() and Document.Save(), of course this functions
will work only if you have editing rights (but if you're able to already
edit documents, you have those rights).
Vito
V. Harikrishnan Nair wrote:
> Hello...
>
> I've been able to read and enter data into my personal MySQL database
> (after a very long night, finally!) and I think this should be added into
> the documentation for XWiki.org but first, I want to get data from a
textbox
> into the database...
>
> Because the first thing that newbies like me wanted to do was to
> communicate with a personal database (especially through the use of
forms),
> I believe this is important.
>
> How can I add a document in XWiki.org ? Do I have editing rights ?
>
>
> Harikrishnan
>
>
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273
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
-
<form action = "VelocityTest2" method = "get" >
<input type = "text" name = "formval">
<input type = "submit" value = "submit">
</form>
This is the velocity page (named VelocityTest2) which is supposed to parse
the string entered into the text box -
#set($groovyObject = $xwiki.parseGroovyFromPage("Amrita IIS.GroovyTest4"))
#set($j = $Request.getParameterValues('formval'))
$groovyObject.SQL_conn($j)
A Groovy page (named GroovyTest4) takes that string and enters it into the
MySQL db with the SQL_conn() function and I'm positive that my groovy code
works.
My problem is that the string is not being parsed from the textbox into the
Velocity page. I am getting a null value instead.
Thanks,
Harikrishnan
--
View this message in context: http://www.nabble.com/Parsing-textbox-data-tf4724953.html#a13508865
Sent from the XWiki- Users mailing list archive at Nabble.com.
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 own
application using Velocity, and I'm realizing that there is one or two
orders of magnitude to little Xwiki documentation around, and existing
documentation is often faulty or outdated. Instead, I'll try to ask
my questions in this place.
Question:
I have two instances (InstanceA, InstanceB) of class HowTo, and I want
to display the rendered content of InstanceB in InstanceA in a info
box. The class/instances have been generated analogously to the
FAQapplication tutorial.
If I do InstanceB.getRenderedContent(), it will return the rendered
content of InstanceA, not InstanceB. Assuming I need to set the $doc
context, I tried to include in InstanceA:
#set ($doc = $xwiki.getDocument("Space.InstanceB"))
#info($doc.getRenderedContent())
and would hope the InstanceB context would be used for rendering $doc.
But instead it cyclically and repeatedly renders InstanceA in itself, until the
engine refuses to render more levels.
I've also tried $xwiki.renderText and giving it unrendered InstanceB
text and the InstanceB document as arguments, but get the same effect.
Some more details: I work as Admin, so have programming rights. I have
also tried
$context.setDoc($xwiki.getDocument("Space.InstanceB")), which seems to
have no effect, and also #info($doc.getContent()), which returns the raw class
template (which, by the way) uses includeForm(...))
Any ideas?
Thanks,
Andreas
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi!
In the past days I sucessfully upgraded our XWiki installation
from 0.9.840 to 1.1.1. We use jboss-4.2.1.GA and postgresql-8.2.5
and everything went quite well!
In the process I only had to remove the servlet-api-2.3.jar from
WEB-INF/lib/ as it is incompatible with the one JBoss AS already
has. I also added lucene-analyzers-2.0.0.jar as I want to use
Lucene's german analyzer.
Porting the database for use with XWiki-1.1.1 also went well using
the "schema_pre.sql" and "schema_post.sql" scripts Rudolf Van der
Leeden posted to this list a few months ago (many thanks, Rudolf!)
We now have our wiki with about 2000 pages on version 1.1.1
and are very happy with the results. XWiki-1.1.1 is really
amazing and the improvements relative to 0.9.840 are great!
Excellent work!
There is one thing I still haven't solved, though: The application
seems to work fine, but in the logfiles I find lots of the following
messages:
[...]
19:38:15,510 INFO [STDOUT] 19:38:15,504 ERROR http-0.0.0.0-8080-2 http://test5.intern.xss.co.at:8080/xwiki/bin/view/Main/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Main.WebHome [line 6, column 14]
19:38:15,541 INFO [STDOUT] 19:38:15,540 ERROR http-0.0.0.0-8080-2 http://test5.intern.xss.co.at:8080/xwiki/bin/view/Main/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Main.WebHome [line 6, column 14]
19:38:15,636 INFO [STDOUT] 19:38:15,634 ERROR http-0.0.0.0-8080-2 http://test5.intern.xss.co.at:8080/xwiki/bin/view/Main/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Main.WebHome [line 6, column 14]
19:38:15,714 INFO [STDOUT] 19:38:15,712 ERROR http-0.0.0.0-8080-2 http://test5.intern.xss.co.at:8080/xwiki/bin/view/Main/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. Main.WebHome [line 6, column 14]
[...]
Basically, access to every page in the wiki gives at least one of
those messages: WebHome pages usually give 4 of them, others only 1:
[...]
20:52:10,877 INFO [STDOUT] 20:52:10,877 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.WebHome [line 6, column 14]
20:52:10,905 INFO [STDOUT] 20:52:10,903 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.WebHome [line 6, column 14]
20:52:10,906 INFO [STDOUT] 20:52:10,906 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.WebHome [line 6, column 14]
20:52:10,910 INFO [STDOUT] 20:52:10,908 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/ SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.WebHome [line 6, column 14]
20:52:22,023 INFO [STDOUT] 20:52:22,021 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/Systemadmin… SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.Systemadministration [line 6, column 14]
20:52:36,162 INFO [STDOUT] 20:52:36,161 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/HOWTOS SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.HOWTOS [line 6, column 14]
20:53:03,694 INFO [STDOUT] 20:53:03,692 ERROR http-0.0.0.0-8080-4 http://test5.intern.xss.co.at:8080/xwiki/bin/view/KnowledgeBase/VariousSamb… SimpleLog4JLogSystem:logVelocityMessage:154 - Left side ($first) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. KnowledgeBase.VariousSambaHOWTOs [line 6, column 14]
[...]
Does anyone know what might cause these errors?
What or where does "line 6, column 14" refer to?
Should I worry about these errors?
Any ideas how to solve these errors?
Many thanks in advance!
Regards,
- - andreas
- --
Andreas Haumer | mailto:andreas@xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-0
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHJ41lxJmyeGcXPhERAhQlAJsGeQUmm9qL9xj2379n1rV1GeQczwCfSozo
4g3JziRVC2zmts8d8GKE7vc=
=W685
-----END PGP SIGNATURE-----
Hi all...
I am learning how to read from the default xwiki database xwiki_db using
groovy. This is the code I got from the tutorial ->
-------------
import groovy.sql.Sql
sql =
Sql.newInstance("jdbc:jtds:sqlserver://serverName/dbName-CLASS;domain=domainName",
"username",
"password", "net.sourceforge.jtds.jdbc.Driver")
sql.eachRow("select * from tableName", { println it.id + " --
${it.firstName} --"} );
------------
This is the code which is edited by me ->
-----------
import groovy.sql.Sql
sql =
Sql.newInstance("jdbc:jtds:sqlserver://localhost/xwiki_db-CLASS;domain=domainName",
"sa",
"", "net.sourceforge.jtds.jdbc.Driver")
sql.eachRow("select * from XWIKIDOC", { println it.id + " -- ${it.firstName}
--"} );
----------
Can anyone please rectify any errors here ? Especially the closure in the
third line as I don't know the fields present in XWIKIDOC table...
Thanks,
Harikrishnan
--
View this message in context: http://www.nabble.com/Sample-Groovy-Code-tf4717685.html#a13486121
Sent from the XWiki- Users mailing list archive at Nabble.com.