Hi xwiki-users,
I have a simple macro defined in velocity:
{{velocity}}
{{{
#macro( addDate $timeZone $date )
#set( $script = "
tz = '$timeZone'
date = '$date'
timezone = java.util.TimeZone.getTimeZone( timezone )
cal = java.util.Calendar.getInstance( timezone )
// etc...
" )
#set( $runnable = $xwiki.parseGroovyFromString( $script ) )
$runnable.run()
#end
}}}
{{/velocity}}
Currently, the velocity macro parameters $timeZone and $date have to be
Strings. I want to be able to pass "real objects" rather than just strings
into the groovy script, though. I can easily return an Object back into
Velocity space by returning from the groovy script, but is there a way to go
the other way around? I guess what I really need is some "context" object
shared by groovy and Velocity...
Thanks in advance!
Hi
I'm looking for somewhere better to host a wiki presently at
littlebird.wikidot.com (curse their commercial aspirations).
It's a free, community based scheme for promoting local folk and traditional
music and arts events in the area. Normal access is through the domain
littlebirdtoldme.info to disconnect it from hosting changes.
The reason for using Wiki is that we hope to open editing to a large
collection of people to reduce the staleness that usually accompanies such
projects.
My user ID is JoeSkaife
Ideally the server name would be littlebirdtoldme or littlebird if you have
a name length limit.
If any of you wiki-wise users or admins have a better suggestion, I'd
welcome some new perspectives.
Joe
--
View this message in context: http://n2.nabble.com/-myxwiki--new-wiki-request-tp3268188p3268188.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have the following error occuring. I really like XWIKI but this memory
issue is the only stumbling block. I would hate to have to move to daisycms
or jspwiki.
I have installed xwiki onto tomcat on Linux. Memory params are: -server
-Xms512m -Xmx768m -Xss512k -XX:+UseParallelGC
XWIKI config settings are out of the box ones.
I did upload an excel spreadsheet attachment and then decided to delete it.
I also tried to export to PDF, RTF etc. and left XWIKI running overnight
and got this problem in the morning.
2009-07-15 08:20:24,351 [
http://localhost:8080/xwiki/bin/view/Sandbox/TableTraining?xpage=xpart&vm=c…
]
[http-8080-Processor21] WARN web.XWikiAction - Uncaught
exception: Error number 0 in 11: Uncaught exc
eption
Wrapped Exception: java.lang.O}}}utOfMemoryError: PermGen space
2009-07-15 08:23:14,716 [] [http-8080-Processor21] ERROR [/xwiki].[action]
- Servlet.service() for servl
et action threw exception
java.lang.OutOfMemoryError: PermGen space
2009-07-15 08:58:03,385 WARN [service.services.export.ExportService] Backup
directory /opt/tomcat/logs/backup does not
exist
Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread"
java.lang.OutOfMemoryError: PermGen space
2009-07-15 10:50:24,583 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-Processor21] WARN web.XWikiAction
- Uncaught exception: Error number 0 in 11: Uncaught exception
Wrapped Exception: PermGen space
2009-07-15 10:50:48,298 [http://localhost:8080/xwiki/bin/view/Main/]
[http-8080-Processor19] WARN web.XWikiAction
- Uncaught exception: Error number 0 in 11: Uncaught exception
Wrapped Exception: PermGen space
2009-07-15 10:51:59,029 [] [http-8080-Processor21] ERROR [/xwiki].[action]
- Servlet.service() for servl
et action threw exception
java.lang.OutOfMemoryError: PermGen space
2009-07-15 10:52:36,721 [] [http-8080-Processor19] ERROR [/xwiki].[action]
- Servlet.service() for servl
et action threw exception
java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
Exception in thread "http-8080-Processor22" java.lang.OutOfMemoryError:
PermGen space
2009-07-15 11:59:54,765 [http://localhost:8080/xwiki/bin/view/Sandbox/]
[http-8080-Processor25] WARN web.XWikiAction
- Uncaught exception: Error number 0 in 11: Uncaught
exception
Wrapped Exception: PermGen space
2009-07-15 11:59:59,377 [] [http-8080-Processor25] ERROR [/xwiki].[action]
- Servlet.service() for servl
et action threw exception
java.lang.OutOfMemoryError: PermGen space
Exception in thread "main" java.lang.OutOfMemoryError: PermGen space
Hi,
I'm trying to install and use XWiki Workspace.
First, the install instructions on xwiki.org are not present :
http://www.xwiki.org/xwiki/bin/view/Main/Download#HXWikiWorkspaces, then
"Instructions" link gives
http://workspaces.xwiki.org/xwiki/bin/view/Main/GettingStarted which is not
very intersting, in my opinion.
Second, when I launch xwiki worspace, I see this exception :
00:40:15.011 INFO [main]
org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134)
>17> resource = file:/home/herve/onwork/xwiki-workspaces-distribution-
hsqldb-1.1.1/webapps/xwiki/WEB-INF/plexus.xml
00:40:15.178 INFO [main]
org.mortbay.jetty.servlet.ServletHandler$Context.log(ServletHandler.java:1134)
>16> Plexus initialized.
java.lang.UnsatisfiedLinkError:
/home/herve/java/jdk1.6.0_14/jre/lib/i386/xawt/libmawt.so: libXtst.so.6:
cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1674)
at java.lang.Runtime.load0(Runtime.java:770)
at java.lang.System.load(System.java:1003)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1695)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1028)
at
sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.image.ColorModel.loadLibraries(ColorModel.java:188)
at java.awt.image.ColorModel.<clinit>(ColorModel.java:196)
at com.jhlabs.image.WholeImageFilter.<init>(WholeImageFilter.java)
at com.jhlabs.image.WaterFilter.<init>(WaterFilter.java)
at
com.octo.captcha.engine.image.gimpy.DefaultGimpyEngine.buildInitialFactories(DefaultGimpyEngine.java:503)
at
com.octo.captcha.engine.image.ListImageCaptchaEngine.<init>(ListImageCaptchaEngine.java:493)
at
com.octo.captcha.engine.image.gimpy.DefaultGimpyEngine.<init>(DefaultGimpyEngine.java:494)
...etc, etc, etc. I don't know if it is important ?
And, when I look at my workspace, at get :
>Error 404 - Not Found.
>No context on this server matched or handled this request.
>Contexts known to this server are:
>
> * WebApplicationContext[/xwiki,xwiki]
>
>The links above may not work if a virtual host is configured
and, if I clic on the link :
>HTTP ERROR: 404
>
>/xwiki/ Not Found
>
>RequestURI=/xwiki/
>
>Powered by Jetty://
Thank for yout help.
Hi,
I've been trying to find a overview/documentation on what the
specifications, formats, and/or usage scenarios for the different class
properties.
In particular, I'm looking for a way store a list of users (currently stored
in an arrayList) as the property of a class. I cannot find any documentation
on how to use the properties "list of users" or "static list"...
Any ideas/suggestions/links?
Thanks!
Holger
Is there a way / method to allow me to set Active param of User class to
false after registration? I want users to register then I vet the
registration and only after that activate if I wish so. Similar to Email
activation at the moment except I want to have abitilty to activate users???
--
View this message in context: http://n2.nabble.com/Set-Active-to-false-in-User-class---developers-tp32497…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi -
Is xwiki manager 1.7.1 compatible with the enterprise version 2.0
Milestone 1?
Kelly
Kelly Lakas
Project Manager
next wave logistics inc.
28377 davis parkway, suite 607a
warrenville, il 60555
________________________
[office] 847.798.8897
[mobile] 312.307.2079
[web] www.nwlinc.com <http://www.nwlinc.com>
Hello everyone,
I was trying to create a page in xwiki with the following functionality: The user could select an option in a dropdown list, and depending on this selection, the text below the drop down list would change accordingly to the option selected in the drop down list.
Does anyone have any idea on how could I do this?
Thanks in advance!
BR,
Roney Castro
Hi
I have noticed that there has been more activity in the last couple of days
... so, here's one last attempt.
I have got to the stage where a captcha field is shown, and the page
(registerinline.vm) displays the correct errors if it isn't filled in (some
simple if statements)
However, the user is STILL registered even if the captcha is filled in
wrongly.
I have searched this news group, experimented and given up ... but if anyone
can suggest how to stop this my xwiki user would really appreciate it.
Happy to post code if anyone's interested!
thanks - hopefully
Edward
Hi All,
I have some problems to fully delete a Space from Xwiki, I think there
is a not update cache of pages list that contains moved/deleted pages,
here what i did:
I tried to move all pages from the space "A" to the space "B" and to
delete A.WebHome.
In this way it seems that the space is fully deleted and if I try to
open the url:
https://intranet.test.com/xwiki/A/
I get the message "The requested document could not be found", as i expected.
The problem is that the "A" space yet appears in the "listo of spaces"
that i can select in "Search", "Lucene Search", "Index", "Tree"...
If I Search in space "A" i get some name of pages but if i click on
them i get the "The requested document could not be found" message
because i moved them on space "B"
Can you let me know where i'm wrong? is there any way to delete the
indexes that contain the space list? If not, Can i work directly on
database?
Thanks!
Loris