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
Hello XWiki community members,
Do you have an issue that is very important to you, but nobody seems to
notice even if you`ve reported it a while ago?
About a month ago we have included in our issue tracker (
http://jira.xwiki.org ) the ability to sponsor an issue. Have you seen that
green link on the right side (
http://dev.xwiki.org/xwiki/bin/download/Community/Contributing/sponsorIssue…
), that`s it! :)
We did not get much of a reaction until now, so I should maybe try to
present it properly to the community and see what people think; if it's a
good idea or not; if it`s going to work out or if we should dump it.
The idea is simple and is described in our Contributing page (
http://dev.xwiki.org/xwiki/bin/view/Community/Contributing#HSponsoringissues
).
Basically, you see an issue that you really want someone to fix and you
offer yourself to sponsor it, in the hopes of motivating people to
prioritize your issue above all others. Other people may join in and
increase the sponsored amount any time, so the chances of the issue to be
fixed will grow accordingly. You do this by clicking the green "Sponsor"
link on the right side of the issue, getting redirected to the
FreedomSponsors.org website, fill in the details and wait for the magic to
happen.
At this point, any member of the community with developer skills can see
your issue above others and have a go at it. When he is done and you are
happy with the work, you can reward him with the promised amount.
More details on the technicalities can be found on their FAQ (
https://freedomsponsors.org/faq ).
Among the advantages, I can list:
- Prioritize your issue above others
- Reward people for their time spent on helping you out with your needs
- A way to sponsor open source hard work done on the XWiki project
Let us know what you think about this initiative.
Thanks,
Eduard
I'd like to upload files through a custom File Upload servlet that runs from the same Tomcat server but is not part of XWiki. This servlet does some file processing and stores the file in a separate area away from the XWiki attachments, and it's possible that eventually this servlet might be moved to another server as processing demands change.
Is it possible to make use of the supplied XWiki UI widgets to upload to this servlet? Any guidance on how to do this would be greatly appreciated.
Hi,
I wanted to use the snip from page
http://extensions.xwiki.org/xwiki/bin/view/Extension/Job+Module
....
Request jobRequest = new DefaultRequest();
// Indicate an id to allow you to access the status of this
unique task, the id is required to save/retrieve the status of
the job
jobRequest.setId("taskid");
// Allow the job to ask questions during its executing (false by
default)
jobRequest.setInteractive(true);
// [since 5.4] Indicate if the job should log informations about
what is going on (to display it during the process for example,
true by default)
jobRequest.setVerbose(true);
// Put some custom configuration
jobRequest.setProperty("some custom jobtype related parameter",
"value");
// Lookup and execute Job with role hint "jobtype" and wait for
it to be finished
jobManager.executeJob("jobtype", request)
// Lookup and add Job with role hint "jobtype" to the queue
queue and return right away
Job job = jobManager.addJob("jobtype", request)
// Wait until the job is finished
job.join()
..
to be able to create my own job and job request. But how is the
jobManager injected? When I use the snip, the
the jobManager is null.
Hi everybody!!!
Please, allow me some small talk... I'm really happy to be here again once I've managed to get and start enjoying a brand new 6.2.4. XWiki installation!
Only a detail: after following the evolution of the 6.x branch and having installed the new 6.2.4 release, a string seems to keep lacking affecting the renderization of Blog.WebHome.
Here it is what I see not only here, but in a number of installations around the net...
http://atriumkm.idisantiago.es/bin/download/ICT/Images/blogLocalizationMiss…
I guess you get the same result by accessing directly this site...
http://idis1.idisantiago.es:8080/xwiki/bin/view/Blog/
Please, even though it is kind of a trivial problem not affecting, shouldn't it be fixed?
Thanks!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
________________________________
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm
I am struggling with a page permissions issue. What am I doing wrong here?
I have done this before, but it doesn't seem to be working this time.
I have a SPACE that is only available to a specific GROUP. That seems to be working just fine.
I have a PAGE in that SPACE that I only want a specific USER (in the GROUP) to be able to access.
I set the permissions for the GROUP to deny on that PAGE and explicitly gave the USER permission.
The issue is that anyone in the GROUP can still ACCESS the PAGE.
Am I missing something?
Paul Pinkerton
KnowledgeNow Project Lead
Thanks. I'd looked at the DevGuide document before and been none the wiser, but it's just dawned on me that the example code is JavaScript (I'd assumed Groovy or Velocity), so XWiki.File Upload must be a JS library function. Sometimes it's hard to know what things are XWiki magic and what's basic website programming.
Thanks for the single origin link. Looks like I can set the origin to the common suffix of my two servers.
----- Reply message -----
From: "Marius Dumitru Florea" <mariusdumitru.florea(a)xwiki.com>
To: "XWiki Users" <users(a)xwiki.org>
Subject: Re: [xwiki-users] Using HTML5 File Upload Widget for non-XWiki files
Date: Thu, Nov 13, 2014 20:56
See http://platform.xwiki.org/xwiki/bin/view/DevGuide/HTML5Upload for
how to use the file upload widget inside XWiki. Note that if you want
to submit the file to a different server you will hit the
https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
problem. Also note that the file upload widget uses the native File
Upload API provided by the browser. Read more about it here
https://developer.mozilla.org/en-US/docs/Using_files_from_web_applications
.
Hope this helps,
Marius
On Wed, Nov 12, 2014 at 10:28 PM, Bryn Jeffries
<bryn.jeffries(a)sydney.edu.au> wrote:
> I'd like to upload files through a custom File Upload servlet that runs from the same Tomcat server but is not part of XWiki. This servlet does some file processing and stores the file in a separate area away from the XWiki attachments, and it's possible that eventually this servlet might be moved to another server as processing demands change.
>
> Is it possible to make use of the supplied XWiki UI widgets to upload to this servlet? Any guidance on how to do this would be greatly appreciated.
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Hi.
I've the following configuration:
* XWIki Enterprise 5.4.5 with path-based subwikis
* Main wiki using LDAP (AD) authentication
* Subwiki with "both local and global users"
I'm trying do configure it so, that Global users will be authenticated
by AD (possibly with some AD-to-Wiki group mappings) and Local users
will be authenticated against xwiki database.
It's almost working. If the Global user is logged in to the main wiki
and then goes to the subwiki - he/she can use it as Global user (which
can be checked looking at the 'profile' or 'preferences' urls included
in the heading bar).
But if the user without prior logging to the main wiki goes straight to
subwiki and enters his AD credentials - a new Local user is being created.
Is there a way to prevent the Local user creation? I suppose, that
changing xwiki.authentication.ldap.trylocal to '0' in xwiki.cfg is not
the solution - I'll lose the ability to have local users in subwiki, right?
In the main wiki it is desire'able, it allows easy joining for each AD
user.
TIA,
R.
Hi,
I created a Macro in xwiki.
In this macro a server process is started that tries to read attachments.
For this, I created a XWikiCOntext to access the Wiki.
This is the code:
XWikiStubContextProvider
prov=Utils.getComponent(XWikiStubContextProvider.class);
prov.initialize(template);
XWikiContext con=prov.createStubContext();
con.setUser("XWiki.TestProcess", true);
con.setVirtual(true);
Unfortunately it is not possible to access the attachment content using
this context.
The following error is thrown:
com.xpn.xwiki.XWikiException: Error number 3231 in 3: Exception while
loading attachment myseedfile.dgn of document
microtest_oto.Templates_Test-Stefan
at
com.xpn.xwiki.store.XWikiHibernateAttachmentStore.loadAttachmentContent(XWikiHibernateAttachmentStore.java:233)
at
com.xpn.xwiki.doc.XWikiDocument.loadAttachmentContent(XWikiDocument.java:4600)
at
com.xpn.xwiki.doc.XWikiAttachment.getContentInputStream(XWikiAttachment.java:576)
at
org.centauron.xwiki.help.XWikiAttachmentCopy.doCommand(XWikiAttachmentCopy.java:79)
....
Any help would be appreciated.
Regards, Stefan.
Hi All,
We are currently using the 0.9.840 version of Xwiki. We are planning to
upgrade the wiki to the latest version so as to include all the new
features provided by xwiki.
I searched almost everywhere for a good resource for upgrading the wiki,
but in vain.
Can someone guide me on this to accomplish this task?
This is a very significant step in expanding our business with the xwiki
team.
Thanks,
Kashyap.
The XWiki development team is proud to announce the availability of XWiki
6.3.
This release provides a great stabilization of the Flamingo Skin, and
includes new themes and some improvements to manage them.
It also contains a new mail API and module to replace the old mailsender
plugin, a new dynamic tree widget that is progressively replacing all
existing trees in XWiki (Document Index, Navigation Panels, etc...), some
improvements on the Extension Manager as well as on the User Directory and
the Applications Panel.
Efforts have been made on the performances side, with good results on view
mode (except on the first loaded-page). We reach the same performances as
5.4.6, which was not the case during the 6.x cycle until now. This is a
first milestone to get even better!
Finally, and like every releases, a lot of bugs have been fixed.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki63
Thanks
-The XWiki dev team
Hello all,
I have a list on a page which defaults to a value defined in the objects of the page. What I want to do is access the value of the list after the page is refreshed from velocity code on the same page. My users would open the page and see the lists with their default values, then select some values from the list and press a button causing a post-back. After the post-back happens, I need to essentially "reflect" the selection that the user made from velocity code.
So far if I use the following code:
#set($obj = $doc.getObject("myspace.myclass",0))
$doc.display("myprop","view",$obj)
But, I get the default value after the page posts back, even though the selected value persists.
Any help is greatly appreciated.
Hello
I have a little question and I couldn't find an answer on the internet...
In a groovy part, I can create list the attachments of the current document with this :
{{groovy}}
list = doc.getAttachmentList();
print(list);
{{/groovy}}
how can I access the documents of another page in the same way?
On a different page of the wiki I tried
{{groovy}}
list = XWiki.WebHome.getAttachmentList();
print(list);
{{/groovy}}
to get a list of the attachments on XWiki.WebHome, but it didn't work...
Do you have any clue?
Thank you very much !
Adrien
Hey everyone!
I am looking to place page breaks in specific locations within the content
on a page.
The content in the wiki pages is instructions on how to operate various
machines on our manufacturing floor.
The most common export used to print these instructions id PDF.
Many times a single step will be printed on two different pages.
I am tasked with eliminating this.
I have found a post about page breaks from 2009.
*(% style="page-break-before:always" %)*
It was mentioned that this was considered an advanced feature and was seldom
used.
It was also mentioned that there might be added support to enter parameters,
such as CSS) and the WYSIWYG in XE 1.9.
I was hoping someone might be able help me on this or maybe even direct me
to more information about using page breaks in the xwiki.
Thanks!
--