Re: [xwiki-users] XWiki 4.0 - How XWO_ID and XWD_ID are created ?

2012-05-10 Thread Caroline DETANTE
Ok. Thanks !

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-4-0-How-XWO-ID-and-XWD-ID-are-created-tp7545951p7549402.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] XWiki 4.0 - How XWO_ID and XWD_ID are created ?

2012-05-10 Thread Marius Dumitru Florea
On Thu, May 10, 2012 at 4:10 PM, Caroline DETANTE  wrote:
> Thanks.

> I use "workspaces" too. Is it different for ID or it's the same thing?

Workspaces is more or less an application on top of the XWiki platform
so document and object IDs are internally generated in the same way.

Hope this helps,
Marius

>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/XWiki-4-0-How-XWO-ID-and-XWD-ID-are-created-tp7545951p7546642.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


Re: [xwiki-users] estimating the size of the temp directory

2012-05-10 Thread Paul Libbrecht
Anyone has a clue?

thanks in advance

Paul


Le 7 mai 2012 à 20:54, Paul Libbrecht a écrit :

> 
> Hello XWiki experts,
> 
> we had recent disk-space issue so before we upgrade to xwiki 3.5 we need to 
> be sure the local disk is going to handle things. We have about 50Gb 
> available but we have very many uploaded files of 2-5 Mb... so we may run 
> into a limit.
> 
> Do I understand properly that:
> 1- all attachments are stored, in their original form, in DB unless the 
> filesystem storage is activated
> 2- all attachments, once stored in the DB, get stored in a local file before 
> they are served over the line
> 3- this storage is within the directory configured as xwiki.temp.dir
> 4- this storage should be shared if we are clustering
> 5- this temporary storage gets erased from time to time
> 
> Correct?
> Is there a way to bound the size of these attachments?
> Can I fiddle with files inside there?
> 
> thanks in advance
> 
> Paul
> 
> PS: to contradict assertion 3, I got in my log:
>> No permanent directory configured. Using a temporary directory 
>> [/opt/SUNWappserver 2/domains/domain1/generated/jsp/j2ee-modules/xwiki]
> but this directory did not grow having downloaded an amount or having 
> requested an attached picture with different sizes... neither did /tmp/xwiki 
> exist.
> 
> 
> ___
> 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] users Digest, Vol 58, Issue 21

2012-05-10 Thread Paul Libbrecht
You'd need to list the pages' full name (I am not sure I know how)
then pack your query xxx in brackets
then append the pages obligation

  +(xxx) +(A B C)

paul

Le 10 mai 2012 à 15:04, 王海龙 a écrit :

> hi,everybody!
> how to write macro to use lucene to search child pages in the document tree

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


Re: [xwiki-users] What are you using AppWithinMinutes for?

2012-05-10 Thread Bergquist, Brett
Created a software release tracking system to track releases of 
software/versions/build dates etc. to our SIT group

-Original Message-
From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of 
Guillaume Lerouge
Sent: Thursday, May 10, 2012 6:06 AM
To: XWiki Users
Subject: [xwiki-users] What are you using AppWithinMinutes for?

Hi XWikiers,

now that 
AppWithinMinuteshas
been available for a couple releases, I was wondering what you have been using 
it for so far.

On my side, I have seen AppWithinMinutes used for:

   - Logging safety incidents
   - Listing assets managed by a company
   - Creating a directory of software applications available to users in a
   large organization
   - Managing and classifying processes and procedures
   - Listing presentations delivered at various conferences for later
   reference

I look forward to reading about your own examples.

Thanks,

Guillaume
___
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] XWiki 4.0 - How XWO_ID and XWD_ID are created ?

2012-05-10 Thread Caroline DETANTE
Thanks.
I use "workspaces" too. Is it different for ID or it's the same thing? 

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-4-0-How-XWO-ID-and-XWD-ID-are-created-tp7545951p7546642.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] users Digest, Vol 58, Issue 21

2012-05-10 Thread 王海龙
hi,everybody!
how to write macro to use lucene to search child pages in the document tree
?

2012/5/10 

