Re: [xwiki-users] Properties "List of users" and "DB list" (and "DB Tree")

2010-11-02 Thread Erica Usui
Ok!
:)

Thanks! I'll vote.

Erica.

2010/11/2 [Ricardo Rodriguez] eBioTIC. 

> Hi!
>
> Erica Usui wrote:
> > I'm sorry, but that's just what I was talking about from the begining...
> >
> >
> Sure! I was just trying to reproduce the error.
>
> > It doesn't work properly... It was suposed to store the property of Id
> Field
> > Name and to display on select list the property of Value Field Name. But
> it
> > seems to display and store the the chosen one for Value Field Name.
> >
>
> That's why I've created http://jira.xwiki.org/jira/browse/XE-732 after
> trying XE 2.6-SNAPSHOT.31892 and XE 2.6-SNAPSHOT.32286. Do you agree
> with the description of the issue? Please, fill free to vote for it, to
> watch or to comment it: Let's hope more people consider this important
> for their work!
>  > 2010/11/2 [Ricardo Rodriguez] eBioTIC. 
> >
> >
> >> Hi!
> >>
> >> Erica Usui wrote:
> >>
> >>> Hi!
> >>>
> >>> My property is just like a static list, but populated by another class
> -
> >>>
> >> so,
> >>
> >>> I used a DB List property.
> >>> What I want to show on select is different from what I want the stored
> >>>
> >> value
> >>
> >>> to be, this is actually the purpose of DB List properties' "id name"
> and
> >>> "value name", but my experience showed the contrary...
> >>>
> >>> I've already seem these
> >>> link >,
> >>> and also found important information about this subject on this mailing
> (
> >>> http://lists.xwiki.org/pipermail/users/2008-February/010417.html). But
> >>> didn't solve my problem.
> >>>
> >>>
> >> Have you checked this?
> >>
> >>
> >>
> http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateAOneToManyRelationshipInXWiki
> >>
> >> I can't try it myself today. I'll be back to this issue ASAP. Thanks.
> >>
> >>> Again, I just want to do the same as property "List of users" does,
> which
> >>>
> >> is
> >>
> >>> when selecting it is shown "first_name+last_name", and when querying
> the
> >>> result is "XWiki.alias". I want to do something similar, but with my
> own
> >>> class, not XWiki.XWikiUsers.
> >>> For example:
> >>> XWiki.dbClass [which has: property1 (string), property2 (string)].
> >>> XWiki.class1Class [which has: property3 (dbList)=> XWiki class name:
> >>> XWiki.dbClass, id field name: property1; value field name: property2)].
> >>>
> >>> 2010/10/29 [Ricardo Rodriguez] eBioTIC.  >
> >>>
> >>>
> >>>
>  Hi,
> 
>  Erica Usui wrote:
> 
> 
> > Hi!
> >
> > I'm trying to list the users' name in a form, but the name have
> >
> >
>  complement
> 
> 
> > (p.e. Name: Carlos Eduardo da Silva / HR - manager). As in a "List of
> >
> >
>  users"
> 
> 
> > property, I want to display, when someone is selecting a name, the
> full
> >
> >
>  name
> 
> 
> > and complement, but when displaying in the results I want it to show
> >
> >> the
> >>
> > user's Alias.
> >
> > So what I did was a class (XWiki.dbClass)  with two properties:
> > Name (String) (p.e. Carlos Eduardo da Silva / HR - manager)
> > Alias (String) (p.e.Carlos)
> > Which I used as a DataBase to the property "Name" in the other class
> > (XWiki.formClass).
> >
> > So, I chose for this property:
> > XWiki Class Name: XWiki.dbClass
> > Id Field Name: Name
> > Value Field Name: Alias
> >
> > But the result was not as in a "List of Users" property, in which
> when
> >
> >
>  one
> 
> 
> > choose for example "Carlos Eduardo da Silva" the result in the table
> is
> > "Carlos".
> > The result was that both, selected and diplayed information, are in
> >
> >> this
> >>
> > example "Carlos".
> >
> >
> >
>  Perhaps I'm missing something, Erica, but if you are dealing with
> XWiki
>  users, what not simply modify XWiki.XWikiUsers class to  host the new
>  information you need to store? You must be careful when you updated
> this
>  class at XWiki update time!
> 
>  Or create that new dbClass to store new data (position and alias) and
>  instantiate it (add an instance of that class) to each XWiki user.
> 
>  I know this is not what you are asking for, but I'm trying to
> understand
>  what do you want to do. I've tried this Database List properties type
> in
>  a XE 2.6-SNAPSHOT.31892 and it seems to work a expected.
> 
>  When you talk about "result in the table", what table are you talking
>  about? Thanks!
> 
> 
> 
> > And another thing... I didn't understand the DB Tree property. One
> >
> >> thing
> >>
> > that worked was:
> > XWiki Class Name: XWiki.dbClass
> > Id Field Name: doc.fullName
> > Value Field Name: Alias
> > Parent Field Name: doc.parent
> >
> > But I don't understand the meaning of that...
> >
> > Can anyone help me ?
> >
> >
> >
> 

Re: [xwiki-users] Properties "List of users" and "DB list" (and "DB Tree")

2010-11-02 Thread [Ricardo Rodriguez] eBioTIC.
Hi!

Erica Usui wrote:
> I'm sorry, but that's just what I was talking about from the begining...
>
>   
Sure! I was just trying to reproduce the error.

> It doesn't work properly... It was suposed to store the property of Id Field
> Name and to display on select list the property of Value Field Name. But it
> seems to display and store the the chosen one for Value Field Name.
>   

