Hello !
I got a pretty long code for one of my page and I get this error :
Caused by: javax.script.ScriptException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
General error during class generation: Method code too large!
Is there any way to change the xwiki settings to avoid this error?
thank you very much in advance for your help !
Adrien
Hi all,
I have a strange issue on XWiki 6.3 (Windows Server 2003 R2, Apache 2.4,
MySQL 5, Tomcat 7).
On a subwiki main page I added the include macro to display the contents of
a page on the main wiki (an info box that should appear on all subwikis).
The macro works logged in as the admin user but normal users (authenticated
from LDAP) get a permission issue:
"Current user [xwiki:XWiki.USERNAME] doesn't have view rights on document
[XWiki:Main.Info in allen Wikis]"
I have the same include macro on the main wiki main page and there it works
for all users. The user can also access the page referenced in the macro.
Only on the subwiki it doesn't work.
Permissions are set correctly though and everything else works.
Hope someone can lead me in the right direction.
Thanks in advance,
Dennis
Hello , I am currently trying to setup Xwiki in my local machine and I am
seeing that when I turn off admin role for un-registered and any other
users that have been created , those users are unable to perform any search
. Search works only when admin role is enabled for any user .
Below are the details of my xwiki : xwiki-enterprise for windows Version :
6.3 .
Can anyone tell me if this is an issue or if I am missing anything ?
Hi,
since creating an own color skin the space FlamingoThemes is shown on the
wiki main page in the spaces section.
I don't want users to see it because they will get confused.
How can I hide this space? Setting permissions to admins only -of course-
destroys the page layout for normal users.
Kind regards,
Dennis
Hello
I'm using the "include macro" to transfer some information between the different documents of my xwiki, but somehow I can't transfer any class. When I try this code :
First page :
{{groovy}}
xy=2;
public class Souris {
public String Name;
public Souris(){
Name="Jerry";
}
}
Souris Verte = new Souris();
{{/groovy}}
Second page :
{{include reference="First page"/}}
{{groovy}}
println(xy);
{{/groovy}}
{{groovy}}
println(Verte.Name)
{{/groovy}}
the first groovy macro runs well and displays
2
as predicted, but the second one doesn't work. Why ? And how can I make it work?
Thanks for the advice !
Adrien
Hi,
I have seen that the jobManager is deprecated since 6.1.
But how would I schedule a job and return immediately using the jobExecutor?
(Using the jobManager it would be something like :
Job job = jobManager.addJob("jobtype", request))
Thanks , Stefan.
Hello,
I migrated from V5.4.4 to 6.3 and my plugin "style" in WYSIWYG is not working.
Where do i write the css ? with colibri it was in colibri.css but with flamingo i didn't found a flamingo.css and i don't know anything about less files...
thank you.
----------------------------------------------------
Charline FERRO
Bureau 101 - Pôle des Systèmes d'Information et des Usages du Numérique (PSIUN)
Universite de Bourgogne
1 Esplanade Erasme
BP 27877
21078 DIJON CEDEX
Tél : 03 80 39 52 55
Mail : charline.ferro(a)u-bourgogne.fr
----------------------------------------------------
Hello everyone,
I recently tried to insert french language characters (é, è, à) in xwiki.atc.ch for:
1. Validation Email content
2. Confirmation Email content
(under Home>Administer Wiki>Users and Groups>Registration)
but when we register, we get the above mentioned characters as "?" in the email. I changed encoding to UTF-8 for xwiki encoding and html encoding (as per http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Encoding) and reloaded tomcat6 and apache, but it still displays "?" characters in the email received.
Anyone have an idea of how to proceed please?
*also, I found http://lists.xwiki.org/pipermail/users/2007-March/002944.html - saying to change mysql encoding (which I didn't perform till now), is it recommended? (other apps/websites are running on the same server)
Thanking you in advance,
Regards,
Mike Migale
Mike Migale
Solero
Royal Road, Moka 80829
T: +230 650 8880
E: info(a)solero.mu
Hello,
I have little question : I would like to define a class in a groovy macro in a document, create an instances of this class on another document and then access this instance on the first document. Is that possible to do?
It would kinda look like this:
First doc (Doc1):
{{groovy}}
public class Hello{
public printHello(){
println("HelloWorld!")
}
}
Hello A = //get instance "FirstTest" of Hello from the doc2
A.printHello();
{{/groovy}}
second doc (Doc2):
{{groovy}}
//import class definition from Doc1
Hello FirstTest = new Hello();
{{/groovy}}
then the first document would output "HelloWorld! "
Is that doable in any way??
Thanks in advance
Adrien
I'm in the process of transferring a reasonable number of "Tip of the Day" articles that we've previously distributed by email to store on the Wiki. Ideally, I'd like to display them in a Documents list using the Dashboard macro and Documents gadget and have the date that they were first published as one of the columns in the document list. Note that the publication date should reflect the date that the tip was first sent out as an email, not the date that I'm now transferring the text to the Wiki, which is today (ie. November, 2014). Some of these articles go back as far as September, 2011. I think I'd also like to avoid messing with the revision history dates on these articles. I think the publication date should be a field independent of the needs of the Wiki and it's revision tracking mechanisms, even if there is a supported way of fiddling with such things.
I've been able to associate a CreationDate property with each article via the following process:
1. Create a Hidden "Tip of the Day" page.
2. Edit the class of the "Tip of the Day" page and add a Date property called CreationDate.
3. On each Tip of the Day article, edit the objects, add a "Tip of the Day" object and store the creation date in the CreationDate property on that object.
What I can't seem to figure out is if I can display this as a column in the Documents gadget of a dashboard and if so how. The Documents gadget does have a columns property which takes a comma-separated list of column specifications such as doc.name, doc.date, doc.author and the like. Is there are way to specify the CreationDate on the attached Tip of the Day object as a column in this list?
Alternatively, is there a better way to go about this?
Brett Gersekowski
Senior Solution Architect
WIND Mobile 207 Queen's Quay West, Suite 710 Toronto, ON M5J 1A7
Email: BGersekowski(a)WINDMobile.ca
Direct: 647-260-1415
www.windmobile.cawww.facebook.com/WINDmobilewww.twitter.com/WINDmobilewww.linkedin.com/company/wind-mobile
THAT'S THE POWER OF WIND