> Send users mailing list submissions to
>users@xwiki.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>http://lists.xwiki.org/mailman/listinfo/users
> or, via email, send a message with subject or body 'help' to
>users-requ...@xwiki.org
>
> You can reach the person managing the list at
>users-ow...@xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
>   1. Re: [xwiki-devs] WYSIWYG toolbar features (Geo Du)
>   2. Passing parameters in URI (Moritz Hesse (EA GmbH))
>   3. Re: Filter items in live table (Moritz Hesse (EA GmbH))
>   4. Re: Passing parameters in URI (Thomas Mortagne)
>   5. XWiki 4.0 - How XWO_ID and XWD_ID are created ? (Caroline DETANTE)
>   6. What are you using AppWithinMinutes for? (Guillaume Lerouge)
>   7. Re: Passing parameters in URI (Moritz Hesse (EA GmbH))
>   8. Re: Possible upgrade 3.5.1 to 4.0 issue (Vincent Massol)
>   9. Re: Passing parameters in URI (Thomas Mortagne)
>
>
> --
>
> Message: 1
> Date: Thu, 10 May 2012 00:23:51 -0400
> From: Geo Du 
> To: XWiki Users 
> Subject: Re: [xwiki-users] [xwiki-devs] WYSIWYG toolbar features
> Message-ID:
> >
> Content-Type: text/plain; charset=ISO-8859-1
>
> Thanks very much Marius, I will do more research.
>
> Dave
>
> On Mon, May 7, 2012 at 3:22 AM, Marius Dumitru Florea <
> mariusdumitru.flo...@xwiki.com> wrote:
>
> > On Mon, May 7, 2012 at 10:20 AM, Marius Dumitru Florea
> >  wrote:
> > > Hi Dave,
> > >
> > > On Sat, May 5, 2012 at 4:14 AM, Geo Du  wrote:
> > >> Hi, Marius,
> > >>
> > >> Thanks very much for your help, I checked the link
> > >>
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configurationturned on
> > >
> > >> the full list of toolbars like the following in xwiki.cfg file, then I
> > >
> > > Where did you read "xwiki.cfg" or "xwiki.properties" on
> > > http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor (the
> > > link I gave you) ?
> > >
> > >> restarted tomcat, checked the page with wysiwyg editor, nothing
> > changed, no
> > >
> > >> subtoolbar, findtoobar or symboltoolbar showed up, and actually I want
> > to
> > >
> > > There's no subtoolbar nor findtoobar.
> > >
> > > You don't have to change any configuration file nor to restart the
> > > server. You just have to go to the Administration, then to the WYSIWYG
> > > Editor section (from the left vertical menu) and there you'll be able
> > > to add plugins and features on the tool bar, like stated on
> > >
> >
> http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HConfiguration
> >
> > You should see this
> >
> >
> http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ReleaseNotesXWikiEnterprise30/wysiwygConfig.png
> > .
> >
> > > .
> > >
> > > Hope this helps,
> > > Marius
> > >
> > >> add Text Alignment, Fonts, TextSize, colors to the toolbar, I googled
> > >> around, could not find a solution, any more clues? I checked
> > >> xwiki.properties file as well, nothing there related to wysiwyg
> editor.
> > >>
> > >> Thanks again
> > >>
> > >> Dave
> > >>
> > >>
> > >> #---
> > >> # WYSIWYG Editor configuration
> > >> #
> > >>
> > >> #-# You can configure the toolbars you wish to see in the WYSIWYG
> > editor by
> > >> defining the
> > >> #-# xwiki.wysiwyg.toolbars property.
> > >> #-# When not defined it defaults to:
> > >> xwiki.wysiwyg.toolbars=texttoolbar, listtoolbar, indenttoolbar,
> > >> undotoolbar, titletoolbar, \
> > >>  styletoolbar, horizontaltoolbar,
> > >> attachmenttoolbar, macrostoolbar, \
> > >>  tabletoolbar, tablerowtoolbar,
> tablecoltoolbar,
> > >> linktoolbar, subtoolbar, findtoolbar, symboltoolbar
> > >> #-# The full list of toolbars includes the one defined above and the
> > >> following ones:
> > >> #-#   subtoolbar, findtoolbar, symboltoolbar
> > >>
> > >> Then
> > >>
> > >> On Wed, May 2, 2012 at 5:27 AM, Marius Dumitru Florea <
> > >> mariusdumitru.flo...@xwiki.com> wrote:
> > >>
> > >>> Hi Dave,
> > >>>
> > >>> On Wed, May 2, 2012 at 6:41 AM, Geo Du  wrote:
> > >>> > Hi, all,
> > >>> >
> > >>> > I have a problem to add more tools onto the toolbar with xwiki 3.5
> I
> > am
> > >>> > using, I like to add Text Alignment, Fonts, TextSize, colors, but I
> > >>> checked
> > >>>
> > >>> > this link:
> > >>> http://platform.xwiki.org/xwiki/bin/view/Features/WysiwygEditor,
> > >>>
> > >>> This is the user documentation. It describes the WYSIWYG editor
> > >>> features for simple users.
> > >>>
> > >>> > it is for 2.0, where is the toolbar configuration information about
> > the
> > >>> 3.5
> > >>> > version? I could not find from the admin guide.
> > >>>
> > >>> http://platform.xwiki.org/xwiki/bin/view/AdminGuid