That's why I've created http://jira.xwiki.org/jira/browse/XE-732 after 
trying XE 2.6-SNAPSHOT.31892 and XE 2.6-SNAPSHOT.32286. Do you agree 
with the description of the issue? Please, fill free to vote for it, to 
watch or to comment it: Let's hope more people consider this important 
for their work!
> 2010/11/2 [Ricardo Rodriguez] eBioTIC. 
>
>   
>> Hi!
>>
>> Erica Usui wrote:
>> 
>>> Hi!
>>>
>>> My property is just like a static list, but populated by another class -
>>>   
>> so,
>> 
>>> I used a DB List property.
>>> What I want to show on select is different from what I want the stored
>>>   
>> value
>> 
>>> to be, this is actually the purpose of DB List properties' "id name" and
>>> "value name", but my experience showed the contrary...
>>>
>>> I've already seem these
>>> link,
>>> and also found important information about this subject on this mailing (
>>> http://lists.xwiki.org/pipermail/users/2008-February/010417.html). But
>>> didn't solve my problem.
>>>
>>>   
>> Have you checked this?
>>
>>
>> http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateAOneToManyRelationshipInXWiki
>>
>> I can't try it myself today. I'll be back to this issue ASAP. Thanks.
>> 
>>> Again, I just want to do the same as property "List of users" does, which
>>>   
>> is
>> 
>>> when selecting it is shown "first_name+last_name", and when querying the
>>> result is "XWiki.alias". I want to do something similar, but with my own
>>> class, not XWiki.XWikiUsers.
>>> For example:
>>> XWiki.dbClass [which has: property1 (string), property2 (string)].
>>> XWiki.class1Class [which has: property3 (dbList)=> XWiki class name:
>>> XWiki.dbClass, id field name: property1; value field name: property2)].
>>>
>>> 2010/10/29 [Ricardo Rodriguez] eBioTIC. 
>>>
>>>
>>>   
 Hi,

 Erica Usui wrote:

 
> Hi!
>
> I'm trying to list the users' name in a form, but the name have
>
>   
 complement

 
> (p.e. Name: Carlos Eduardo da Silva / HR - manager). As in a "List of
>
>   
 users"

 
> property, I want to display, when someone is selecting a name, the full
>
>   
 name

 
> and complement, but when displaying in the results I want it to show
>   
>> the
>> 
> user's Alias.
>
> So what I did was a class (XWiki.dbClass)  with two properties:
> Name (String) (p.e. Carlos Eduardo da Silva / HR - manager)
> Alias (String) (p.e.Carlos)
> Which I used as a DataBase to the property "Name" in the other class
> (XWiki.formClass).
>
> So, I chose for this property:
> XWiki Class Name: XWiki.dbClass
> Id Field Name: Name
> Value Field Name: Alias
>
> But the result was not as in a "List of Users" property, in which when
>
>   
 one

 
> choose for example "Carlos Eduardo da Silva" the result in the table is
> "Carlos".
> The result was that both, selected and diplayed information, are in
>   
>> this
>> 
> example "Carlos".
>
>
>   
 Perhaps I'm missing something, Erica, but if you are dealing with XWiki
 users, what not simply modify XWiki.XWikiUsers class to  host the new
 information you need to store? You must be careful when you updated this
 class at XWiki update time!

 Or create that new dbClass to store new data (position and alias) and
 instantiate it (add an instance of that class) to each XWiki user.

 I know this is not what you are asking for, but I'm trying to understand
 what do you want to do. I've tried this Database List properties type in
 a XE 2.6-SNAPSHOT.31892 and it seems to work a expected.

 When you talk about "result in the table", what table are you talking
 about? Thanks!


 
> And another thing... I didn't understand the DB Tree property. One
>   
>> thing
>> 
> that worked was:
> XWiki Class Name: XWiki.dbClass
> Id Field Name: doc.fullName
> Value Field Name: Alias
> Parent Field Name: doc.parent
>
> But I don't understand the meaning of that...
>
> Can anyone help me ?
>
>
>   
 This is the only file where I can find a reference to Tree Property in
 the XWiki ecosystem...

 http://dev.xwiki.org/xwiki/bin/view/Drafts/DatabaseListProperties

 But it 

Re: [xwiki-users] where put macros?

2010-11-02 Thread Jerome Velociter
Hi Vincent, all,

See below

On Tue, Nov 2, 2010 at 10:46 PM, Vincent Massol  wrote:
>
> On Nov 2, 2010, at 7:47 PM, Thibaut Camberlin wrote:
>
>> On Tue, Nov 2, 2010 at 3:05 PM, Jerome Velociter  wrote:
>>
>>> Actually I've been thinking maybe we could provide a Macros/ space
>>> with XE. The home page would be a improved version of the current
>>> XWiki.WikiMacros page (adding for example a ClassSheet for macros, a
>>> form to create a new macro, some documentation, etc.)
>>>
>>> WDYT?
>>>
>>
>> This polishing would empower a standard user to use this XWiki advanced
>> feature.
>
> I don't quite agree. Standard users shouldn't see this space. it's something 
> technical and 99% of wiki users don't want/need to see it (and they won't 
> even understand it). So for me this space would need to be hidden from simple 
> users (same as for other tech spaces).

Then we should probably hide them from the WYSIWYG tooIbar too, I guess ;)

Seriously, the space could be blacklisted, but it should be discussed,
I'm not sure we want to have only admins seing it (personally I see
that space as being "documentation on macros existing in the wiki"
before being "a place to create new macros" - so not so technical in
the end).

Maybe in some distant future we should have an intermediary level
between "Normal users" and "Admins". BTW do users that chose to be
"Advanced Users" in their profile see the blacklisted spaces ? Maybe
the intermediary level could be this one.

>
> I'm not sure what the proposal is about exactly.

Well it's not a proposal yet, rather an idea.

> Some open questions: Would the macros stay where they are currently located?

If you ask me some should be moved already (like {{spaces}} and
{{tags}}), since they are located in documents that already have
another purpose, and thus can not benefit from a potential
WikiMacroClassSheet (that for example could display the usage of the
macro and its parameters ; thus becoming a sort of self-contained
documentation for the held macro)

>Shouldn't macros stay with their apps?

Yes they should.
Right now we don't even have a rule for where to put applications
documents (in their own space ? with a Code suffix ? in the XWiki
space ? somewhere else ?)
I think the (not existing) UI at Macros.WebHome should retrieve and
list documents from the entire wiki, not just the Macros space. Same
as the scheduler (I changed that behavior just recently by the way - I
wanted my application scheduler jobs in my application space, not in
the Scheduler space - see http://jira.xwiki.org/jira/browse/XASCH-56)

>Does it mean a new platform/application in svn?

There is already one : the "wikibridge" I think, with just one
document now (the name is not correct though, I agree)

> What macros go there? When do we use wiki macros vs java macros (we haven't 
> really decided on this I think)?

I'm quite sure you will not agree, but I would say generic (i.e. not
tied to a particular application) wiki macros could go there. For
example {{spaces /}} or even {{activity /}} which goes beyond just the
dashboard app.

