[xwiki-users] Revert all pages to v1.0

2015-11-04 Thread Nolan Vines
I have a fresh install of 7.3M1 and I've finished entering all of our 
documents, articles, et cetera.
Is there a way to "zero out" the version history to 1.0 so a page that I've 
edited 10+ times while creating it starts off on v1.0 instead of v10.0?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Revert all pages to v1.0

2015-11-04 Thread Louis Höfler

Hello Nolan,

fast answer i know about is only,
export all documents without history (see the exporter get url options)
and import the documents replacing the history.

Greetings, Louis

Am 04.11.2015 um 22:39 schrieb Nolan Vines:

I have a fresh install of 7.3M1 and I've finished entering all of our 
documents, articles, et cetera.
Is there a way to "zero out" the version history to 1.0 so a page that I've 
edited 10+ times while creating it starts off on v1.0 instead of v10.0?
___
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] tagcloud macro not displaying tags from nested pages

2015-11-04 Thread Thomas Mortagne
Yes I agree it would make more sense, the issue right now if that you
loose the context when you click on the tag but the context (the
space) should be passed in the link probably. Would be great if you
create create another jira issue for it.

On Wed, Nov 4, 2015 at 12:42 PM, Miroslav Galajda
 wrote:
> Hi,
>
> I can see that it has been fixed, and I've tested it and it works as
> expected.
> What is not expected (at least from my point of view) is that when clicking
> on a tag, it displays all documents tagged with that tag but from the whole
> wiki, instead of the documents only within that space.
> I think this should be expected behavior from the user point of view. What
> do you think?
>
> Mirec
>
>
> On 3 November 2015 at 11:51, Miroslav Galajda 
> wrote:
>
>> Hi,
>>
>> I've just created the one here: http://jira.xwiki.org/browse/XWIKI-12764
>>
>> Mirec
>>
>> On 3 November 2015 at 10:50, Marius Dumitru Florea <
>> mariusdumitru.flo...@xwiki.com> wrote:
>>
>>> On Tue, Nov 3, 2015 at 11:30 AM, Miroslav Galajda <
>>> miroslav.gala...@gmail.com> wrote:
>>>
>>> > Hi,
>>> >
>>> > I'm currently running on 7.3 Milestone 2.
>>> >
>>> > I've created some hierarchy of nested pages.
>>> >
>>> > And at the "node" levels (aka spaces) I have used "dashboard" template
>>> and
>>> > on the lists I have normal page with content and tags.
>>> >
>>> > The dashboard template shows correctly document hierarchy from that
>>> level
>>> > but tags cloud isn't showing anything.
>>> >
>>> >
>>>
>>> > It seems it doesn't respect the new concept of nested pages.
>>> >
>>>
>>> Yes, only the tags from the terminal pages found in the specified space
>>> are
>>> taken into account. The code should look at the nested spaces too. Can you
>>> report an issue on jira.xwiki.org ?
>>>
>>> Thanks,
>>> Marius
>>>
>>>
>>> >
>>> >
>>> > Best regards,
>>> > Mirec
>>> > ___
>>> > 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


[xwiki-users] A custom Map as class parameter

2015-11-04 Thread Matthias Wegner

Hi All,

actually i use a multi-select user-list as parameter on a class for all 
objects-instances. Now in need to add a value to any selected user which 
is in the list in the object. You have any idea how i can solve that in 
a good way?


Example:
Class: Skill
Object 1: Skill A
User-Selection in Object 1: User X, User Y
Object 2: Skill B
User-Selection in Object 2: User X, User Z

Now i need the competence-level for every user on every skill, so i need 
something like

User-Selection in Object WITH level: User X (Level 2), User Y (Level 3)

This information is by definition in a Matrix, so somewhere i need to 
attach it. Maybe i need to create a custom class and use there user and 
skill. What do you think? Can you help me?


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


Re: [xwiki-users] tagcloud macro not displaying tags from nested pages

2015-11-04 Thread Miroslav Galajda
Hi,

I can see that it has been fixed, and I've tested it and it works as
expected.
What is not expected (at least from my point of view) is that when clicking
on a tag, it displays all documents tagged with that tag but from the whole
wiki, instead of the documents only within that space.
I think this should be expected behavior from the user point of view. What
do you think?

Mirec


On 3 November 2015 at 11:51, Miroslav Galajda 
wrote:

> Hi,
>
> I've just created the one here: http://jira.xwiki.org/browse/XWIKI-12764
>
> Mirec
>
> On 3 November 2015 at 10:50, Marius Dumitru Florea <
> mariusdumitru.flo...@xwiki.com> wrote:
>
>> On Tue, Nov 3, 2015 at 11:30 AM, Miroslav Galajda <
>> miroslav.gala...@gmail.com> wrote:
>>
>> > Hi,
>> >
>> > I'm currently running on 7.3 Milestone 2.
>> >
>> > I've created some hierarchy of nested pages.
>> >
>> > And at the "node" levels (aka spaces) I have used "dashboard" template
>> and
>> > on the lists I have normal page with content and tags.
>> >
>> > The dashboard template shows correctly document hierarchy from that
>> level
>> > but tags cloud isn't showing anything.
>> >
>> >
>>
>> > It seems it doesn't respect the new concept of nested pages.
>> >
>>
>> Yes, only the tags from the terminal pages found in the specified space
>> are
>> taken into account. The code should look at the nested spaces too. Can you
>> report an issue on jira.xwiki.org ?
>>
>> Thanks,
>> Marius
>>
>>
>> >
>> >
>> > Best regards,
>> > Mirec
>> > ___
>> > 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] Fw : Re: Need help to find a hql query

2015-11-04 Thread Pascal BASTIEN

> I read this example:
> http://xwiki.markmail.org/message/e2mi4odgpucsd3cu
> #set ($hql ="select distinct doc.fullName, otherprop.value,
> doc.creationDate from XWikiDocument as doc, BaseObject as
> obj, StringProperty otherprop, DBStringListProperty as prop
> join prop.list list
>  where obj.name=doc.fullName  and
> obj.className='Blog.BlogPostClass' and obj.id=prop.id.id and
> prop.id.name='category' and list='Blog.Autres'
>  and obj.id=otherprop.id.id and otherprop.id.name='title'
>  order by doc.creationDate  desc")
> 
> (must try with category property now)
> 

Nope: I didn't managed to have multiselect category values with hql query :-(
maybe I must uncheck database relationnel storage  (and use this filter "list 
like '%Blog.Autres%'")?
because like sergio said in 
http://xwiki.markmail.org/message/c6s5wofs24q62qjd?q=query+Property+DBStringList
<>
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users