Re: [xwiki-users] XWQL issue

2012-05-10 Thread Eugen Colesnicov
try
...
 where qat.language like 'en'
...

:) I don't know why

--
Best regards
Eugen Colesnicov

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWQL-issue-tp7532124p7546601.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] Passing parameters in URI

2012-05-10 Thread Moritz Hesse (EA GmbH)
> Did you tried $request.getParameter("myparaleter") or $request.myparameter
?

Not until now. Works beautifully. Thanks a lot!

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


Re: [xwiki-users] XWiki 4.0 - How XWO_ID and XWD_ID are created ?

2012-05-10 Thread Marius Dumitru Florea
Hi Caroline,

On Thu, May 10, 2012 at 11:33 AM, Caroline DETANTE  wrote:
> Hi !
> Since few days, I work with the new XWiki (4.0). But I don't understand how
> XWO_ID and XWD_ID are created ? For the 3.5 version, it was the hashcode of
> the string obtained by concatenating the document name, the XClass name, and
> the object number. But for the 4.0 version... I don't really know.

> Can you help me ? Please.

See http://jira.xwiki.org/browse/XWIKI-6990 .

Hope this helps,
Marius

>
> Goodbye
>
>
> Caroline.
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/XWiki-4-0-How-XWO-ID-and-XWD-ID-are-created-tp7545951.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


Re: [xwiki-users] Passing parameters in URI

2012-05-10 Thread Thomas Mortagne
On Thu, May 10, 2012 at 12:15 PM, Moritz Hesse (EA GmbH)
 wrote:
> Hi,
>
>> You can access the
>>
> http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwi
> ki/web/XWikiServletRequest.html
>> object using $request in Velocity (or "request" mapping in general in
>> all other languages).
>
> I don't get any wanted results, everything just looks like this:
> com.xpn.xwiki.web.XWikiServletRequest@76536fbc, that
> java.util.Collections$2@2953fef or this one
> org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter$Save
> dRequestWrapper@1498653c.

Did you tried $request.getParameter("myparaleter") or $request.myparameter ?

>
> Is there any helpful method (like var_dump() in PHP) that enables me to
> debug all existing values of an object?
>
> Bests,
> Moritz
>
> ___
> 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] Possible upgrade 3.5.1 to 4.0 issue

2012-05-10 Thread Vincent Massol

On May 5, 2012, at 1:04 AM, coldserenity wrote:

> Hello,
> 
>  I have tried to upgrade to 4.0 and receive following error in the logs
> 
> 2012-05-05 01:36:59,911
> [http://localhost/xwiki/bin/view/XWiki/WatchListRss?xpage=plain&outputSyntax=plain]
> ERROR c.x.x.s.m.liquibase - Change Set
> liquibase.xml::R4-000::sdumitriu failed.  Error: Error executing SQL
> ALTER TABLE `xwikifloats` DROP FOREIGN KEY `FKFB291FBF1DFF14A1`: Error on
> rename of './xwiki_utf8_innodb/xwikifloats' to
> './xwiki_utf8_innodb/#sql2-dfb-6f91' (errno: 152)
> liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE
> `xwikifloats` DROP FOREIGN KEY `FKFB291FBF1DFF14A1`: Error on rename of
> './xwiki_utf8_innodb/xwikifloats' to './xwiki_utf8_innodb/#sql2-dfb-6f91'
> (errno: 152)
> 
>  Any ideas why this may happen?
>  Database is mysql 5.0.71.
> 
>  PS: Interesting why Sergiu got mentioned in the logs :)