> Will java macros also be listed on that home page (they should IMO)?

Yes they should. Maybe not under the exact same form, but they
definitely should be listed and documented here

>
> Generally speaking I'm rather +1 (I'd like macros to stay in their apps 
> though).

Cool. I'm +1 too and +1 to have the possibility for apps to bring
their own macros.

Jerome.

>
> Thanks
> -Vincent
>
> PS: I didn't even know about 
> http://localhost:8080/xwiki/bin/view/XWiki/WikiMacros ;) I wonder why it's 
> not already using a livetable
>
>> Here is my +1.
>>
>>
>>>
>>> Jerome
>>>
>>> On Tue, Nov 2, 2010 at 2:03 PM, Arnaud bourree 
>>> wrote:
 2010/11/2 Thomas Mortagne :
> On Tue, Nov 2, 2010 at 10:14, Caleb James DeLisle
>  wrote:
>> If you're contributing a macro then just log in and fgo to this page.
>> http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
>> It will put the macro in the Macros space and automatically add it to
>>> the index.
>> Thanks for contributing to code.xwiki.org ;)
>
> I think Thomas was talking about his how macro space, not where to put
> contributed macro documentation.
>

 Yes, thanks Thomas,
 I decided to used Macros space.

 Arnaud.

>>
>> Caleb
>>
>> On 11/02/2010 04:57 AM, Arnaud bourree wrote:
>>> 2010/11/2 Caleb James DeLisle :
 In your own wiki I think you want to put macros in a space where you
>>> will be able to find them
 easily. The XWiki space is full of important internals and I wouldn't
>>> recommend putting any macros
 in there.
 "Macros" sounds like a fine choice.
>>>
>>> I ask question more for macro we contribute to
>>>
>>> Arnaud.
>>>

 Caleb

 On 11/02/2010 04:40 AM, Arnaud bourree wrote:
> Hello,
>
> Where is the best space to put macros?
>

Re: [xwiki-users] where put macros?

2010-11-02 Thread Vincent Massol

On Nov 2, 2010, at 7:47 PM, Thibaut Camberlin wrote:

> On Tue, Nov 2, 2010 at 3:05 PM, Jerome Velociter  wrote:
> 
>> Actually I've been thinking maybe we could provide a Macros/ space
>> with XE. The home page would be a improved version of the current
>> XWiki.WikiMacros page (adding for example a ClassSheet for macros, a
>> form to create a new macro, some documentation, etc.)
>> 
>> WDYT?
>> 
> 
> This polishing would empower a standard user to use this XWiki advanced
> feature.

I don't quite agree. Standard users shouldn't see this space. it's something 
technical and 99% of wiki users don't want/need to see it (and they won't even 
understand it). So for me this space would need to be hidden from simple users 
(same as for other tech spaces).

I'm not sure what the proposal is about exactly. Some open questions: Would the 
macros stay where they are currently located? Shouldn't macros stay with their 
apps? Does it mean a new platform/application in svn? What macros go there? 
When do we use wiki macros vs java macros (we haven't really decided on this I 
think)? Will java macros also be listed on that home page (they should IMO)?

Generally speaking I'm rather +1 (I'd like macros to stay in their apps though).

Thanks
-Vincent

PS: I didn't even know about 
http://localhost:8080/xwiki/bin/view/XWiki/WikiMacros ;) I wonder why it's not 
already using a livetable

> Here is my +1.
> 
> 
>> 
>> Jerome
>> 
>> On Tue, Nov 2, 2010 at 2:03 PM, Arnaud bourree 
>> wrote:
>>> 2010/11/2 Thomas Mortagne :
 On Tue, Nov 2, 2010 at 10:14, Caleb James DeLisle
  wrote:
> If you're contributing a macro then just log in and fgo to this page.
> http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
> It will put the macro in the Macros space and automatically add it to
>> the index.
> Thanks for contributing to code.xwiki.org ;)
 
 I think Thomas was talking about his how macro space, not where to put
 contributed macro documentation.
 
>>> 
>>> Yes, thanks Thomas,
>>> I decided to used Macros space.
>>> 
>>> Arnaud.
>>> 
> 
> Caleb
> 
> On 11/02/2010 04:57 AM, Arnaud bourree wrote:
>> 2010/11/2 Caleb James DeLisle :
>>> In your own wiki I think you want to put macros in a space where you
>> will be able to find them
>>> easily. The XWiki space is full of important internals and I wouldn't
>> recommend putting any macros
>>> in there.
>>> "Macros" sounds like a fine choice.
>> 
>> I ask question more for macro we contribute to
>> 
>> Arnaud.
>> 
>>> 
>>> Caleb
>>> 
>>> On 11/02/2010 04:40 AM, Arnaud bourree wrote:
 Hello,
 
 Where is the best space to put macros?
 I check in some macro from code.xwiki.org, and find that macros are
 commonly put in XWiki, Macros or Macro space.
 I've a preference for Macros as it self explanatory and I think
>> XWiki
 space more dedicated to XE pages.
 
 What do you think?
 
 Regards,
 
 Arnaud.
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] where put macros?

2010-11-02 Thread Thibaut Camberlin
On Tue, Nov 2, 2010 at 3:05 PM, Jerome Velociter  wrote:

> Actually I've been thinking maybe we could provide a Macros/ space
> with XE. The home page would be a improved version of the current
> XWiki.WikiMacros page (adding for example a ClassSheet for macros, a
> form to create a new macro, some documentation, etc.)
>
> WDYT?
>

This polishing would empower a standard user to use this XWiki advanced
feature.

Here is my +1.


