[xwiki-users] Class property deletion

2007-11-02 Thread goldring, richard
 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: Fri, 2 Nov 2007 09:57:08 -
From: Esbach, Brandon [EMAIL PROTECTED]
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: XWiki Users users@xwiki.org
Message-ID:

[EMAIL PROTECTED]

Content-Type: text/plain; charset=iso-8859-1

Given that I can't access outside servers from our server network
(company policy), I adjusted this to reflect my own database - changing
only the db name and user details.  I setup a table to mimic your column
name as well.
 
On 1.1 it seems to work; though my environment is a bit different to
standard release (not completely standard xwiki install).



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Your XEN ICT Team - Ricardo Rodriguez
Sent: 01 November 2007 19:15
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org


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
-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.xwiki.org/pipermail/users/attachments/20071102/71daf3c6/att
achment.html 

--

Message: 4
Date: Fri, 02 Nov 2007 11:03:24 +0100
From: Marie Sauvage [EBM WebSourcing]
[EMAIL PROTECTED]
Subject: [xwiki-users] Access rights on XWiki space
To: XWiki Users users@xwiki.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

An HTML attachment was scrubbed...
URL:
http://lists.xwiki.org/pipermail/users/attachments/20071102/231eec3f/att
achment.htm 

--

Message: 5
Date: Fri, 2 Nov 2007 10:24:01 -
From: Esbach, Brandon [EMAIL PROTECTED]
Subject: Re: [xwiki-users] Access rights on XWiki space
To: XWiki Users users@xwiki.org
Message-ID:

[EMAIL PROTECTED]

Content-Type: text/plain; charset=us-ascii

The way I have it setup is, by default users have only view
permissions to the XWiki space; and all new XWiki tools are written into
their own space so that they're protected at space level.
Admin tools (my automated group assignment for example) I have a
specific space for and have that space protected completely so that
users can't even see the space.
 
I wouldn't worry too much about allowing people to see users and groups
lists though.  Restricting all but view permissions is sufficient for
most purposes.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Marie Sauvage [EBM WebSourcing]
Sent: 02 November 2007

[xwiki-users] on Groovy doc

2007-11-02 Thread Ricardo Rodríguez


Hi,

I do hope you don't mind I open a new thread on this even though there are
several live discussions refering Groovy scripting.

In http://www.xwiki.org/xwiki/bin/view/DevGuide/Scripting we can actually
read this TODO paragraph:

-
TO DO: We need to move all of the Groovy pages from the Dev Web Space to
this area. Then, with all the Velocity and Groovy docs in this Web Space, we
can reorganize and cross reference and such.
-

Please, where could I find this Dev Web Space? I am trying to find/read
any document related with Groovy scripting before posting new questions.

Thanks for your help,

Ricardo


-- 
View this message in context: 
http://www.nabble.com/on-Groovy-doc-tf4737169.html#a13546856
Sent from the XWiki- Users mailing list archive at Nabble.com.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Class property deletion

2007-11-02 Thread Vincent Massol
:

 Separators:


 Regards,

 Richard

 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: Fri, 2 Nov 2007 09:57:08 -
 From: Esbach, Brandon [EMAIL PROTECTED]
 Subject: Re: [xwiki-users] Adding a document in XWiki.org
 To: XWiki Users users@xwiki.org
 Message-ID:
   
 [EMAIL PROTECTED] 
 
   
 Content-Type: text/plain; charset=iso-8859-1

 Given that I can't access outside servers from our server network
 (company policy), I adjusted this to reflect my own database -  
 changing
 only the db name and user details.  I setup a table to mimic your  
 column
 name as well.

 On 1.1 it seems to work; though my environment is a bit different to
 standard release (not completely standard xwiki install).

 

 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On  
 Behalf
 Of Your XEN ICT Team - Ricardo Rodriguez
 Sent: 01 November 2007 19:15
 To: XWiki Users
 Subject: Re: [xwiki-users] Adding a document in XWiki.org


 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
 -- next part --
 An HTML attachment was scrubbed...
 URL:
 http://lists.xwiki.org/pipermail/users/attachments/20071102/71daf3c6/att
 achment.html

 --

 Message: 4
 Date: Fri, 02 Nov 2007 11:03:24 +0100
 From: Marie Sauvage [EBM WebSourcing]
   [EMAIL PROTECTED]
 Subject: [xwiki-users] Access rights on XWiki space
 To: XWiki Users users@xwiki.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii

 An HTML attachment was scrubbed...
 URL:
 http://lists.xwiki.org/pipermail/users/attachments/20071102/231eec3f/att
 achment.htm

 --

 Message: 5
 Date: Fri, 2 Nov 2007 10:24:01 -
 From: Esbach, Brandon [EMAIL PROTECTED]
 Subject: Re: [xwiki-users] Access rights on XWiki space
 To: XWiki Users users@xwiki.org
 Message-ID:
   
 [EMAIL PROTECTED] 
 
   
 Content-Type: text/plain; charset=us-ascii

 The way I have it setup is, by default users have only view
 permissions to the XWiki space; and all new XWiki tools are written  
 into
 their own space so that they're protected at space level.
 Admin tools (my automated group assignment for example) I have a
 specific space for and have that space protected