Yep that's not nice. Guys could we modify this please? I think Sergiu proposed 
to use a generic name instead like "xwiki". Is it really not allowed to have 
this empty or not use it in liquibase?

Thanks
-Vincent

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


Re: [xwiki-users] Passing parameters in URI

2012-05-10 Thread Moritz Hesse (EA GmbH)
Hi,

> You can access the
>
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwi
ki/web/XWikiServletRequest.html
> object using $request in Velocity (or "request" mapping in general in
> all other languages).

I don't get any wanted results, everything just looks like this:
com.xpn.xwiki.web.XWikiServletRequest@76536fbc, that
java.util.Collections$2@2953fef or this one
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter$Save
dRequestWrapper@1498653c.

Is there any helpful method (like var_dump() in PHP) that enables me to
debug all existing values of an object?

Bests,
Moritz

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


[xwiki-users] What are you using AppWithinMinutes for?

2012-05-10 Thread Guillaume Lerouge
Hi XWikiers,

now that 
AppWithinMinuteshas
been available for a couple releases, I was wondering what you have
been using it for so far.

On my side, I have seen AppWithinMinutes used for:

   - Logging safety incidents
   - Listing assets managed by a company
   - Creating a directory of software applications available to users in a
   large organization
   - Managing and classifying processes and procedures
   - Listing presentations delivered at various conferences for later
   reference

I look forward to reading about your own examples.

Thanks,

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


[xwiki-users] XWiki 4.0 - How XWO_ID and XWD_ID are created ?

2012-05-10 Thread Caroline DETANTE
Hi ! 
Since few days, I work with the new XWiki (4.0). But I don't understand how
XWO_ID and XWD_ID are created ? For the 3.5 version, it was the hashcode of
the string obtained by concatenating the document name, the XClass name, and
the object number. But for the 4.0 version... I don't really know. 
Can you help me ? Please. 

Goodbye 


Caroline.

--
View this message in context: 
http://xwiki.475771.n2.nabble.com/XWiki-4-0-How-XWO-ID-and-XWD-ID-are-created-tp7545951.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] Passing parameters in URI

2012-05-10 Thread Thomas Mortagne
On Thu, May 10, 2012 at 9:48 AM, Moritz Hesse (EA GmbH)
 wrote:
> Hello,
>
> how is it possible (I presume it is) to access parameters in a URI? The
> xwiki API describes methods to encode and decode URIs (namely encodeURI and
> decodeURI). I suppose I can access it via the Request object (XWikiRequest;
> http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwi
> ki/web/XWikiRequest.html), but got no clue how.
>
> E.g. I would like to pass a boolean param by calling the URI
> http:///xwiki/bin/view/Main/WebHome?bool=true and access it in
> velocity code.
>
> Anyone has an idea how to proceed or a link to an example?

You can access the
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwiki/web/XWikiServletRequest.html
object using $request in Velocity (or "request" mapping in general in
all other languages).

>
> Thx and bests,
> Moritz
>
> ___
> 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] Filter items in live table

2012-05-10 Thread Moritz Hesse (EA GmbH)
Thanks Brett and Marius, I really appreciate your help. For the first it was
enough to bookmark the filter settings. But in the future I wont be able to
bypass the problem without creating (and coding) my own list. So this was
very helpful to get an approach to this issue.

Best regards,
Moritz

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


[xwiki-users] Passing parameters in URI

2012-05-10 Thread Moritz Hesse (EA GmbH)
Hello,

how is it possible (I presume it is) to access parameters in a URI? The
xwiki API describes methods to encode and decode URIs (namely encodeURI and
decodeURI). I suppose I can access it via the Request object (XWikiRequest;
http://maven.xwiki.org/site/xwiki-core-parent/xwiki-core/apidocs/com/xpn/xwi
ki/web/XWikiRequest.html), but got no clue how.

E.g. I would like to pass a boolean param by calling the URI
http:///xwiki/bin/view/Main/WebHome?bool=true and access it in
velocity code.

Anyone has an idea how to proceed or a link to an example?

Thx and bests,
Moritz

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