>
> Jerome
>
> On Tue, Nov 2, 2010 at 2:03 PM, Arnaud bourree 
> wrote:
> > 2010/11/2 Thomas Mortagne :
> >> On Tue, Nov 2, 2010 at 10:14, Caleb James DeLisle
> >>  wrote:
> >>> If you're contributing a macro then just log in and fgo to this page.
> >>> http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
> >>> It will put the macro in the Macros space and automatically add it to
> the index.
> >>> Thanks for contributing to code.xwiki.org ;)
> >>
> >> I think Thomas was talking about his how macro space, not where to put
> >> contributed macro documentation.
> >>
> >
> > Yes, thanks Thomas,
> > I decided to used Macros space.
> >
> > Arnaud.
> >
> >>>
> >>> Caleb
> >>>
> >>> On 11/02/2010 04:57 AM, Arnaud bourree wrote:
>  2010/11/2 Caleb James DeLisle :
> > In your own wiki I think you want to put macros in a space where you
> will be able to find them
> > easily. The XWiki space is full of important internals and I wouldn't
> recommend putting any macros
> > in there.
> > "Macros" sounds like a fine choice.
> 
>  I ask question more for macro we contribute to
> 
>  Arnaud.
> 
> >
> > Caleb
> >
> > On 11/02/2010 04:40 AM, Arnaud bourree wrote:
> >> Hello,
> >>
> >> Where is the best space to put macros?
> >> I check in some macro from code.xwiki.org, and find that macros are
> >> commonly put in XWiki, Macros or Macro space.
> >> I've a preference for Macros as it self explanatory and I think
> XWiki
> >> space more dedicated to XE pages.
> >>
> >> What do you think?
> >>
> >> Regards,
> >>
> >> Arnaud.
> >> ___
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>  ___
>  users mailing list
>  users@xwiki.org
>  http://lists.xwiki.org/mailman/listinfo/users
> 
> >>>
> >>> ___
> >>> users mailing list
> >>> users@xwiki.org
> >>> http://lists.xwiki.org/mailman/listinfo/users
> >>>
> >>
> >>
> >>
> >> --
> >> Thomas Mortagne
> >> ___
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> > ___
> > users mailing list
> > users@xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Properties "List of users" and "DB list" (and "DB Tree")

2010-11-02 Thread Erica Usui
I'm sorry, but that's just what I was talking about from the begining...

It doesn't work properly... It was suposed to store the property of Id Field
Name and to display on select list the property of Value Field Name. But it
seems to display and store the the chosen one for Value Field Name.

2010/11/2 [Ricardo Rodriguez] eBioTIC. 

> Hi!
>
> Erica Usui wrote:
> > Hi!
> >
> > My property is just like a static list, but populated by another class -
> so,
> > I used a DB List property.
> > What I want to show on select is different from what I want the stored
> value
> > to be, this is actually the purpose of DB List properties' "id name" and
> > "value name", but my experience showed the contrary...
> >
> > I've already seem these
> > link,
> > and also found important information about this subject on this mailing (
> > http://lists.xwiki.org/pipermail/users/2008-February/010417.html). But
> > didn't solve my problem.
> >
>
> Have you checked this?
>
>
> http://www.xwiki.org/xwiki/bin/view/FAQ/HowToCreateAOneToManyRelationshipInXWiki
>
> I can't try it myself today. I'll be back to this issue ASAP. Thanks.
> > Again, I just want to do the same as property "List of users" does, which
> is
> > when selecting it is shown "first_name+last_name", and when querying the
> > result is "XWiki.alias". I want to do something similar, but with my own
> > class, not XWiki.XWikiUsers.
> > For example:
> > XWiki.dbClass [which has: property1 (string), property2 (string)].
> > XWiki.class1Class [which has: property3 (dbList)=> XWiki class name:
> > XWiki.dbClass, id field name: property1; value field name: property2)].
> >
> > 2010/10/29 [Ricardo Rodriguez] eBioTIC. 
> >
> >
> >> Hi,
> >>
> >> Erica Usui wrote:
> >>
> >>> Hi!
> >>>
> >>> I'm trying to list the users' name in a form, but the name have
> >>>
> >> complement
> >>
> >>> (p.e. Name: Carlos Eduardo da Silva / HR - manager). As in a "List of
> >>>
> >> users"
> >>
> >>> property, I want to display, when someone is selecting a name, the full
> >>>
> >> name
> >>
> >>> and complement, but when displaying in the results I want it to show
> the
> >>> user's Alias.
> >>>
> >>> So what I did was a class (XWiki.dbClass)  with two properties:
> >>> Name (String) (p.e. Carlos Eduardo da Silva / HR - manager)
> >>> Alias (String) (p.e.Carlos)
> >>> Which I used as a DataBase to the property "Name" in the other class
> >>> (XWiki.formClass).
> >>>
> >>> So, I chose for this property:
> >>> XWiki Class Name: XWiki.dbClass
> >>> Id Field Name: Name
> >>> Value Field Name: Alias
> >>>
> >>> But the result was not as in a "List of Users" property, in which when
> >>>
> >> one
> >>
> >>> choose for example "Carlos Eduardo da Silva" the result in the table is
> >>> "Carlos".
> >>> The result was that both, selected and diplayed information, are in
> this
> >>> example "Carlos".
> >>>
> >>>
> >> Perhaps I'm missing something, Erica, but if you are dealing with XWiki
> >> users, what not simply modify XWiki.XWikiUsers class to  host the new
> >> information you need to store? You must be careful when you updated this
> >> class at XWiki update time!
> >>
> >> Or create that new dbClass to store new data (position and alias) and
> >> instantiate it (add an instance of that class) to each XWiki user.
> >>
> >> I know this is not what you are asking for, but I'm trying to understand
> >> what do you want to do. I've tried this Database List properties type in
> >> a XE 2.6-SNAPSHOT.31892 and it seems to work a expected.
> >>
> >> When you talk about "result in the table", what table are you talking
> >> about? Thanks!
> >>
> >>
> >>> And another thing... I didn't understand the DB Tree property. One
> thing
> >>> that worked was:
> >>> XWiki Class Name: XWiki.dbClass
> >>> Id Field Name: doc.fullName
> >>> Value Field Name: Alias
> >>> Parent Field Name: doc.parent
> >>>
> >>> But I don't understand the meaning of that...
> >>>
> >>> Can anyone help me ?
> >>>
> >>>
> >> This is the only file where I can find a reference to Tree Property in
> >> the XWiki ecosystem...
> >>
> >> http://dev.xwiki.org/xwiki/bin/view/Drafts/DatabaseListProperties
> >>
> >> But it is just in the title of the document. I've trying to get it
> >> working to no avail. It seems that it allows to assign a value of a
> >> property by selecting a document from a tree of documents. But I'm not
> >> able to get it working. Could you try with, let's say, a dbTree based on
> >> XWiki.XWikiUsers? Thanks!
> >>
> >> Just my two cents!
> >>
> >> Ricardo
> >>
> >> --
> >> Ricardo Rodríguez
> >> CTO
> >> eBioTIC.
> >> Life Sciences, Data Modeling and Information Management Systems
> >>
> >> ___
> >> users mailing list
> >> users@xwiki.org
> >> http://lists.xwiki.org/mailman/listinfo/users
> >>
> >>
> >
> >
> >
> >
>
> --
> Ricardo Rodríguez
> CTO
> eBioTIC.
> Life Sciences, Data Modeling and Information Managem

