Re: [xwiki-users] users Digest, Vol 58, Issue 21
hi,everybody! how to write macro to use lucene to search child pages in the document tree ? 2012/5/10 <[email protected]>
Send users mailing list submissions to [email protected]
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 [email protected]
You can reach the person managing the list at [email protected]
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 <[email protected]> To: XWiki Users <[email protected]> Subject: Re: [xwiki-users] [xwiki-devs] WYSIWYG toolbar features Message-ID: <CAM4k9MFa9VTd1eaNjnckZ+CgV2w4R3_75kAu+mEkoaK=rUpeEQ@mail.gmail.com
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 < [email protected]> wrote:
On Mon, May 7, 2012 at 10:20 AM, Marius Dumitru Florea <[email protected]> wrote:
Hi Dave,
On Sat, May 5, 2012 at 4:14 AM, Geo Du <[email protected]> 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#HConfigura...
You should see this
http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ReleaseNotesXWikiEnterp...
.
.
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 < [email protected]> wrote:
Hi Dave,
On Wed, May 2, 2012 at 6:41 AM, Geo Du <[email protected]> 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/AdminGuide/ links to http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration which has a section "Configure the WYSIWYG editor" which points to http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor
Also from the WYSIWYG editor configuration class, https://sipa.mol.fi/xwiki/bin/view/XWiki/WysiwygEditorConfigClass, it does not define all the tool bar items.
You should use the administration section dedicated for the WYSIWYG editor.
Hope this helps, Marius
Would you please point me to the right direction to look at?
Thanks very much!!
Dave _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
------------------------------
Message: 2 Date: Thu, 10 May 2012 09:48:18 +0200 From: "Moritz Hesse \(EA GmbH\)" <[email protected]> To: <[email protected]> Subject: [xwiki-users] Passing parameters in URI Message-ID: <000401cd2e81$44130b10$cc392130$@[email protected]> Content-Type: text/plain; charset="us-ascii"
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://<mydomain>/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
------------------------------
Message: 3 Date: Thu, 10 May 2012 09:50:36 +0200 From: "Moritz Hesse \(EA GmbH\)" <[email protected]> To: "'XWiki Users'" <[email protected]> Subject: Re: [xwiki-users] Filter items in live table Message-ID: <000501cd2e81$96286120$c2792360$@[email protected]> Content-Type: text/plain; charset="us-ascii"
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
------------------------------
Message: 4 Date: Thu, 10 May 2012 10:06:54 +0200 From: Thomas Mortagne <[email protected]> To: XWiki Users <[email protected]> Subject: Re: [xwiki-users] Passing parameters in URI Message-ID: <CAPnKnLGgjZDA9MReWgjHP0cCHmPWDAW3erkrRkQBS-yApFuBVA@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1
On Thu, May 10, 2012 at 9:48 AM, Moritz Hesse (EA GmbH) <[email protected]> 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://<mydomain>/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/xwi... object using $request in Velocity (or "request" mapping in general in all other languages).
Thx and bests, Moritz
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
------------------------------
Message: 5 Date: Thu, 10 May 2012 01:33:36 -0700 (PDT) From: Caroline DETANTE <[email protected]> To: [email protected] Subject: [xwiki-users] XWiki 4.0 - How XWO_ID and XWD_ID are created ? Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii
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-create... Sent from the XWiki- Users mailing list archive at Nabble.com.
------------------------------
Message: 6 Date: Thu, 10 May 2012 12:05:37 +0200 From: Guillaume Lerouge <[email protected]> To: XWiki Users <[email protected]> Subject: [xwiki-users] What are you using AppWithinMinutes for? Message-ID: <CALC6keU_DtsD3hgG9JnTA9XQwFS68Hb4iQ_Oqbwi12qm4r03Lw@mail.gmail.com
Content-Type: text/plain; charset=UTF-8
Hi XWikiers,
now that AppWithinMinutes< http://extensions.xwiki.org/xwiki/bin/view/Extension/App+Within+Minutes+Appl...
has 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
------------------------------
Message: 7 Date: Thu, 10 May 2012 12:15:05 +0200 From: "Moritz Hesse \(EA GmbH\)" <[email protected]> To: "'XWiki Users'" <[email protected]> Subject: Re: [xwiki-users] Passing parameters in URI Message-ID: <000e01cd2e95$c68fa580$53aef080$@[email protected]> Content-Type: text/plain; charset="us-ascii"
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
------------------------------
Message: 8 Date: Thu, 10 May 2012 12:27:28 +0200 From: Vincent Massol <[email protected]> To: XWiki Users <[email protected]> Subject: Re: [xwiki-users] Possible upgrade 3.5.1 to 4.0 issue Message-ID: <[email protected]> Content-Type: text/plain; charset=us-ascii
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=... ] ERROR c.x.x.s.m.liquibase - Change Set liquibase.xml::R40000-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
------------------------------
Message: 9 Date: Thu, 10 May 2012 13:39:57 +0200 From: Thomas Mortagne <[email protected]> To: XWiki Users <[email protected]> Subject: Re: [xwiki-users] Passing parameters in URI Message-ID: <CAPnKnLH4o=CuDYwtYk4La8jV=oZLKqciScWy9a4cYPzn4+bW5w@mail.gmail.com
Content-Type: text/plain; charset=ISO-8859-1
On Thu, May 10, 2012 at 12:15 PM, Moritz Hesse (EA GmbH) <[email protected]> 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 [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne
------------------------------
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
End of users Digest, Vol 58, Issue 21 *************************************
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
participants (2)
-
Paul Libbrecht -
王海龙