Re: [xwiki-users] Login counter

2007-11-02 Thread goldring, richard
: 
FullyRenderedTextVelocityCodePureText 
TaskMainTypeName: 
 
Pretty Name: 
 
Tooltip: 
Task main type 
Custom Display: 
 
Unmodifiable: 
---
Yes
No
Number: 
 
Validation Regular Expression: 
 
Validation Message: 
 
Display Type: 
inputselectradiocheckbox 
Multiple Select: 
---
Yes
No
Relational Storage: 
---
Yes
No
Use Picker: 
---
Yes
No
Size: 
 
Join separator: 
 
Sort: 
noneidvalue 
Cache: 
---
Yes
No
Values: 
 
Separators: 
 

Regards,

Richard

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: Fri, 2 Nov 2007 09:57:08 -
From: Esbach, Brandon [EMAIL PROTECTED]
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: XWiki Users users@xwiki.org
Message-ID:

[EMAIL PROTECTED]

Content-Type: text/plain; charset=iso-8859-1

Given that I can't access outside servers from our server network
(company policy), I adjusted this to reflect my own database - changing
only the db name and user details.  I setup a table to mimic your column
name as well.
 
On 1.1 it seems to work; though my environment is a bit different to
standard release (not completely standard xwiki install).



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Your XEN ICT Team - Ricardo Rodriguez
Sent: 01 November 2007 19:15
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org


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
-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.xwiki.org/pipermail/users/attachments/20071102/71daf3c6/att
achment.html 

--

Message: 4
Date: Fri, 02 Nov 2007 11:03:24 +0100
From: Marie Sauvage [EBM WebSourcing]
[EMAIL PROTECTED]
Subject: [xwiki-users] Access rights on XWiki space
To: XWiki Users users@xwiki.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

An HTML attachment was scrubbed...
URL:
http://lists.xwiki.org/pipermail/users/attachments/20071102/231eec3f/att
achment.htm 

--

Message: 5
Date: Fri, 2 Nov 2007 10:24:01 -
From: Esbach, Brandon [EMAIL PROTECTED]
Subject: Re: [xwiki-users] Access rights on XWiki space
To: XWiki Users users@xwiki.org
Message-ID:

[EMAIL PROTECTED]

Content-Type: text/plain; charset=us-ascii

The way I have it setup is, by default users

Re: [xwiki-users] Access rights on XWiki space

2007-11-02 Thread Esbach, Brandon
The way I have it setup is, by default users have only view
permissions to the XWiki space; and all new XWiki tools are written into
their own space so that they're protected at space level.
Admin tools (my automated group assignment for example) I have a
specific space for and have that space protected completely so that
users can't even see the space.
 
I wouldn't worry too much about allowing people to see users and groups
lists though.  Restricting all but view permissions is sufficient for
most purposes.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Marie Sauvage [EBM WebSourcing]
Sent: 02 November 2007 10:03
To: XWiki Users
Subject: [xwiki-users] Access rights on XWiki space


Hi !

I'm trying to configure access rights on a XWiki to a group of users.
My problem is that I don't want them to access to the administration, I
will be the only administrator. But when I deny access on the space
XWiki, the users of the group don't access any more to the user's pages,
even their own profile page, as those pages are in this space.
Is there a way to give them access without having to deal access page
per page and modify the XWikiUsers page to make appear only allowed
section with many if ($xwiki.hasAdminRights()) ?

thanks in advance !
Marie.

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Access rights on XWiki space

2007-11-02 Thread Marie Sauvage [EBM WebSourcing]




Hi !

I'm trying to configure access rights on a XWiki to a group of users.
My problem is that I don't want them to access to the administration, I
will be the only administrator. But when I deny access on the space
XWiki, the users of the group don't access any more to the user's
pages, even their own profile page, as those pages are in this space.
Is there a way to give them access without having to deal access page
per page and modify the XWikiUsers page to make appear only allowed
section with many "if ($xwiki.hasAdminRights())" ?

thanks in advance !
Marie.




___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Adding a document in XWiki.org

2007-11-02 Thread Esbach, Brandon
Given that I can't access outside servers from our server network (company 
policy), I adjusted this to reflect my own database - changing only the db name 
and user details.  I setup a table to mimic your column name as well.
 
On 1.1 it seems to work; though my environment is a bit different to standard 
release (not completely standard xwiki install).



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Your XEN ICT 
Team - Ricardo Rodriguez
Sent: 01 November 2007 19:15
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org


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_ReadOnly,
 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
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Login counter

2007-11-02 Thread prabhakar.gopalsamy
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: Fri, 2 Nov 2007 09:57:08 -
From: Esbach, Brandon [EMAIL PROTECTED]
Subject: Re: [xwiki-users] Adding a document in XWiki.org
To: XWiki Users users@xwiki.org
Message-ID:

[EMAIL PROTECTED]

Content-Type: text/plain; charset=iso-8859-1

Given that I can't access outside servers from our server network
(company policy), I adjusted this to reflect my own database - changing
only the db name and user details.  I setup a table to mimic your column
name as well.
 
On 1.1 it seems to work; though my environment is a bit different to
standard release (not completely standard xwiki install).



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Your XEN ICT Team - Ricardo Rodriguez
Sent: 01 November 2007 19:15
To: XWiki Users
Subject: Re: [xwiki-users] Adding a document in XWiki.org


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
-- next part --
An HTML attachment was scrubbed...
URL:
http://lists.xwiki.org/pipermail/users/attachments/20071102/71daf3c6/att
achment.html 

--

Message: 4
Date: Fri, 02 Nov 2007 11:03:24 +0100
From: Marie Sauvage [EBM WebSourcing]
[EMAIL PROTECTED]
Subject: [xwiki-users] Access rights on XWiki space
To: XWiki Users users@xwiki.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

An HTML attachment was scrubbed...
URL:
http://lists.xwiki.org/pipermail/users/attachments/20071102/231eec3f/att
achment.htm 

--

Message: 5
Date: Fri, 2 Nov 2007 10:24:01 -
From: Esbach, Brandon [EMAIL PROTECTED]
Subject: Re: [xwiki-users] Access rights on XWiki space
To: XWiki Users users@xwiki.org
Message-ID:

[EMAIL PROTECTED]

Content-Type: text/plain; charset=us-ascii

The way I have it setup is, by default users have only view
permissions to the XWiki space; and all new XWiki tools are written into
their own space so that they're protected at space level.
Admin tools (my automated group assignment for example) I have a
specific space for and have that space protected completely so that
users can't even see the space.
 
I wouldn't worry too much about allowing people to see users and groups
lists though.  Restricting all but view permissions is sufficient for
most purposes.



From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Marie Sauvage [EBM WebSourcing]
Sent: 02 November 2007 10:03
To: XWiki Users
Subject: [xwiki-users] Access rights on XWiki space


Hi !

I'm trying to configure access rights on a XWiki to a group of users.
My problem is that I don't want them to access to the administration, I
will be the only

Re: [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)

2007-11-02 Thread Andreas
I've found a fix which works for me, and thought I'd share it with the
community:

This is how you render another page (pageB)  inside the current page (pageA)

#set($mydoc = $xwiki.getDocument(Space.pageB))
$context.setDoc($mydoc.getDocument())
#$mydoc.getRenderedContent()

Without the first two lines, the content of pageA is rendered again, not pageB.

I'm not sure whether this entire bug is related to this issue at all:
http://jira.xwiki.org/jira/browse/XWIKI-199, but the workaround
described by Ludovic does not work for me. I'm running version
1.2-milestone-1.5235 on OsX 10.4.

Andreas



On 11/1/07, Andreas [EMAIL PROTECTED] wrote:
 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

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Clarification on Allow multiple files to be uploaded (XWIKI-1670)

2007-11-02 Thread Guillaume Lerouge
Hi,

Right now there is no way to add many documents at once to a wiki page apart
from using some kind of direct database input. However, this is a needed
feature which will hopefully be implemented at some point in XWiki's
future...

One way to do mass upload is to zip all the files you want to upload and
attach the zip file to your XWiki page. Then, if the ZIP explorer plugin is
activated on your XWiki, you will find all your files into the ZIP file and
will be able to access them at
/xwiki/bin/download/SpaceName/PageName/ZIPFile.zip/YourFile1.file and so on
...

This has often proved an useful workaround for me.

Guillaume

On 02/11/2007, Paul Grodt [EMAIL PROTECTED] wrote:

 From http://jira.xwiki.org/jira/browse/XWIKI-1670

 I'm interested in this feature.  The description reads

 If a document has multiple attachements, it becomes tedious to attach
 them one by one.
 The WYSIWYG editor should allow for multiple attachements when the Add
 attachment link is used.

 Does this infer that there is some existing method _other_ than the
 WYSIWYG editor that allows mass uploads?  I'm pretty sure it doesn't,
 but I wanted to confirm.

 Paul D. Grodt

 TECORE Wireless Systems
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
http://wikibc.blogspot.com/
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] How do I render the edit form for page B in page A?

2007-11-02 Thread Andreas
Hi,
I'm desperately trying to figure out how I can render the edit form
for an class instance B inside page A.  The file editinline.vm must
have to be called with some parameters that I'm uncertain about
(particularly the cdoc variable must have been set somewhere).

I've tried a lot of things:
- Calling getRenderedContent will render the instance in the view
mode, not in the edit mode
- When trying to call #template(editinline.vm), XWiki server hangs
itself up using a lot of processor resources.

It seems there is absolutely no documentation around.
I'm running 1.2-milestone-1.5235.

Any ideas?


Thanks in advance,
Andreas
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users