Re: [xwiki-users] where put macros?

2010-11-02 Thread [Ricardo Rodriguez] eBioTIC.
Hi!

Jerome Velociter wrote:
> Actually I've been thinking maybe we could provide a Macros/ space
> with XE. The home page would be a improved version of the current
> XWiki.WikiMacros page (adding for example a ClassSheet for macros, a
> form to create a new macro, some documentation, etc.)
>
> WDYT?
>   

It will be really welcome! :-) I think any user will welcome any 
initiative that contribute to unveil XWiki scripting capabilities. You 
dev people are aware of all this nice stuff but we, regular users, 
struggle to get them working!

Cheers!


> Jerome
>
> On Tue, Nov 2, 2010 at 2:03 PM, Arnaud bourree  
> wrote:
>   
>> 2010/11/2 Thomas Mortagne :
>> 
>>> On Tue, Nov 2, 2010 at 10:14, Caleb James DeLisle
>>>  wrote:
>>>   
 If you're contributing a macro then just log in and fgo to this page.
 http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
 It will put the macro in the Macros space and automatically add it to the 
 index.
 Thanks for contributing to code.xwiki.org ;)
 
>>> I think Thomas was talking about his how macro space, not where to put
>>> contributed macro documentation.
>>>
>>>   
>> Yes, thanks Thomas,
>> I decided to used Macros space.
>>
>> Arnaud.
>>
>> 
 Caleb

 On 11/02/2010 04:57 AM, Arnaud bourree wrote:
 
> 2010/11/2 Caleb James DeLisle :
>   
>> In your own wiki I think you want to put macros in a space where you 
>> will be able to find them
>> easily. The XWiki space is full of important internals and I wouldn't 
>> recommend putting any macros
>> in there.
>> "Macros" sounds like a fine choice.
>> 
> I ask question more for macro we contribute to
>
> Arnaud.
>
>   
>> Caleb
>>
>> On 11/02/2010 04:40 AM, Arnaud bourree wrote:
>> 
>>> Hello,
>>>
>>> Where is the best space to put macros?
>>> I check in some macro from code.xwiki.org, and find that macros are
>>> commonly put in XWiki, Macros or Macro space.
>>> I've a preference for Macros as it self explanatory and I think XWiki
>>> space more dedicated to XE pages.
>>>
>>> What do you think?
>>>
>>> Regards,
>>>
>>> Arnaud.
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>>   
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>   
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 
>>>
>>> --
>>> Thomas Mortagne
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>>   
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>> 
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>   

-- 
Ricardo Rodríguez
CTO
eBioTIC.
Life Sciences, Data Modeling and Information Management Systems

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


Re: [xwiki-users] watchlist daily notifier doesn't work

2010-11-02 Thread Jean-Vincent Drean
Hi,

Which version of XE are you using ?

Thanks,
JV.

On Tue, Nov 2, 2010 at 3:32 PM, ccoreggioli  wrote:
>
> Hi all,
>
> it's a couple of weeks that the daily scheduling for watchlist notification
> doesn't work anymore. in particular, i get the following error message on
> catalina.out log file:
>
> 2010-11-02 15:15:11,642 [DefaultQuartzScheduler_Worker-2] ERROR
> watchlist.WatchListPlugin       - Exception while running job
> java.lang.NullPointerException
>        at
> com.xpn.xwiki.plugin.watchlist.WatchListNotifier.sendEmailNotification(WatchListNotifier.java:84)
>        at
> com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:262)
>        at
> com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75)
>        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>        at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
> java.lang.NullPointerException
>        at
> com.xpn.xwiki.plugin.watchlist.WatchListNotifier.sendEmailNotification(WatchListNotifier.java:84)
>        at
> com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:262)
>        at
> com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75)
>        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
>        at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
>
> as you can see, the message is not very explanative, and can't find out any
> solution. I already tried  to unschedule -> change the fire time ->
> reschedule. Is there an already known issue and, maybe, its solution? The
> hourly scheduler works (good) as before, so i don't think this problem is
> about malformed documents.
>
> Any idea?
>
> Thanks a lot,
> claudio
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/watchlist-daily-notifier-doesn-t-work-tp5697641p5697641.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Error during first login after restart

2010-11-02 Thread Maxime Mathieu
Hi XWikiers,

Each night, my wiki farm is stopped during the backup of the database.
In the morning, when the first user connects to the wiki, the following
error appears in the xwiki.log :

[http://localhost/xwiki/bin/loginsubmit/XWiki/XWikiLogin] ERROR
nager.ApplicationManagerPlugin  - Refresh all applications translations
informations
com.xpn.xwiki.XWikiException: Error number 3223 in 3: Exception while
searching documents with SQL [, BaseObject as obj where doc.fullName=
obj.name and obj.className=? and doc.fullName<>?]
Wrapped Exception: null
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2588)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:3037)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:3001)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2989)
at
com.xpn.xwiki.store.XWikiHibernateStore.searchDocuments(XWikiHibernateStore.java:2941)
at
com.xpn.xwiki.store.XWikiCacheStore.searchDocuments(XWikiCacheStore.java:552)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocumentsByFields(AbstractXClassManager.java:938)
at
com.xpn.xwiki.plugin.applicationmanager.core.doc.objects.classes.AbstractXClassManager.searchXObjectDocuments(AbstractXClassManager.java:900)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.getApplicationList(ApplicationManager.java:129)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManager.updateAllApplicationTranslation(ApplicationManager.java:310)
at
com.xpn.xwiki.plugin.applicationmanager.ApplicationManagerPlugin.init(ApplicationManagerPlugin.java:122)
at
com.xpn.xwiki.plugin.XWikiPluginManager.initPlugin(XWikiPluginManager.java:153)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugin(XWikiPluginManager.java:90)
at
com.xpn.xwiki.plugin.XWikiPluginManager.addPlugins(XWikiPluginManager.java:118)
at com.xpn.xwiki.XWiki.preparePlugins(XWiki.java:1155)
at com.xpn.xwiki.XWiki.initXWiki(XWiki.java:827)
at com.xpn.xwiki.XWiki.(XWiki.java:756)
at com.xpn.xwiki.XWiki.getMainXWiki(XWiki.java:383)
at com.xpn.xwiki.XWiki.getXWiki(XWiki.java:471)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:136)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:129)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:152)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:68)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:304)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:112)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   

