Hello
Do you know if jquery and xwiki work together? am trying to use the table
sort from jquery and integrated in xwiki i have errors ?
Thank you
--
View this message in context: http://n2.nabble.com/xwiki-and-jquery-tp4099718p4099718.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi
How can I add properties to my spaces?
I'm looking for something like an editable SpaceClass.
And a way to change the "Create Space" form to include the property.
And finally a way to access that property with Groovy.
But I've noticed that there aren't classes for Pages or Spaces.
I'm using XE 2.0.3.
--
Kevin
Hello,
Is it possible to pass arguments to a Groovy object instantiated using xwiki.parseGroovyFromPage("Blah.Blah"), or is there some other way to do it?
Thanks,
Joshua
Hello all,
I've been desiring a testing framework to aid my development efforts within XWiki pages. Specifically, I want to use test-driven development so that I can write tests for scripts before I write the scripts themselves. These tests would be harnesses (possibly using {{include document="Blah.Blah"}} and xwiki.parseGroovyFromPage("Blah.Blah")) and would report passes / failures / errors. There would also be a way to develop a suite of tests to run all at once, xUnit style. Before taking the time to develop this myself, has anyone developed something like this, or are there any recommendations or code you could share?
Thanks,
Joshua
I have created a class that will be used to display SOPs (standard operating
procedures). I have assigned the class its required properties (mostly of
data types String and TextArea) and generated the class sheet and class
template. When I create new documents/instances of the SOPClass, the
documents look like the SOPTemplate.
I've tried populating the constant properties in the SOPTemplate and
creating a new document. The new document looks like the SOPTemplate in
structure but does not have any values associated with its properties. Is
there a way that the SOPTemplate can propagate it's property values to new
instances of the SOPClass? That is, I want some (but not all) of the
properties of SOPClass to be the same for every new document/instantiation
of the SOPClass. Is this possible? Similarly, if these constant properties
are modified in the future, I'd like the changes to be distributed across
all instances of SOPClass.
Any and all help is greatly appreciated.
Joe
Hi everyone,
I'm trying to activate the xwiki monitoring feature, following the
instructions given
here:http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Logging, but it
doesn't work for me. Is it because I'm working on Xwiki Enterprise
Manager?
Do you have any idea of what I can do to get my log file?
In advance thanks
Raphaelle
This message and any attachments is intended for the named addressee(s)
only and may contain information that is privileged and/or confidential.
If you receive this message in error, please delete it and immediately
notify the sender. Any copying, dissemination or disclosure, either whole
or partial, by a person who is not the named addressee is prohibited. We
use virus scanning software but disclaim any liability for viruses or other
devices which remain in this message or any attachments.
*****************
Ce message, ainsi que toute piece jointe, est exclusivement adresse au(x)
destinataire(s) nomme(s) et peut contenir des informations confidentielles.
Si vous recevez ce message par erreur, merci de le detruire et d'en avertir
immediatement l'emetteur. Toute copie, transmission ou divulgation, integrale
ou partielle, par une personne qui n'est pas nommee comme destinataire est
interdite. Nous utilisons un logiciel anti-virus mais nous denions toute
responsabilite au cas ou des virus, ou tout autre procede, seraient contenus
dans ce message ou toute piece jointe.
Hi,
At present I'm a total noob when it comes to xwiki so please
forgive anything that demonstrates that in the following
request for guidance/support...
I'd like to create a xwiki page that, in appearance, is not
dissimilar to this page:
http://www.xwiki.com/xwiki/bin/view/BlogFr/
Where the difference will ocur is that I'd like to aggregate
several *external* blog feeds into the main body content as per
the blog post item list in the example above and the same (i.e.
aggregate external feeds) for the twitter module sitting in the
right column further down although ideally i'd like to mash
twitter and identica feeds into a single list thus merging the
timelines - and for extra kudos a de-dupe would be sweet to cut
out those cross-posts and retweets.
Would be cool to do the cloud as well though I suspect I'll need
to try and cache an aggregated 'lookup' before attempting that
feat.
Finally, I'm currently working under a particular constraint -
the version of xwiki I'm using is v1.5.2.12758.
Any pointers re: best practice for a) embedding javascript in the
page as per the twitter object and b) blog post aggregation and
ideally c) some demo markup anyone could share and would be
totally delighted if d) anyone wants to tell me how they'd do or
have done the tag cloud from an aggregated feed.
Kind Regards,
Ed.
PS. I've looked at this example with Groovy though I'd appreciate
confirmation I can do it in the version I'm using before
attempting, failing and resorting to losing head on hair from
ignorant frustration ;-) i.e. any extra dependencies to do the
groovy thing or can I just do this straight away with the version
I currently use: http://bit.ly/8KcgLD
Fabio,
A bit more to the issue: I just renamed the strange page from Panels.Recently Modified* to Panels.Recently Modified2 and the grabbing finished without an error. Still there is no list of pages under the Panels node in the Xwiki Eclipse Navigator.
In another space I have "-- Glossary --" and "-- Views --" as page names. I sort the pages using "$sorttool.sort()", but I wanted these to be at the top although they would not be alphabetically sorted there. So I added the "--" before and after. Of course I could just manually enter them into the panel, but now the panel space seems to be correctly "grabbed" despite the unusual name that occurs there.
The error message here is somewhat different:
=========== ERROR MESSAGE ============
java.lang.reflect.InvocationTargetException
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:421)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507)
at org.xwiki.eclipse.ui.utils.UIUtils.runWithProgress(UIUtils.java:80)
at org.xwiki.eclipse.ui.handlers.GrabSpaceHandler.execute(GrabSpaceHandler.java:52)
at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:770)
at org.eclipse.ui.menus.CommandContributionItem.access$10(CommandContributionItem.java:756)
at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:746)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: com.thoughtworks.xstream.io.StreamException: : Invalid byte 1 of 1-byte UTF-8 sequence.
at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:88)
at com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriver.java:70)
at com.thoughtworks.xstream.XStream.fromXML(XStream.java:869)
at org.xwiki.eclipse.core.utils.CoreUtils.readDataFromXML(CoreUtils.java:122)
at org.xwiki.eclipse.core.storage.LocalXWikiDataStorage.getPage(LocalXWikiDataStorage.java:123)
at org.xwiki.eclipse.core.DataManager.getPage(DataManager.java:326)
at org.xwiki.eclipse.ui.handlers.GrabSpaceHandler$1.run(GrabSpaceHandler.java:71)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 1 of 1-byte UTF-8 sequence.
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipChar(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
=========== END OF ERROR MESSAGE ============
Greetings,
Steven Calkins
> -----Ursprüngliche Nachricht-----
> Von: Steven Calkins
> Gesendet: Freitag, 27. November 2009 15:55
> An: 'XWiki Users'
> Betreff: AW: [xwiki-users] Xeclipse plugin
>
> Hi Fabio,
> Here is the message when I try to grab the Panels space:
> ==================
> Message: Error during space grabbing
>
> java.lang.reflect.InvocationTargetException
> at
> org.xwiki.eclipse.ui.handlers.GrabSpaceHandler$1.run(GrabSpace
Handler.java:80)
> at
> org.eclipse.jface.operation.ModalContext$ModalContextThread.ru
n(ModalContext.java:121)
> Caused by: org.xwiki.eclipse.core.XWikiEclipseException:
> org.eclipse.core.internal.resources.ResourceException: * is
> an invalid character in resource name 'Panels.Recently Modified*'.
> at
> org.xwiki.eclipse.core.storage.LocalXWikiDataStorage.storePage
> (LocalXWikiDataStorage.java:295)
> at
> org.xwiki.eclipse.core.DataManager.getPage(DataManager.java:342)
> at
> org.xwiki.eclipse.ui.handlers.GrabSpaceHandler$1.run(GrabSpace
Handler.java:71)
> ... 1 more
> Caused by:
> org.eclipse.core.internal.resources.ResourceException: * is
> an invalid character in resource name 'Panels.Recently Modified*'.
> at
> org.eclipse.core.internal.resources.Resource.checkValidPath(Re
> source.java:422)
> at
> org.eclipse.core.internal.resources.Folder.create(Folder.java:82)
> at
> org.eclipse.core.internal.resources.Folder.create(Folder.java:118)
> at
> org.xwiki.eclipse.core.utils.CoreUtils.createFolder(CoreUtils.java:67)
> at
> org.xwiki.eclipse.core.utils.CoreUtils.writeDataToXML(CoreUtil
> s.java:91)
> at
> org.xwiki.eclipse.core.storage.LocalXWikiDataStorage$2.run(Loc
alXWikiDataStorage.java:284)
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
> at
> org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
> at
> org.xwiki.eclipse.core.storage.LocalXWikiDataStorage.storePage
> (LocalXWikiDataStorage.java:271)
> ... 3 more
> =====================
>
> I have included the panels space for your inspection (called
> package.xar here). I hope you can reproduce the error. Thanks.
>
> Greetings,
>
> Steven Calkins
>
>
> -----Ursprüngliche Nachricht-----
> Von: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]
> Im Auftrag von Fabio Mancinelli
> Gesendet: Freitag, 27. November 2009 15:01
> An: XWiki Users
> Betreff: Re: [xwiki-users] Xeclipse plugin
>
>
> On Nov 27, 2009, at 1:32 PM, Steven Calkins wrote:
>
> > Caused by:
> com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequen
> ceException: Invalid byte 2 of 3-byte UTF-8 sequence.
> > at
> com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidB
> yte(Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(Unk
> nown Source)
> > at
> com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(
> Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.skipC
> har(Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
> nnerImpl$FragmentContentDriver.next(Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl
> .next(Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentSca
> nnerImpl.scanDocument(Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
> parse(Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.parsers.XML11Configuration.
> parse(Unknown Source)
> > at
> com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unk
> nown Source)
> > at
> com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unk
> nown Source)
> > at
> com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.pa
> rse(Unknown Source)
> > at
> com.thoughtworks.xstream.io.xml.DomDriver.createReader(DomDriv
> er.java:79)
> > ... 7 more
> > --------------------------------
>
> Hi Steven,
>
> apparently there is some encoding problem that makes the XML
> parser explode. Probably some pages that have strange
> characters in the title/id.
>
> Do you have such a kind of pages in the space you were trying to open?
> Could you give us them so that we can reproduce and fix what
> apparently is a bug?
>
> Thanks,
> Fabio
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>