Re: [xwiki-users] where put macros?

2010-11-02 Thread Thomas Mortagne
On Tue, Nov 2, 2010 at 15:05, Jerome Velociter  wrote:
> Actually I've been thinking maybe we could provide a Macros/ space
> with XE. The home page would be a improved version of the current
> XWiki.WikiMacros page (adding for example a ClassSheet for macros, a
> form to create a new macro, some documentation, etc.)
>
> WDYT?

I think it used to be that way but when you put thing outside of XWiki
space some people complain ;)

+1 for me anyway

>
> Jerome
>
> On Tue, Nov 2, 2010 at 2:03 PM, Arnaud bourree  
> wrote:
>> 2010/11/2 Thomas Mortagne :
>>> On Tue, Nov 2, 2010 at 10:14, Caleb James DeLisle
>>>  wrote:
 If you're contributing a macro then just log in and fgo to this page.
 http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
 It will put the macro in the Macros space and automatically add it to the 
 index.
 Thanks for contributing to code.xwiki.org ;)
>>>
>>> I think Thomas was talking about his how macro space, not where to put
>>> contributed macro documentation.
>>>
>>
>> Yes, thanks Thomas,
>> I decided to used Macros space.
>>
>> Arnaud.
>>

 Caleb

 On 11/02/2010 04:57 AM, Arnaud bourree wrote:
> 2010/11/2 Caleb James DeLisle :
>> In your own wiki I think you want to put macros in a space where you 
>> will be able to find them
>> easily. The XWiki space is full of important internals and I wouldn't 
>> recommend putting any macros
>> in there.
>> "Macros" sounds like a fine choice.
>
> I ask question more for macro we contribute to
>
> Arnaud.
>
>>
>> Caleb
>>
>> On 11/02/2010 04:40 AM, Arnaud bourree wrote:
>>> Hello,
>>>
>>> Where is the best space to put macros?
>>> I check in some macro from code.xwiki.org, and find that macros are
>>> commonly put in XWiki, Macros or Macro space.
>>> I've a preference for Macros as it self explanatory and I think XWiki
>>> space more dedicated to XE pages.
>>>
>>> What do you think?
>>>
>>> Regards,
>>>
>>> Arnaud.
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>

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

>>>
>>>
>>>
>>> --
>>> Thomas Mortagne
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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


Re: [xwiki-users] where put macros?

2010-11-02 Thread Arnaud bourree
2010/11/2 Jerome Velociter :
> Actually I've been thinking maybe we could provide a Macros/ space
> with XE. The home page would be a improved version of the current
> XWiki.WikiMacros page (adding for example a ClassSheet for macros, a
> form to create a new macro, some documentation, etc.)
>
> WDYT?

I like the idea.
May be with also with version check linked to future extension manager

Arnaud.
>
> Jerome
>
> On Tue, Nov 2, 2010 at 2:03 PM, Arnaud bourree  
> wrote:
>> 2010/11/2 Thomas Mortagne :
>>> On Tue, Nov 2, 2010 at 10:14, Caleb James DeLisle
>>>  wrote:
 If you're contributing a macro then just log in and fgo to this page.
 http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
 It will put the macro in the Macros space and automatically add it to the 
 index.
 Thanks for contributing to code.xwiki.org ;)
>>>
>>> I think Thomas was talking about his how macro space, not where to put
>>> contributed macro documentation.
>>>
>>
>> Yes, thanks Thomas,
>> I decided to used Macros space.
>>
>> Arnaud.
>>

 Caleb

 On 11/02/2010 04:57 AM, Arnaud bourree wrote:
> 2010/11/2 Caleb James DeLisle :
>> In your own wiki I think you want to put macros in a space where you 
>> will be able to find them
>> easily. The XWiki space is full of important internals and I wouldn't 
>> recommend putting any macros
>> in there.
>> "Macros" sounds like a fine choice.
>
> I ask question more for macro we contribute to
>
> Arnaud.
>
>>
>> Caleb
>>
>> On 11/02/2010 04:40 AM, Arnaud bourree wrote:
>>> Hello,
>>>
>>> Where is the best space to put macros?
>>> I check in some macro from code.xwiki.org, and find that macros are
>>> commonly put in XWiki, Macros or Macro space.
>>> I've a preference for Macros as it self explanatory and I think XWiki
>>> space more dedicated to XE pages.
>>>
>>> What do you think?
>>>
>>> Regards,
>>>
>>> Arnaud.
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>

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

>>>
>>>
>>>
>>> --
>>> Thomas Mortagne
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] watchlist daily notifier doesn't work

2010-11-02 Thread ccoreggioli

Hi all, 

it's a couple of weeks that the daily scheduling for watchlist notification
doesn't work anymore. in particular, i get the following error message on
catalina.out log file:

2010-11-02 15:15:11,642 [DefaultQuartzScheduler_Worker-2] ERROR
watchlist.WatchListPlugin   - Exception while running job
java.lang.NullPointerException
at
com.xpn.xwiki.plugin.watchlist.WatchListNotifier.sendEmailNotification(WatchListNotifier.java:84)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:262)
at
com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
java.lang.NullPointerException
at
com.xpn.xwiki.plugin.watchlist.WatchListNotifier.sendEmailNotification(WatchListNotifier.java:84)
at
com.xpn.xwiki.plugin.watchlist.WatchListJob.executeJob(WatchListJob.java:262)
at
com.xpn.xwiki.plugin.scheduler.AbstractJob.execute(AbstractJob.java:75)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)

as you can see, the message is not very explanative, and can't find out any
solution. I already tried  to unschedule -> change the fire time ->
reschedule. Is there an already known issue and, maybe, its solution? The
hourly scheduler works (good) as before, so i don't think this problem is
about malformed documents.

Any idea?

Thanks a lot,
claudio 
-- 
View this message in context: 
http://xwiki.475771.n2.nabble.com/watchlist-daily-notifier-doesn-t-work-tp5697641p5697641.html
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] where put macros?

2010-11-02 Thread Jerome Velociter
Actually I've been thinking maybe we could provide a Macros/ space
with XE. The home page would be a improved version of the current
XWiki.WikiMacros page (adding for example a ClassSheet for macros, a
form to create a new macro, some documentation, etc.)

WDYT?

Jerome

On Tue, Nov 2, 2010 at 2:03 PM, Arnaud bourree  wrote:
> 2010/11/2 Thomas Mortagne :
>> On Tue, Nov 2, 2010 at 10:14, Caleb James DeLisle
>>  wrote:
>>> If you're contributing a macro then just log in and fgo to this page.
>>> http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
>>> It will put the macro in the Macros space and automatically add it to the 
>>> index.
>>> Thanks for contributing to code.xwiki.org ;)
>>
>> I think Thomas was talking about his how macro space, not where to put
>> contributed macro documentation.
>>
>
> Yes, thanks Thomas,
> I decided to used Macros space.
>
> Arnaud.
>
>>>
>>> Caleb
>>>
>>> On 11/02/2010 04:57 AM, Arnaud bourree wrote:
 2010/11/2 Caleb James DeLisle :
> In your own wiki I think you want to put macros in a space where you will 
> be able to find them
> easily. The XWiki space is full of important internals and I wouldn't 
> recommend putting any macros
> in there.
> "Macros" sounds like a fine choice.

 I ask question more for macro we contribute to

 Arnaud.

>
> Caleb
>
> On 11/02/2010 04:40 AM, Arnaud bourree wrote:
>> Hello,
>>
>> Where is the best space to put macros?
>> I check in some macro from code.xwiki.org, and find that macros are
>> commonly put in XWiki, Macros or Macro space.
>> I've a preference for Macros as it self explanatory and I think XWiki
>> space more dedicated to XE pages.
>>
>> What do you think?
>>
>> Regards,
>>
>> Arnaud.
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

>>>
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>>
>>
>> --
>> Thomas Mortagne
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] where put macros?

2010-11-02 Thread Thomas Mortagne
On Tue, Nov 2, 2010 at 10:56, Thomas Mortagne  wrote:
> On Tue, Nov 2, 2010 at 10:14, Caleb James DeLisle
>  wrote:
>> If you're contributing a macro then just log in and fgo to this page.
>> http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
>> It will put the macro in the Macros space and automatically add it to the 
>> index.
>> Thanks for contributing to code.xwiki.org ;)
>
> I think Thomas was talking about his how macro space, not where to put

s/Thomas/Arnaud/

> contributed macro documentation.
>
>>
>> Caleb
>>
>> On 11/02/2010 04:57 AM, Arnaud bourree wrote:
>>> 2010/11/2 Caleb James DeLisle :
 In your own wiki I think you want to put macros in a space where you will 
 be able to find them
 easily. The XWiki space is full of important internals and I wouldn't 
 recommend putting any macros
 in there.
 "Macros" sounds like a fine choice.
>>>
>>> I ask question more for macro we contribute to
>>>
>>> Arnaud.
>>>

 Caleb

 On 11/02/2010 04:40 AM, Arnaud bourree wrote:
> Hello,
>
> Where is the best space to put macros?
> I check in some macro from code.xwiki.org, and find that macros are
> commonly put in XWiki, Macros or Macro space.
> I've a preference for Macros as it self explanatory and I think XWiki
> space more dedicated to XE pages.
>
> What do you think?
>
> Regards,
>
> Arnaud.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>

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

>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
>



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


Re: [xwiki-users] where put macros?

2010-11-02 Thread Arnaud bourree
2010/11/2 Thomas Mortagne :
> On Tue, Nov 2, 2010 at 10:14, Caleb James DeLisle
>  wrote:
>> If you're contributing a macro then just log in and fgo to this page.
>> http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
>> It will put the macro in the Macros space and automatically add it to the 
>> index.
>> Thanks for contributing to code.xwiki.org ;)
>
> I think Thomas was talking about his how macro space, not where to put
> contributed macro documentation.
>

Yes, thanks Thomas,
I decided to used Macros space.

Arnaud.

>>
>> Caleb
>>
>> On 11/02/2010 04:57 AM, Arnaud bourree wrote:
>>> 2010/11/2 Caleb James DeLisle :
 In your own wiki I think you want to put macros in a space where you will 
 be able to find them
 easily. The XWiki space is full of important internals and I wouldn't 
 recommend putting any macros
 in there.
 "Macros" sounds like a fine choice.
>>>
>>> I ask question more for macro we contribute to
>>>
>>> Arnaud.
>>>

 Caleb

 On 11/02/2010 04:40 AM, Arnaud bourree wrote:
> Hello,
>
> Where is the best space to put macros?
> I check in some macro from code.xwiki.org, and find that macros are
> commonly put in XWiki, Macros or Macro space.
> I've a preference for Macros as it self explanatory and I think XWiki
> space more dedicated to XE pages.
>
> What do you think?
>
> Regards,
>
> Arnaud.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>

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

>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
>
>
> --
> Thomas Mortagne
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Xslt Macro

2010-11-02 Thread Arnaud bourree
Hi,

I've published a macro allowing to do XSLT transformation on XML
document in syntax 2.0.

http://code.xwiki.org/xwiki/bin/view/Macros/XsltMacro

Regards,

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


Re: [xwiki-users] where put macros?

2010-11-02 Thread Thomas Mortagne
On Tue, Nov 2, 2010 at 10:14, Caleb James DeLisle
 wrote:
> If you're contributing a macro then just log in and fgo to this page.
> http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
> It will put the macro in the Macros space and automatically add it to the 
> index.
> Thanks for contributing to code.xwiki.org ;)

I think Thomas was talking about his how macro space, not where to put
contributed macro documentation.

>
> Caleb
>
> On 11/02/2010 04:57 AM, Arnaud bourree wrote:
>> 2010/11/2 Caleb James DeLisle :
>>> In your own wiki I think you want to put macros in a space where you will 
>>> be able to find them
>>> easily. The XWiki space is full of important internals and I wouldn't 
>>> recommend putting any macros
>>> in there.
>>> "Macros" sounds like a fine choice.
>>
>> I ask question more for macro we contribute to
>>
>> Arnaud.
>>
>>>
>>> Caleb
>>>
>>> On 11/02/2010 04:40 AM, Arnaud bourree wrote:
 Hello,

 Where is the best space to put macros?
 I check in some macro from code.xwiki.org, and find that macros are
 commonly put in XWiki, Macros or Macro space.
 I've a preference for Macros as it self explanatory and I think XWiki
 space more dedicated to XE pages.

 What do you think?

 Regards,

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

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



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


Re: [xwiki-users] Lucene File Indexing

2010-11-02 Thread Thomas Mortagne
On Thu, Oct 28, 2010 at 11:26, Thomas Höschele  wrote:
> Hallo,
>
>
>
> I noticed that lucene is capable of Indexing various office files (excel,
> word, outlook mails); however, this doesn’t happen automatically.
> When I add the file it does not get indexed no matter how long I wait. When
> I rebuild the Index via the administration terminal the files get indexed.
>
>
>
> Also I get an error in the logs (error getting content of attachment … of
> doc …).

That error generally mean that Lucene was unable to parse you files.
What version of XWiki are you using ?

Note that OpenXML files (.xlsx, .xdoc, ...) are supported only since XE 2.4.

If the bug is not really file indexing but the fact that it's done
only when reindexing the whole thing would be great if you could
create a bug on http://jira.xwiki.org and i will look at that.

>
>
>
> Is this an Lucene Error or has it something todo with my configuration?
>
>
>
> Thomas
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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


Re: [xwiki-users] where put macros?

2010-11-02 Thread Thomas Mortagne
On Tue, Nov 2, 2010 at 09:57, Arnaud bourree  wrote:
> 2010/11/2 Caleb James DeLisle :
>> In your own wiki I think you want to put macros in a space where you will be 
>> able to find them
>> easily. The XWiki space is full of important internals and I wouldn't 
>> recommend putting any macros
>> in there.
>> "Macros" sounds like a fine choice.
>
> I ask question more for macro we contribute to

There is a lot of things on XWiki space because XWiki is "protected"
by default so when you install it on XE you know only admin will be
able to modify it. Apart from this any space is OK, i prefer "Macros"
too. Could also be a space dedicated to a bigger application in which
you have macros and other things.

>
> Arnaud.
>
>>
>> Caleb
>>
>> On 11/02/2010 04:40 AM, Arnaud bourree wrote:
>>> Hello,
>>>
>>> Where is the best space to put macros?
>>> I check in some macro from code.xwiki.org, and find that macros are
>>> commonly put in XWiki, Macros or Macro space.
>>> I've a preference for Macros as it self explanatory and I think XWiki
>>> space more dedicated to XE pages.
>>>
>>> What do you think?
>>>
>>> Regards,
>>>
>>> Arnaud.
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>



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


Re: [xwiki-users] where put macros?

2010-11-02 Thread Caleb James DeLisle
If you're contributing a macro then just log in and fgo to this page.
http://code.xwiki.org/xwiki/bin/view/Macros/CreateMacro
It will put the macro in the Macros space and automatically add it to the index.
Thanks for contributing to code.xwiki.org ;)

Caleb

On 11/02/2010 04:57 AM, Arnaud bourree wrote:
> 2010/11/2 Caleb James DeLisle :
>> In your own wiki I think you want to put macros in a space where you will be 
>> able to find them
>> easily. The XWiki space is full of important internals and I wouldn't 
>> recommend putting any macros
>> in there.
>> "Macros" sounds like a fine choice.
> 
> I ask question more for macro we contribute to
> 
> Arnaud.
> 
>>
>> Caleb
>>
>> On 11/02/2010 04:40 AM, Arnaud bourree wrote:
>>> Hello,
>>>
>>> Where is the best space to put macros?
>>> I check in some macro from code.xwiki.org, and find that macros are
>>> commonly put in XWiki, Macros or Macro space.
>>> I've a preference for Macros as it self explanatory and I think XWiki
>>> space more dedicated to XE pages.
>>>
>>> What do you think?
>>>
>>> Regards,
>>>
>>> Arnaud.
>>> ___
>>> users mailing list
>>> users@xwiki.org
>>> http://lists.xwiki.org/mailman/listinfo/users
>>>
>>
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 

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


Re: [xwiki-users] where put macros?

2010-11-02 Thread Arnaud bourree
2010/11/2 Caleb James DeLisle :
> In your own wiki I think you want to put macros in a space where you will be 
> able to find them
> easily. The XWiki space is full of important internals and I wouldn't 
> recommend putting any macros
> in there.
> "Macros" sounds like a fine choice.

I ask question more for macro we contribute to

Arnaud.

>
> Caleb
>
> On 11/02/2010 04:40 AM, Arnaud bourree wrote:
>> Hello,
>>
>> Where is the best space to put macros?
>> I check in some macro from code.xwiki.org, and find that macros are
>> commonly put in XWiki, Macros or Macro space.
>> I've a preference for Macros as it self explanatory and I think XWiki
>> space more dedicated to XE pages.
>>
>> What do you think?
>>
>> Regards,
>>
>> Arnaud.
>> ___
>> users mailing list
>> users@xwiki.org
>> http://lists.xwiki.org/mailman/listinfo/users
>>
>
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] where put macros?

2010-11-02 Thread Caleb James DeLisle
In your own wiki I think you want to put macros in a space where you will be 
able to find them
easily. The XWiki space is full of important internals and I wouldn't recommend 
putting any macros
in there.
"Macros" sounds like a fine choice.

Caleb

On 11/02/2010 04:40 AM, Arnaud bourree wrote:
> Hello,
> 
> Where is the best space to put macros?
> I check in some macro from code.xwiki.org, and find that macros are
> commonly put in XWiki, Macros or Macro space.
> I've a preference for Macros as it self explanatory and I think XWiki
> space more dedicated to XE pages.
> 
> What do you think?
> 
> Regards,
> 
> Arnaud.
> ___
> users mailing list
> users@xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
> 

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


[xwiki-users] where put macros?

2010-11-02 Thread Arnaud bourree
Hello,

Where is the best space to put macros?
I check in some macro from code.xwiki.org, and find that macros are
commonly put in XWiki, Macros or Macro space.
I've a preference for Macros as it self explanatory and I think XWiki
space more dedicated to XE pages.

What do you think?

Regards,

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