When an unauthorized user visits a restricted page, they see the message "Click here to force editing" — do users need to belong to a particular group to see this message?
What specifically is the intent behind this feature? (I'm curious as it appears to allow other users to, in a way, bypass the security mechanism). How do I prevent a user from seeing the "Click here to force editing" link?
—Debajit
What should I type in the Search field to list all the documents in a space?
I tried typing in "where doc.space='<SpaceName>'" but that does not give me the expected results.
I know that I can filter from the right sidebar, but how can I do this from the search field itself?
(I am using XWiki 6.4)
>
> > By the way: I didn't manage to make
> this example work with this code on xwiki 6.4+Expense Report
> Application:
> > http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingCustomSolrSearchFo…
>
> What exactly didn't work.
> It works for me. I made some small changes
> to make it more clear.
>
Ok it is working now on my 6.4 jetty package (must typing some field to see correct right screen :-/).
I don't understand how ExpenseReport.ListFacet working: wich values in entry (if they are some) and which values are returned?
In ExpenseReport.ListFacet we found this macro
#macro (displaySearchFacetValue_list $value)
with $value parameters but it seems you call it with:
#displaySearchFacetValuesLimited($facetValues {} 'displaySearchFacetValue_list')
?? the macro is the parameter of #displaySearchFacetValuesLimited
didn't found displaySearchFacetValuesLimited macro source.
Have you some docs about this case or could you brievly explain me?
There are an error here I think in ExpenseReport.ListFacet
'facetFields': ['property.ERCode.ERCodeClass.status_string','property.ERCode.ERCodeClass.organisation_string', 'property.ERCode.ERCodeClass.currency_string', 'property.ERCode.ERCodeClass.status_client', 'property.ERCode.ERCodeClass.user_string', 'author', 'creator', 'date',
'creationdate'],
'property.ERCode.ERCodeClass.status_client' must be probably 'property.ERCode.ERCodeClass.client_string'
but a search return at right screen (redefine search):
Client: $prop.getMapValues().get($value).val...
Thxs
Hello,
I'm writing an xwiki application and I start fighting with solr search.
On http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Query+API#… I read
"The list of typed (non-string) dynamic fields that will be expanded in the search query. The names of these fields are suffixed with the name of their data type (e.g. *_int is a dynamic integer field)."
Unfortunaly in my application I use same prefixe in my properties name (_) to add some dynamic bootstrap tab (and another things)! An example: CodeH_Deb_P1 or P1_EaAutrDO_Cond_Invisi
I suppose _ is hardecoded in xwiki, then I must replace all my _ character in my properties name and Sheets code but could you suggest a character I can use without problem?
This one ~ perhaps?
By the way: I didn't manage to make this example work with this code on xwiki 6.4+Expense Report Application:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingCustomSolrSearchFo…
Thxs.
Pascal B
The XWiki development team is proud to announce the availability of
XWiki 7.0 Milestone 2.
This release comes with a simplified Wiki Creation Wizard and the
ability to organize and filter extensions by category in the Extension
Repository. The install date and the user that performed the install
are now available in the extension details, and the extensions that
were installed explicitly are now displayed distinctly. A stronger
confirmation should prevent users from deleting wikis by mistake from
now on. The developers may be interested by the API improvements made
to the Mail Sender and Extension Manager modules.
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/ReleaseNotesXWiki70M2
Thanks
-The XWiki dev team
I am trying to set up access rights for a page that I created, and when I try to revoke view permissions for a particular user, I see the following error:
2015-03-04 01:29:42 - CSRFToken: Secret token verification failed, token: "xykyhIj3uArxuDcDQU9JsA", stored token: "ncSmP4I2YiP6QkKCMAguDw"
Why am I seeing this error, and what could I do to fix it?
(I see this error repeatedly)
> Unfortunaly in my application I use same prefixe in my
> properties name (_) to add some dynamic bootstrap tab (and
> another things)! An example: CodeH_Deb_P1 or
> P1_EaAutrDO_Cond_Invisi
> I suppose _ is hardecoded in xwiki, then I must replace all
> my _ character in my properties name and Sheets code but
> could you suggest a character I can use without problem?
>
> This one ~ perhaps?
Finally I think I can use _ separator. I was worried for nothing.
I didn't understant how construct my 'dynamic facet' like this Main.SolrUserFacet because I don't know how it is working:
There are a macro
#macro (displaySearchFacetValue_user $user)
but we use single quote without parameter:
#displaySearchFacetValuesLimited($facetValues {} 'displaySearchFacetValue_user')
I tried to understand the example of
> this code on xwiki 6.4+Expense Report Application:
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingCustomSolrSearchFo…
but it doesn't working in jetty xwiki 6.4
>
> Thxs.
> Pascal B
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
Hi,
i want to read, edit and save xwiki-objects from a page in javascript. I
wrote a post
(http://xwiki.475771.n2.nabble.com/Javascript-RESTful-tp7594084.html) where
i thought i should solve this with rest. I think now is is a lack of
knowledge. Where is documented what the Object 'XWiki' in javascript can do?
I read some source-code from fullcalender and others and see that they use
'XWiki.widgets' or 'XWiki.model', but i have no idea where to lolookinform
myself what XWiki on Javascript-side is to fill my gap of knowledge.
Is there a document where i can look? Or should i use the "only" the
Javascript XWiki API
(http://platform.xwiki.org/xwiki/bin/view/DevGuide/JavaScriptAPI) to read
the object data with velocity or groovy to handle them in javascript. I dont
understood it? What is a preferred solution?
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Javascript-XObjects-tp7594090.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi everybody, my name is Kévin Laîné, i'm a french guy.
I'm working on a collective project about "alternative models of family".
Xwiki seems to be the best community tool management I've discovered.
I'm really interested for opening an xwiki on the "XWiki Community farm". I have some questions before asking you to open a session.
1) Is it possible to use a domain name like "domain.tld" instead of "domain.myxwiki.org" ?
2) Is it possible to install some extensions as bulletin board or others ?
3) Is it possible to embed "Nabble Free Forums" or other Nabble apps ?
4) Is it possible to make private backup of the xwiki ?
Vincent Massol is working on "Alternate URL Scheme" http://dev.xwiki.org/xwiki/bin/view/Design/AlternateURLScheme
5) When it will be ready could I use this option on myxwiki even if I my xwiki is in production ?
Thank you very much for your answers.
Hi all Xwiki Team
Since Vincent has re-installed my xwiki on farm, I'm learning to use Xwiki and want to ask you about some problems I have.
The Chat Application installed with Extension Manager doesn't work, and I can't uninstall it, How to do ?
http://extensions.xwiki.org/xwiki/bin/view/Extension/ChatApplication#Commen…
Multilingual option doesn't work very well,
Supported languages : "fr en"
Default Language : "fr"Sometimes I can choose the language on the top-right, but sometimes not and don't know why.
Kévin
hi all!
i've installed xwiki and when I try to open the web link, i receive this
error :
Problem accessing /xwiki/bin/view/Main/. Reason:
Error number 3 in 0: Could not initialize main XWiki context
Caused by:
com.xpn.xwiki.XWikiException: Error number 3 in 0: Could not initialize main
XWiki context
ecc ecc
can anyone help me?
--
View this message in context: http://xwiki.475771.n2.nabble.com/error-500-Could-not-initialize-main-XWiki…
Sent from the XWiki- Users mailing list archive at Nabble.com.
The XWiki development team is proud to announce the availability of XWiki
6.4.2.
This is a stabilization release that fixes important bugs discovered in the
6.4.1 version.
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/ReleaseNotesXWiki642
Thanks
-The XWiki dev team
--
Guillaume Delhumeau (gdelhumeau(a)xwiki.com)
Research & Development Engineer at XWiki SAS
Committer on the XWiki.org project
Hello,
Livetable is somehow magic but ... (there are always a 'but') is it possible to use multiple Class?
I read XWiki.LiveTableResultsMacros
"#macro(gridresultwithfilter_buildQuery $className ...
#set($class = $xwiki.getDocument($className).getxWikiClass())"
=> livetable use getxWikiClass method (and not getxWikiClasses :-( )
Here my problem in my nice xwiki 6.4.0 application:
I created some Class/Sheet/Template with 2 common properties/field: I mean on each document Class I created this common property (same name, same source): this one by example
- Name:P1_DgMoa_req Type: Database List
- XWiki Class Name: FormSMQ.ListeDGClass
- Id Field: Name DGId
- Value Field: Name DGLib
On my WebHome I paste this livetable:
#set ($columnsProperties = {
'TypeFiche_RO': {"type":"list","size":10},
'P1_DgMoa_req': {"type":"list","size":10},
'doc.name': {"type":"text","size":10,"link":"view"},
'doc.date': {"type":"text","size":10},
'doc.creator': {"type":"text","size":10,"link":"creator"},
'_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit"]}
})
#set ($options = {
'className': 'MySpace.MyClass',
'translationPrefix' : 'FormSMQ.livetable.',
'tagCloud': true,
'rowCount': 15,
'maxPages': 10,
'selectedColumn': 'doc.name',
'defaultOrder': 'asc',
'extraParams': "&space=${doc.space}"
})
With one class ( 'className': 'MySpace.MyClass',) my livetable work perfectly but display only documents 'linked' with this class (doc with 'MySpace.MyClass' object)
If I use 'className': '' (empty), livetable show all document on the space but my select list are not filled.
I tried 'TypeFiche_RO': {"type":"list","size":10,'class': 'MySpace.MyClass' } with empty 'classname', but if I select a value in my select list, only document 'linked' with this class are displayed.
I tried topFilters options (HTML fragment that will be placed in a "top filter" area in the same fashion as the Tag Cloud filter) 'topFilters': '<input type="text" size="15" name="doc.name" value="">', but no document will displayed. I didn't managed either (I don't know how to choose the field who is filtered by the new input tag)
I don't know if someone understand my problem ( livetable with multiple class source), but every magics tricks are welcome to help me.
Thxs.
Pascal B
Hi Hamster,
On 25 Feb 2015 at 07:32:24, Hamster (teunham@hotmail.com(mailto:teunham@hotmail.com)) wrote:
> vmassol wrote
> > What about it? :)
>
> Just a suggestion :-)
>
> Maybe this is could be an alternative. I really like the "inline editor
> mode" of the CKEditor.
Oh I see what you meant. I assumed the question was about using the wiki editor because otherwise the WYSIWYG editor *is* a live preview!
Thanks
-Vincent
Hi all,
I have noticed that XWiki 6.1 generates incorrect document link in
notification mails in our setup.
It duplicates /bin path element into /bin/bin in every link.
I've searched the mailing list and could only found this thread:
http://lists.xwiki.org/pipermail/users/2011-July/020402.html
with an almost identical description:
>>>> >>>>* duplicated "/bin/" element in link URL
*>>>>* e.g. http://subwiki.server.com/bin/bin/view/SpaceName/PageName
<http://subwiki.server.com/bin/bin/view/SpaceName/PageName>
*>>>
Unfortunately, the problem hasn't been solved and no other discussions were
seen on this topic.
Here are more details about our installation:
* XWiki 6.1 (and recently tried 6.4.1 with the same result)
* Tomcat7 container running ROOT.war with XWiki application on
http://localhost:8080/
* xwiki.cfg contains xwiki.home uncommented and set to a correct public URL
(https://ourserver.com/)
* Nginx frontend using proxy_pass to serve the public URL
I have also noticed that links to the same pages in emails sent by "Share
by email" extension are correct (no /bin duplication).
We are using XWiki as a corporate knowledge base, so the correctness of
email notifications are important for us.
Any help will be appreciated.
--
Regards,
- Alexander Stepanov.
On 22 Feb 2015 at 19:43:08, Aaron Hardy at AC (ashtarcommunications@gmail.com(mailto:ashtarcommunications@gmail.com)) wrote:
> Hi Vincent,
>
> Thanks for the follow-up.
>
> I never managed to track down the exact cause of the futex lock or gettimeofday calls. My best guess is that it has something to do with XWiki running on an Amazon EC2 instance. I didn't see the same kind of issues on a local machine. I had another thread a few months ago where I asked if anyone had successfully run XWiki on AWS, and it didn't seem like there was much experience with that setup.
>
> My short term solution was just to double the RAM and throw it all at XWiki. That seems to have mostly dealt with the stability issues (at least, the instance rarely crashes under load), but under the hood I think it's still performing much worse than it should be.
>
> Any ideas you have about what might be causing the issue, or any tips for running XWiki on Amazon under reasonably high loads would be much appreciated.
Thanks for the information and indeed you could be right about the Amazon EC2 context for the futex problem.
I don’t have any experience with running XWiki on Amazon EC2 so I cannot help much, sorry.
Thanks
-Vincent
> Thanks,
>
> aaron
>
>
>
> On Fri, Feb 20, 2015 at 10:05 AM, vincent@massol.net(mailto:vincent@massol.net) wrote:
> > Hi Aaron,
> >
> > Sorry you didn’t get any answer…
> >
> > Were you able to find out the problem and improve XWiki under load?
> >
> > Thanks
> > -Vincent
> >
> >
> > On 20 Sep 2014 at 06:52:10, Aaron Hardy at AC (ashtarcommunications@gmail.com(mailto:ashtarcommunications@gmail.com)(mailto:ashtarcommunications@gmail.com)) wrote:
> >
> > > Trying to track down the source of some persistent performance issues under
> > > load with 6.2 RC 1 (haven't had time to upgrade to 6.2 final yet). I'm
> > > maxing out at about 30 or so users before dying on a system with 4GB of RAM.
> > >
> > > The java interpreter is getting pegged to 100% of the CPU, and about 70% of
> > > the calls in the stack trace are futex lock errors. A good chunk of the
> > > remainder are gettimeofday calls.
> > >
> > > Potentially useful info (sorry for formatting):
> > >
> > > % time seconds usecs/call calls errors syscall
> > > ------ ----------- ----------- --------- --------- ----------------
> > > 72.75 5361.592109 45075 118947 14045 futex
> > > 12.28 905.064191 466 1943354 gettimeofday
> > > 4.83 356.110745 3709487 96 45 restart_syscall
> > > 2.88 212.173358 836 253729 clock_gettime
> > > 2.71 199.867690 8802 22706 recvfrom
> > > 2.10 154.843342 37841 4092 poll
> > > 1.14 84.282371 580 145307 130153 stat
> > >
> > > Any ideas?
> > >
> > > thanks,
> > >
> > > aaron
> >
>
Je serai absent(e) à partir du 21/02/2015 de retour le 25/02/2015.
je suis en congés.
Je répondrai à vos messages dès mon retour.
En cas de problème technique, veuillez contacter SYNOX au 05 67 34 66 56.
Merci
Trying to track down the source of some persistent performance issues under
load with 6.2 RC 1 (haven't had time to upgrade to 6.2 final yet). I'm
maxing out at about 30 or so users before dying on a system with 4GB of RAM.
The java interpreter is getting pegged to 100% of the CPU, and about 70% of
the calls in the stack trace are futex lock errors. A good chunk of the
remainder are gettimeofday calls.
Potentially useful info (sorry for formatting):
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
72.75 5361.592109 45075 118947 14045 futex
12.28 905.064191 466 1943354 gettimeofday
4.83 356.110745 3709487 96 45 restart_syscall
2.88 212.173358 836 253729 clock_gettime
2.71 199.867690 8802 22706 recvfrom
2.10 154.843342 37841 4092 poll
1.14 84.282371 580 145307 130153 stat
Any ideas?
thanks,
aaron
Oops, the users list was dropped!
-Vincent
On 20 Feb 2015 at 17:55:57, vincent(a)massol.net (vincent(a)massol.net) wrote:
On 20 Feb 2015 at 17:42:47, Erin Kelley (erinmkelley7@gmail.com(mailto:erinmkelley7@gmail.com)) wrote:
> Well the issue could be that the server is behind a firewall that does not get outside internet access. If the UI installer of the DW contacts xwiki.org(http://xwiki.org) like you are saying, then that explains why it will not find the extension. I have to import them manually then.
XWiki works find behind proxies :) You just need to configure XWiki for that, see:
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Installation#HRunningXW…
> I'm gonna try a clean instance by following your directions. I'm using a tomcat on a windows machine so there isn't a /var/local/xwiki where my Xwiki permanent directory is located. I'm assuming that its /tomcat/temp/xwiki. There were only 2 files in here but i deleted the directory anyways.
If you haven’t set any permanent dir then you have a WARNING in your logs saying it’s using the temporary directory and that you need to set it to a proper place that has not risk of being deleted! :)
> If i run into more issues I'll shoot you another message with helpful screenshots.
Thanks
-Vincent
> Thanks so much for taking the time to help me!
>
> On Fri, Feb 20, 2015 at 9:49 AM, vincent@massol.net(mailto:vincent@massol.net) wrote:
> > Hi Erin,
> >
> > On 20 Feb 2015 at 15:09:27, Erin Kelley (erinmkelley7@gmail.com(mailto:erinmkelley7@gmail.com)(mailto:erinmkelley7@gmail.com)) wrote:
> >
> > > Hi Vincent,
> > >
> > > Thanks for the response!
> > >
> > > The import status showed that some pages were installed. I cannot remember what exactly these were because I'm not sure what all was contained in the default wiki pages .xar file. What I do know is that every file that the import status said was not installed was a .xml file. I do remember checking the files that the import status showed were properly installed and absolutely no .xml files were installed.
> >
> > All the pages located in the XAR file are XML files :) The import only import wiki pages (i.e. XML files).
> >
> > I have no clue why it fails. If you can reproduce with a clean install, I’ll suggest you create a jira issue at http://jira.xwiki.org so that it gets fixed.
> >
> > > As to why I didn't use the distribution wizard: The distribution wizard, when loaded the first time I went to the wiki, showed a message that said it could not find the default wiki pages version 6.4.1. I'm not sure why it said this because I just followed the administrator guide which included the unpacking of the xwiki-enterprise-web-6.4.1.war that I downloaded. So I googled this issue and saw that I could download the default pages and then login as a super admin and import them.
> >
> > You must have some bad luck and maybe you tried the DW at a time when xwiki.org(http://xwiki.org) was down and thus not answering from your XWiki instance.
> >
> > In any case since you have a non functional instance at the moment, I’d suggest you try again clean. You can do that simply by 1) stopping XWiki 2) deleting the full content of the XWiki permanent directory (see permanentDirectory in your xwiki.properties file) and 3) restarting XWiki.
> >
> > Let us know how it goes.
> >
> > Thanks
> > -Vincent
> >
> > > Thanks again for the help! I really appreciate it!
> > >
> > > Erin
> > >
> > > On Fri, Feb 20, 2015 at 7:54 AM, vincent@massol.net(mailto:vincent@massol.net)(mailto:vincent@massol.net) wrote:
> > > > Hi Erin,
> > > >
> > > > On 19 Feb 2015 at 17:55:52, Erin Kelley (erinmkelley7@gmail.com(mailto:erinmkelley7@gmail.com)(mailto:erinmkelley7@gmail.com)(mailto:erinmkelley7@gmail.com)) wrote:
> > > >
> > > > > Hello,
> > > > >
> > > > > I setup a Tomcat server with a MySQL database and am trying to setup Xwiki
> > > > > on it. I followed the administrator installation guide and ran into a
> > > > > problem that I can't seem to find the solution to. Everything seemed to
> > > > > work properly until I tried to import the
> > > > > xwiki-enterprise-ui-mainwiki-all-6.4.1.xar. After the import was done, I
> > > > > was shown a list of files that were installed as well as the ones that were
> > > > > not installed. It seemed that none of the xml files were installed. Has
> > > > > anyone ran across this issue before? I can still navigate across the wiki,
> > > > > but, for instance, when I click on the admin's profile or preferences, no
> > > > > text boxes or buttons of any kind appear. It pretty much shows just a blank
> > > > > page.
> > > >
> > > > So, some pages were installed but not all and the import status said that no page was installed?
> > > >
> > > > BTW why didn’t you use the Distribution Wizard which should have appeared when you started tomcat and entered an XWiki URL?
> > > >
> > > > See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationWAR#HConclu…
> > > >
> > > > Thanks
> > > > -Vincent
> > > >
> > > > > Any help would be appreciated. Thanks!
> > > >
> > >
> >
>
Hello XWiki Community,
while creating an App within a Minute I get groovy executing failures for each element of the form. It is possible to save and finish the process but I cannot access the editor for the content field. That means I cannot enter default entries.
You can see the full failure message at the end of the mail.
I googled the problem and found entries for Confluence. Maybe they can guide a way:
Now I added the "-XX:ReservedCodeCacheSize=64m" option into JAVA_OPTS. (https://bobswift.atlassian.net/browse/SCRP-129)
and
It worked for me, I just added XX:ReservedCodeCacheSize to my setenv.sh and until now everything is ok. (https://answers.atlassian.com/questions/13535/problem-with-the-script-runne…)
I am running version 5.4.5
Thank you for your time!
Best regards,
Peter
Here is the error which is displayed when I reenter the wizard page for step 2:
Failed to execute the [groovy] macro:
java.lang.VerifyError: (class: org/codehaus/groovy/runtime/ArrayUtil, method: createArray signature: ()[Ljava/lang/Object;) Illegal type in constant pool
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:190)
at Script89.run(Script89.groovy:41)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:346)
at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:146)
at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.eval(AbstractJSR223ScriptMacro.java:292)
at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:226)
at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:177)
at org.xwiki.rendering.macro.script.AbstractJSR223ScriptMacro.evaluateBlock(AbstractJSR223ScriptMacro.java:57)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:198)
at org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:191)
at org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:132)
at org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:87)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:252)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:125)
at org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:55)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
at org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:253)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.applySheet(SheetDocumentDisplayer.java:212)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.maybeDisplayWithSheet(SheetDocumentDisplayer.java:164)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:102)
at org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:997)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:976)
at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:1007)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:619)
at sun.reflect.GeneratedMethodAccessor343.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluate(DefaultPrivilegedTemplateRenderer.java:125)
at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluateTemplate(DefaultPrivilegedTemplateRenderer.java:75)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1687)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1627)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:918)
at sun.reflect.GeneratedMethodAccessor165.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:228)
at org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:187)
at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluate(DefaultPrivilegedTemplateRenderer.java:125)
at com.xpn.xwiki.internal.template.DefaultPrivilegedTemplateRenderer.evaluateTemplate(DefaultPrivilegedTemplateRenderer.java:75)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1687)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:167)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:304)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:129)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:126)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Hello,
I setup a Tomcat server with a MySQL database and am trying to setup Xwiki
on it. I followed the administrator installation guide and ran into a
problem that I can't seem to find the solution to. Everything seemed to
work properly until I tried to import the
xwiki-enterprise-ui-mainwiki-all-6.4.1.xar. After the import was done, I
was shown a list of files that were installed as well as the ones that were
not installed. It seemed that none of the xml files were installed. Has
anyone ran across this issue before? I can still navigate across the wiki,
but, for instance, when I click on the admin's profile or preferences, no
text boxes or buttons of any kind appear. It pretty much shows just a blank
page.
Any help would be appreciated. Thanks!
Hi guys,
we discovered an issue with XWiki 6.3. After importing a PowerPoint
presentation from within the WYSIWYG editor and saving the page the
presentation is added to the attachments but the document shows a black
gallery with 0/0 slides. In the log files I don't see any errors concerning
this.
We're on Windows Server 2003 R2, Tomcat 7, JDK 7, Apache 2.4, Libre Office
4.3
Is this a bug I should report a Jira about or is there something you can
suggest to me?
BR,
Dennis
I'm updating XWiki translations in http://l10n.xwiki.org/ and after
resource redesign I wonder where should I start.
Can you provide some list of description/priorities for all XWiki
platforms and files, which should be translated first to cover needs of
the most usual XWiki users.
Thanks!
Valdis
We were creating a tutorial wiki for our company. During the making of it,
we wanted to delete a space by clicking XWiki drop down menu on the home
page and clicking delete. Instead of deleting the space the whole wiki got
deleted...
Is there a way to retrieve the lost content?
Regards,
Mikhail
Hi Vincent - thanks for the reply. Are both the 7.x series and 6.4.x using Tika 1.7?
Garth
-----Original Message-----
Message: 5
Date: Wed, 18 Feb 2015 15:32:17 +0100
From: "=?utf-8?Q?vincent=40massol.net?=" <vincent(a)massol.net>
To: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>, XWiki
Users <users(a)xwiki.org>
Subject: Re: [xwiki-users] XWiki search/Solr support for additional
filetypes
Message-ID: <etPan.54e4a271.12200854.269a(a)vmassol.local>
Content-Type: text/plain; charset="utf-8"
On 16 Dec 2014 at 11:48:44, Marius Dumitru Florea (mariusdumitru.florea@xwiki.com(mailto:mariusdumitru.florea@xwiki.com)) wrote:
> On Tue, Dec 16, 2014 at 2:11 AM, Arnold, Garth wrote:
> > Hello Marius - thank you for the detailed reply. My goal is (2) - to find all documents with a .7z attachment, where those attachments include file(s) containing "foo". If I read your email correctly, Tika 1.6 (5) is root cause for my failure to search successfully for text within the files contained in a .7z attachment. I am successful with my search when using a .zip file as the attachment - so we will instruct wiki users to avoid .7z attachments.
>
> Yes, at least until we upgrade to Tika 1.7.
FTR we?re now using Tika 1.7 in the latest versions of XWiki.
Thanks
-Vincent
> Thanks,
> Marius
>
> >
> > Garth
> >
> >> -----Original Message-----
> >> Message: 2
> >> Date: Thu, 11 Dec 2014 08:42:20 +0200
> >> From: Marius Dumitru Florea
> >> To: XWiki Users
> >> Subject: Re: [xwiki-users] XWiki search/Solr support for additional
> >> filetypes
> >> Message-ID:
> >> > >> AkCcNA(a)mail.gmail.com>
> >> Content-Type: text/plain; charset=UTF-8
> >>
> >> It depends what you mean by "search attachments that are 7-Zip .7z
> >> archives":
> >>
> >> (1) Give me all the documents that have an attachment of mime type
> >> application/x-7z-compressed
> >> (2) Give me all the documents that have a 7-Zip archive attached that
> >> includes a file that contains the word "foo"
> >>
> >> If you use Solr, the default search engine for XWiki 6.2.4, then the
> >> code that is responsible for indexing the attachments is
> >> AttachmentSolrMetadataExtractor [1]. This is a component so it can be
> >> overridden as per [2]. The current implementation uses Tika [3] to:
> >>
> >> (1) detect the mime type of the attachment
> >> (2) extract indexable content from the attachment (whatever its mime
> >> type may be)
> >>
> >> For (1) Tika supports detecting the 7-Zip mime type since version 1.2
> >> [4]. For (2) judging by [5] it seems Tika also supports reading 7-ZIP
> >> archives but there were some issues in 1.6 that have been fixed in
> >> 1.7. We are currently using Tika 1.6 in XWiki. We should probably
> >> upgrade.
> >>
> >> Hope this helps,
> >> Marius
> >>
> >> [1] https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-
> >> core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-
> >> search-solr-
> >> api/src/main/java/org/xwiki/search/solr/internal/metadata/AttachmentSolr
> >> MetadataExtractor.java
> >> [2]
> >> http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module
> >> #HOverrides
> >> [3] https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-
> >> core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-
> >> search-solr-
> >> api/src/main/java/org/xwiki/search/solr/internal/metadata/AbstractSolrMet
> >> adataExtractor.java#L458
> >> [4] https://issues.apache.org/jira/browse/TIKA-940
> >> [5] https://issues.apache.org/jira/browse/TIKA-1411
> >>
> >> On Wed, Dec 10, 2014 at 9:20 PM, Arnold, Garth wrote:
> >> > Hello - is it possible to enable searching of additional filetypes within XWiki
> >> 6.2.4? Specifically I would like to be able to search attachments that are 7-Zip
> >> .7z archives. It looks to me as though the underlying library (Commons
> >> Compress) supports this filetype, but I am a new XWiki user and non-java
> >> programmer so I may be assuming too much.
> >> >
> >> > Thanks in advance for your thoughts on this -
> >> >
> >> > Garth Arnold
________________________________
GHC Confidentiality Statement
This message and any attached files might contain confidential information protected by federal and state law. The information is intended only for the use of the individual(s) or entities originally named as addressees. The improper disclosure of such information may be subject to civil or criminal penalties. If this message reached you in error, please contact the sender and destroy this message. Disclosing, copying, forwarding, or distributing the information by unauthorized individuals or entities is strictly prohibited by law.
Hi,
As I have failed to find the related information of this subject, I hope
the email group can help me.
Why Glossary feature was not implemented in xwiki? Is there any extension
or alternatives?
I did think Glossary is a useful feature especially for a dev team.
Thanks
Regards
Peter
Hi, All!
I replied to one of the emails and received following:
Reporting-MTA: dns; borabora.xpertnet.org
Received-From-MTA: smtp; borabora.xwiki.com ([127.0.0.1])
Arrival-Date: Sun, 1 Feb 2015 09:42:57 +0000 (UTC)
Original-Recipient: rfc822;users(a)xwiki.org
Final-Recipient: rfc822;users(a)xwiki.org
Action: failed
Status: 5.7.0
Diagnostic-Code: smtp; 554 5.7.0 Bounce, id=29194-13 - spam
Last-Attempt-Date: Sun, 1 Feb 2015 09:42:57 +0000 (UTC)
Final-Log-ID: 29194-13/SfRQFeszKdSD
How can I convince this Borabora, that I'm not spamming users(a)xwiki.org?
Kind regards,
Dmitry
Dear XWiki users,
We’re getting close to the end of the XWiki 6.x cycle (6.4 is planned for the end of December) and in January we’ll start developing the XWiki 7.x cycle (which will last the whole 2015 year), starting with XWiki 7.0.
Thus it’s time for the XWiki devs to start defining the global roadmap for XWiki 7.x.
As XWiki users, I’d like to know if you have some needs for XWiki 7.x. What would you be interested in seeing in XWiki 7.x?
I’d like to start some proposal on the xwiki devs list (for the XWiki 7.x cycle) around end of December so it would be nice if you could shoot your suggestion ideas fast so that we can take them into account in the discussion! :)
Thanks a lot for your help and I hope you’re enjoying using XWiki!
-Vincent Massol
XWiki Committer
Hello Marius - thank you for the detailed reply. My goal is (2) - to find all documents with a .7z attachment, where those attachments include file(s) containing "foo". If I read your email correctly, Tika 1.6 (5) is root cause for my failure to search successfully for text within the files contained in a .7z attachment. I am successful with my search when using a .zip file as the attachment - so we will instruct wiki users to avoid .7z attachments.
Garth
> -----Original Message-----
> Message: 2
> Date: Thu, 11 Dec 2014 08:42:20 +0200
> From: Marius Dumitru Florea <mariusdumitru.florea(a)xwiki.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] XWiki search/Solr support for additional
> filetypes
> Message-ID:
> <CALZcbBbprk=SJjhqGKKX1tx-TcMQbcq+qby6ZfnQqXZ-
> AkCcNA(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> It depends what you mean by "search attachments that are 7-Zip .7z
> archives":
>
> (1) Give me all the documents that have an attachment of mime type
> application/x-7z-compressed
> (2) Give me all the documents that have a 7-Zip archive attached that
> includes a file that contains the word "foo"
>
> If you use Solr, the default search engine for XWiki 6.2.4, then the
> code that is responsible for indexing the attachments is
> AttachmentSolrMetadataExtractor [1]. This is a component so it can be
> overridden as per [2]. The current implementation uses Tika [3] to:
>
> (1) detect the mime type of the attachment
> (2) extract indexable content from the attachment (whatever its mime
> type may be)
>
> For (1) Tika supports detecting the 7-Zip mime type since version 1.2
> [4]. For (2) judging by [5] it seems Tika also supports reading 7-ZIP
> archives but there were some issues in 1.6 that have been fixed in
> 1.7. We are currently using Tika 1.6 in XWiki. We should probably
> upgrade.
>
> Hope this helps,
> Marius
>
> [1] https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-
> core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-
> search-solr-
> api/src/main/java/org/xwiki/search/solr/internal/metadata/AttachmentSolr
> MetadataExtractor.java
> [2]
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module
> #HOverrides
> [3] https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-
> core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-
> search-solr-
> api/src/main/java/org/xwiki/search/solr/internal/metadata/AbstractSolrMet
> adataExtractor.java#L458
> [4] https://issues.apache.org/jira/browse/TIKA-940
> [5] https://issues.apache.org/jira/browse/TIKA-1411
>
> On Wed, Dec 10, 2014 at 9:20 PM, Arnold, Garth <arnold.g(a)ghc.org> wrote:
> > Hello - is it possible to enable searching of additional filetypes within XWiki
> 6.2.4? Specifically I would like to be able to search attachments that are 7-Zip
> .7z archives. It looks to me as though the underlying library (Commons
> Compress) supports this filetype, but I am a new XWiki user and non-java
> programmer so I may be assuming too much.
> >
> > Thanks in advance for your thoughts on this -
> >
> > Garth Arnold
________________________________
GHC Confidentiality Statement
This message and any attached files might contain confidential information protected by federal and state law. The information is intended only for the use of the individual(s) or entities originally named as addressees. The improper disclosure of such information may be subject to civil or criminal penalties. If this message reached you in error, please contact the sender and destroy this message. Disclosing, copying, forwarding, or distributing the information by unauthorized individuals or entities is strictly prohibited by law.
Does anyone have experience deploying a whiteboard within a wiki page similar to https://awwapp.com/ , http://webwhiteboard.com/#/ , http://cosketch.com/ or similar?
I have a need to deploy one - and using a third party service and embedding it in the page is fine, but am having trouble displaying it.
This one with the code pasted below seems to work, but the app/ third party service isn't what we really want - it's a mind map service. Others seem to embed, but then don't display anything.
This one seems to be one that could be hosted on our own server (??) which would actually be ideal longterm. https://code.google.com/p/online-whiteboard/
Ideally, I'd like to be able to use one that doesn't require further fees - as it sort of defeats the purpose of our own wiki structure.
Anyway, any ideas or your experience here would be appreciated! We are currently running XWIKI ENTERPRISE 5.4.5, but looking at upgrading to 6.3 shortly.
{{html clean="false"}}
<iframe src="https://www.mindmup.com/#m:a18712bed014d6013247a842795da66744" width="800" height="600" frameBorder="0" webkitAllowFullScreen mozAllowFullscreen allowfullscreen></iframe>
{{/html}}
Paul Pinkerton
ACLCO/ KnowledgeNow Project
I've been exploring connection pooling for an external database, but I'm struggling to use it. I'm running XWiki 6.3 on a Ubuntu server. In /etc/xwiki/context.xml I have
<?xml version="1.0" encoding="UTF-8"?>
<Context>
<!-- JDBC datasource for myDB -->
<Resource name="jdbc/mydbds"
auth="Container"
type="javax.sql.DataSource"
username="dbuser"
password="dbpass"
driverClassName="org.postgresql.Driver"
url="jdbc:postgresql:alertdb"
maxActive="10"
maxIdle="4" />
</Context>
And I have a symlink to this at /usr/lib/xwiki/WEB-INF/context.xml
I'm trying to test that I can access this with a Groovy script. I'm not entirely sure of the correct approach here, but the most successful I've got it with
{{groovy}}
import groovy.sql.Sql
import javax.naming.Context
import javax.naming.InitialContext
import javax.sql.DataSource
Context ctx = new InitialContext();
DataSource dataSource = (DataSource) ctx.lookup("jdbc/mydbds");
def sql = new Sql(dataSource)
{{/groovy}}
However this fails with
javax.naming.NameNotFoundException: Name [jdbc/mydbds] is not bound in this Context. Unable to find [jdbc].
Would anyone be able to tell me whether this is the right sort of way to be going about using a JNDI resource, and what's wrong with my implementation?
Just want to apologize if this has been asked already, but I was not able to
find this in the archive.
I have a new instance of XWiki install and everything is working fine, but I
am having issue with the "Reset my password" link at the login page. It
send the email out fine, but when I click on the link, it takes me to the
xwiki with the error message: "Wrong Parameters. Back to the password reset
page". I searched the internet and I come up empty, is there a setting I
forgot to setup? Please let me know. Thanks.
--
View this message in context: http://xwiki.475771.n2.nabble.com/Wrong-parameter-for-password-reset-tp7593…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I would like to use a temporary XWiki to prepare and announce a project for families around rare deceases.
We (CdLSWorld) would be only one of minimal 7 participants of this project.
Therefore i need a wiki without the cdlsworld.org logo and which does not require registration
(Public Wiki)
The owner will be me: GerritjanKoekkoek
name of wiki: WaihonaPedia
Gerritjan Koekkoek
Vader van Rai Koekkoek (cdls) en voorzitter vereniging CdLS
Visit our website<http://www.cdlsworld.org>
Facebook<https://www.facebook.com/gerritjan.koekkoek>
email<gerritjan(a)cdlsworld.org>
Hello,
In my xwiki application, I want prevent user to delete pages (even he is the creator).
Users create page with my form (some class/Sheet/Template/Velocity/API xwiki) and of course I want to keep original UserCreator info in the doc.
Is it possible? I didn't manage with right access (XWiki.XWikiRights object).
thxs
Pascal B
Hi,
after every reboot of our Windows Server when first connecting to XWiki in
the browser a page is shown with "Initializing (xx%)" which runs for
several seconds before finally the XWiki main page is shown.
Is there some way to automate this initialization after the machine
rebooted?
Setup: Windows Server 2003 R2, Tomcat 7, JDK 7, Apache 2.4, MySQL 5
Thanks in advance,
Dennis
Hello all,
I have no issue getting the value of a combo box control in HQL using "ComboBoxName.value = 'foobar'" but is there a way to get the selected index of the combobox in my query?
We have been using the Calc Macro Extension in xWiki 6.3 and it was working
well. When we upgraded to 6.4.1, the macro stopped working and now
displays: Failed to execute the [groovy] macro. Click on this message for
details.
Debugging the CalcGroovy script, it appears that when the script does a
.getParent() on the MacroBlock that is coming in, it is returning null.
Previously, it used to return the TableHeader block of the table containing
the Macro.
Is there something that needs to be changed in the CalcGroovy code to get it
to work with 6.4.1, or is this something that will need to be fixed in
6.4.2?
Thanks
Charlie
Hello all,
Is there a way to test the length of a string property using HQL? I want to use length as a criteria in my WHERE clause, but I can't seem to find an example anywhere of the syntax or if it's even possible.
Thanks in advance,
Jason
> to respond, the
> support you guys give is SUPER valuable to me and keeps me
> moving forward in most cases, so I really appreciate it.
+1
(Valentine's Day soon ? :-) )
(+1 too for hiding Save button question/answer for Xwiki app)
Pascal B
Hello all,
Is there a way to hide "Preview" and "Save and Continue" buttons in forms created using AppWithinMinutes?
I tried hiding them via CSS extension, using Display:None; but a specific button is a bit more difficult to get a CSS handle on since they aren't generated with an ID tag..
I suppose I could hide it using JavaScript, but I'm trying to avoid that if I can....
Thanks in advance
The XWiki development team is proud to announce the availability of XWiki
Enterprise 6.4.1.
This is a stabilization release that fixes important bugs discovered in the
previous 6.4 version, while also providing an integration of the new Tree
Widget with the Index Application and the WYSIWYG Editor.
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/ReleaseNotesXWiki641
Thanks
-The XWiki dev team
Hello,
Is it possible to force all user in Global user?
I (a friend Admin) use LDAP account and 3 subwiki.
If new LDAP user log in on a sub wiki (sub wiki URL), unfortunaly a local user is created.
Perhaps he must remove "subscribe" right for new user on sub wiki?
Thxs for your help (again :) )
Pascal B
--- En date de : Lun 9.2.15, Jeremie BOUSQUET <jeremie.bousquet(a)gmail.com> a écrit :
> De: Jeremie BOUSQUET <jeremie.bousquet(a)gmail.com>
> Objet: Re: [xwiki-users] Fw : Re: Fw : Re: Need doc about access object in a page (and use doc)
> À: "Pascal BASTIEN" <pbasnews-xwiki(a)yahoo.fr>, "XWiki Users" <users(a)xwiki.org>
> Date: Lundi 9 février 2015, 16h36
> Hi,
>
> 2015-02-09 15:37 GMT+01:00
> Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>:
> Thxs god! xwiki is a
> wonderfull world ... when we manage to do what we want (or
> we can understand javadoc) ... hum!
>
> Note that javadoc may not be the
> better entry point to understand the xwiki model, but you
> may find this page interesting ;)
> http://platform.xwiki.org/xwiki/bin/view/DevGuide/DataModel
Yes thxs you I knew this page :-)
About he doc I use frequently this one http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation end https://network.xwiki.com/xwiki/bin/view/DocXE542Fr/XWikiDocTable, but examples miss me.
I failed often to guess object type/collection, etc. in my loop or methods.
>
>
>
The XWiki development team is proud to announce the availability of XWiki
7.0 Milestone 1.
This is the first milestone release of the 7.x cycle. It features a
Document Index Tree Finder for the Index Application, integration of the
new Tree Widget with the WYSIWYG editor and some usability improvements.
Developers have a new Finder Plugin for the Tree Widget and the old Lucene
search module was finally retired to Contrib.
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/ReleaseNotesXWiki70M1
Thanks
-The XWiki dev team
Hi XWIKI Team,
Please, is there any way to make a search inside page sources.
I need to search for a word inside page sources in the Space "Main".
Even by a query on the database.
Thanks in advance.
Best Regards,
Walid YAICH
Thxs god! xwiki is a wonderfull world ... when we manage to do what we want (or we can understand javadoc) ... hum!
More seriously, thxs a lot for your help (I pulled my hair during all this week-end).
I wil probably add your nice code on this page: http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsin…
## get the document which has the object (only one here) - this is the page where I can see things in the object editor
#set( $MyDoc = $xwiki.getDocument("MySpace.MyNiceDoc"))
## get the document wich contains the class definition: this page has entries in the class editor
#set( $class = $xwiki.getClass("MySpace.MyClass"))
#foreach($prop in $class.properties) ## go through all properties
* ${prop.prettyName} : $MyDoc.display($prop.getName())
#end
and
#set($MyDoc = $xwiki.getDocument("MySpace.MyNiceDoc"))
#set($class = $xwiki.getClass("MySpace.MyClass"))
## loop over all objects
#foreach($obj in $MyDoc.getObjects("MySpace.MyClass"))
## empty line is intentionally to create a new paragraph
Object number $velocityCount
#set($discard = $MyDoc.use($obj))
#foreach($prop in $class.properties) ## go through all properties
* ${prop.prettyName} : $MyDoc.display($prop.getName())
#end
#end
Pascal B.
--- En date de : Lun 9.2.15, Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com> a écrit :
> De: Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com>
> Objet: Re: [xwiki-users] Fw : Re: Need doc about access object in a page (and use doc)
> À: users(a)xwiki.org
> Date: Lundi 9 février 2015, 14h53
> On 02/09/2015 02:12 PM,
> Pascal BASTIEN wrote:
> > This code
> (probably false) doesn't work.
> >
> #set( $Class =
> $xwiki.getClass("MySpace.MyClass"))
> > #foreach($prop in $class.properties) ## go
> through all properties
> > *
> ${prop.prettyName} : $doc.display($prop.getName())
> > #end
>
> It
> works for me if I do something like:
>
> {{velocity}}
> ## get the
> document which has the object (only one here) - this is the
> page where I can see things in the object editor
> #set( $adminDoc =
> $xwiki.getDocument("XWiki.Admin"))
> ## get the document wich contains the class
> definition: this page has entries in the class editor
> #set( $class =
> $xwiki.getClass("XWiki.XWikiUsers"))
> #foreach($prop in $class.properties) ## go
> through all properties
> * ${prop.prettyName}
> : $adminDoc.display($prop.getName())
> #end
> {{/velocity}}
>
> This code should work for you 1:1 unless you
> have deleted you "Admin" user. toapply for your
> ise case you will have to adapt the name of the class and of
> the document containing the objects
>
> Note that there is a difference between:
>
> - the document _defining_ the
> class - for users this is XWiki.XWikiUsers and you can see
> it at
> http://localhost:8080/xwiki/bin/view/XWiki/XWikiUsers
> and you can cnage it in the
> class editor:
> http://localhost:8080/xwiki/bin/edit/XWiki/XWikiUsers?editor=class
> but this document is in itself a
> user: the object eduitor is emprty:
>
> http://localhost:8080/xwiki/bin/edit/XWiki/XWikiUsers?editor=object
> (not completely empty, but does
> not contain XWiki.XWikiUsers objects)
>
> - the "admin" User document is not a
> class:
> http://localhost:8080/xwiki/bin/edit/XWiki/Admin?editor=class
> but has a Users oject
> attached:
> http://localhost:8080/xwiki/bin/edit/XWiki/Admin?editor=object
>
>
> Anyway, if
> you have more than one object on a page, you will have to
> loop over them and use "$doc.use".
>
> the following works for me
> (even though it is useless in this case, as is loops over
> all users on a page, while there should be only one ...)
>
> {{velocity}}
> #set($adminDoc =
> $xwiki.getDocument("XWiki.Admin"))
> #set($class =
> $xwiki.getClass("XWiki.XWikiUsers"))
> ## loop over all objects
> #foreach($obj in
> $adminDoc.getObjects("XWiki.XWikiUsers"))
> ## empty line is intentionally to create a
> new paragraph
>
> Object
> number $velocityCount
> #set($discard =
> $adminDoc.use($obj))
> #foreach($prop in
> $class.properties) ## go through all properties
> * ${prop.prettyName} :
> $adminDoc.display($prop.getName())
>
> #end
> #end
>
> {{/velocity}}
>
>
> hth,
>
> clemens
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
--- En date de : Lun 9.2.15, Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com> a écrit :
> De: Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com>
> Objet: Re: [xwiki-users] Need doc about access object in a page (and use doc)
> À: users(a)xwiki.org
> Date: Lundi 9 février 2015, 13h29
> On 02/09/2015 10:15 AM,
> Pascal BASTIEN wrote:
> > Hello,
> > I read/apply this doc with succcess:
> > http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsin…
> >
> > With this code I can
> display all objects ATTACHED to THIS page.
> > ***********
> >
> #set($class = $obj.xWikiClass) ## access the class object
> representing SomeSpace.SomeClass
> >
> #foreach($prop in $class.properties) ## go through all
> properties
> > ...
> >
> ***********
> > but if I attached some
> class to another page, how can I list properties?
>
> the $xwiki object has a method
> to access the class if you know the name
>
> #set( $someClass =
> $xwiki.getClass("SomeSpace.SomeClass"))
>
> http://maven.xwiki.org/site/docs/xwiki-javadoc-4.1.x/com/xpn/xwiki/api/XWik…
This code (probably false) doesn't work.
#set( $Class = $xwiki.getClass("MySpace.MyClass"))
#foreach($prop in $class.properties) ## go through all properties
* ${prop.prettyName} : $doc.display($prop.getName())
#end
>
> > Another question:
> > I have a page with 3 same Class, how to
> list them (like ?editor=class did)?
>
> you can get a list of of objects of a certain
> class via
> $doc.getObjects("SomeSpace.SomeClass")
>
> http://maven.xwiki.org/site/docs/xwiki-javadoc-4.1.x/com/xpn/xwiki/api/Docu…
$doc.getObjects("SomeSpace.SomeClass")
I failed to :-(
The thing I don't understand is, my values are stored in a doc with attached class. I need theses value from another doc but all method have Class name parameter ... Class name contain only field (properties) name?
(Hope I will understand how find answer in javadoc to avoid disturbed nice people of user list)
Thxs
>
> > An example:
> >
> MySpaceMyClass contain this Class properties:
> > - My Field ID (IdField: String)
> > - My Lib Field (LibField: String)
> > I create MySpace.MyNiceDoc and add my
> previous Class MySpace/MyNiceDoc?editor=object
> > and contain:
> > Objets
> de type MySpace.MyClass (2)
> > * MyClass
> 0
> > - My Field ID
> > - My Lib Field
> >
> *MyClass 1:
> > - My Field ID
> > - My Lib Field
> >
> > With it I like to fill a select list from
> this doc (but from another doc to).
> > How
> can I proceed? because on MySpace.MyNiceDoc I can only
> display one/First Lib values with this code:
> > {{velocity}}
> > ##
> Retrieve the first object (index [0]) among all objects
> attached to this page and of a certain class
> > #set($obj =
> $doc.getObject('MySpace.MyClass'))
> > #set($class = $obj.xWikiClass) ## access
> the class object representing SomeSpace.SomeClass
> > #foreach($prop in $class.properties) ## go
> through all properties
> > *
> ${prop.prettyName} : $doc.display($prop.getName())
> > #end
> > {{/velocity}}
> > I guess i need a loop but which one?
> >
> > And the big question
> (who I think it will interest everyone), how can I use
> documentation
> > ( http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation?xpage=embed
> and or http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/or…
> )
> > to guess xWikiClass (or my loop)
> by example?
> >
> > A
> doc/example to use documentation will be welcome. :-)
> >
> > thxs for any
> help.
> >
> > Pascal
> B
> >
> _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> mit freundlichen Grüßen
> Clemens Klein-Robbenhaar
>
> --
> Clemens Klein-Robbenhaar
> Software Development
> EsPresto
> AG
> Breite Str. 30-31
> 10178
> Berlin/Germany
> Tel: +49.(0)30.90 226.763
> Fax: +49.(0)30.90 226.760
> robbenhaar(a)espresto.com
>
> HRB 77554 B -
> Berlin-Charlottenburg
> Vorstand: Maya
> Biersack, Peter Biersack
> Vorsitzender des
> Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber
> Zertifiziert nach ISO 9001:2008
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
Hello,
I read/apply this doc with succcess:
http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsin…
With this code I can display all objects ATTACHED to THIS page.
***********
#set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass
#foreach($prop in $class.properties) ## go through all properties
...
***********
but if I attached some class to another page, how can I list properties?
Another question:
I have a page with 3 same Class, how to list them (like ?editor=class did)?
An example:
MySpaceMyClass contain this Class properties:
- My Field ID (IdField: String)
- My Lib Field (LibField: String)
I create MySpace.MyNiceDoc and add my previous Class MySpace/MyNiceDoc?editor=object
and contain:
Objets de type MySpace.MyClass (2)
* MyClass 0
- My Field ID
- My Lib Field
*MyClass 1:
- My Field ID
- My Lib Field
With it I like to fill a select list from this doc (but from another doc to).
How can I proceed? because on MySpace.MyNiceDoc I can only display one/First Lib values with this code:
{{velocity}}
## Retrieve the first object (index [0]) among all objects attached to this page and of a certain class
#set($obj = $doc.getObject('MySpace.MyClass'))
#set($class = $obj.xWikiClass) ## access the class object representing SomeSpace.SomeClass
#foreach($prop in $class.properties) ## go through all properties
* ${prop.prettyName} : $doc.display($prop.getName())
#end
{{/velocity}}
I guess i need a loop but which one?
And the big question (who I think it will interest everyone), how can I use documentation
( http://platform.xwiki.org/xwiki/bin/view/SRD/Navigation?xpage=embed and or http://nexus.xwiki.org/nexus/service/local/repositories/releases/archive/or… )
to guess xWikiClass (or my loop) by example?
A doc/example to use documentation will be welcome. :-)
thxs for any help.
Pascal B
Hello all,
I'm hoping someone can give me a suggestion to save my skin. When I was
brand new to xwiki I quickly created an application for "ticketing" using
AppWithinMinutes because it seemed like the easiest way for a newbie to
create an application. In doing so I created a form which had several
controls on it (e.g.. around 20 or so). In order to maintain business logic
I wrote EXTENSIVE JavaScript which enforces business rules and prevents a
save (basically cancelling the postback through JavaScript) if they aren't
met. Admittedly this isn't that great of a solution as now I'm having
problems with JavaScript failures (mostly with other libraries being loaded
with xwiki which prevents my JavaScript from running) which then allow the
pages to be saved despite validation failures.
What I'm hoping is that there is some way to "shim" some server side code in
using an event listener, or some sort of "before save" event in velocity or
groovy that can evaluate the submitted page and prevent a save if the
business logic rules are broken.
I don't really have the luxury of re-writing or refactoring the solution
I've written because it's in production at this point and works 95% of the
time, but I definitely need to do more in relation to validation since
broken rules cause downstream impacts to other applications relying on clean
data.
So, any help is GREATLY appreciated. I have seen this
http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with+valid
ation+and+tooltips and reviewed it, but I can't really figure out how I
would use it with an existing page or with AppWithinMinutes.
Also, I already have an event listener configured which does some stuff that
I might be able to use for this purpose.. but I think those events
(DocumentCreatedEvent() and DocumentUpdatedEvent()) happens AFTER the save
and I haven't really been able to find a way to "block" the save if it does
happen before anyway..
I would need to invoke validation on save and update of documents too.. I'm
hoping there might be some way of adding code to the AppWithinMinutes
generated page that can do some post save validation and stop the save if it
fails.
So help !!! :)
Hi,
when we import a PDF document (which can be opened in Libre Office
successfully) into XWiki we get the error message:
*500 Internal Server Error The call failed on the server; see server log
for details*
Looking at the Tomcat 7 server logs there are several entries, see below.
Out setups is the following:
Windows Server 2003 R2 (32-bit), Tomcat 7, JDK 7 u71, Apache 2.4, XWiki
6.3, Libre Office 4.3.4.1.
Is there something I need to configure or is this a bug?
Log entries:
[1] localhost.2015-02-05.log
Feb 06, 2015 9:27:37 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public
abstract java.lang.String
org.xwiki.gwt.wysiwyg.client.plugin.importer.ImportService.officeToXHTML(org.xwiki.gwt.wysiwyg.client.wiki.Attachment,java.util.Map)'
threw an unexpected exception: java.lang.RuntimeException: Error while
converting document [SMART Migration Installation.pdf] into html.
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:389)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:579)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:545)
at
org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet.processCall(XWikiRemoteServiceServlet.java:52)
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:305)
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:197)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Error while converting document
[SMART Migration Installation.pdf] into html.
at
org.xwiki.wysiwyg.server.internal.plugin.importer.XWikiImportService.officeToXHTML(XWikiImportService.java:137)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
... 37 more
[2] tomcat7-stdout.2015-01-17.log
2015-02-06 09:27:37,149 [
http://de-ben-wiki/xwiki/resources/js/xwiki/wysiwyg/xwe/ImportService.gwtrpc]
ERROR x.w.s.i.p.i.XWikiImportService - Exception while importing office
document [SMART Migration Installation.pdf]
org.xwiki.officeimporter.OfficeImporterException: Error while converting
document [SMART Migration Installation.pdf] into html.
at
org.xwiki.officeimporter.internal.builder.DefaultXHTMLOfficeDocumentBuilder.build(DefaultXHTMLOfficeDocumentBuilder.java:97)
~[xwiki-platform-legacy-office-importer-6.3.jar:na]
at
org.xwiki.officeimporter.internal.builder.DefaultXDOMOfficeDocumentBuilder.build(DefaultXDOMOfficeDocumentBuilder.java:84)
~[xwiki-platform-legacy-office-importer-6.3.jar:na]
at
org.xwiki.wysiwyg.server.internal.plugin.importer.XWikiImportService.convertAttachmentContent(XWikiImportService.java:184)
~[xwiki-platform-wysiwyg-server-6.3.jar:na]
at
org.xwiki.wysiwyg.server.internal.plugin.importer.XWikiImportService.importAttachment(XWikiImportService.java:161)
~[xwiki-platform-wysiwyg-server-6.3.jar:na]
at
org.xwiki.wysiwyg.server.internal.plugin.importer.XWikiImportService.officeToXHTML(XWikiImportService.java:133)
~[xwiki-platform-wysiwyg-server-6.3.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
~[na:1.7.0_71]
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
~[na:1.7.0_71]
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
~[na:1.7.0_71]
at java.lang.reflect.Method.invoke(Method.java:606) ~[na:1.7.0_71]
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:561)
[gwt-servlet-2.6.0.jar:na]
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:545)
[gwt-servlet-2.6.0.jar:na]
at
org.xwiki.wysiwyg.server.XWikiRemoteServiceServlet.processCall(XWikiRemoteServiceServlet.java:52)
[xwiki-platform-wysiwyg-server-6.3.jar:na]
at
com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:305)
[gwt-servlet-2.6.0.jar:na]
at
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
[gwt-servlet-2.6.0.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:647)
[servlet-api.jar:na]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
[servlet-api.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]
at
org.xwiki.wysiwyg.server.filter.XWikiContextInitializationFilter.doFilter(XWikiContextInitializationFilter.java:85)
[xwiki-platform-wysiwyg-server-6.3.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]
at
org.xwiki.container.servlet.filters.internal.SetHTTPHeaderFilter.doFilter(SetHTTPHeaderFilter.java:63)
[xwiki-platform-container-servlet-6.3.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
[xwiki-platform-webdav-server-6.3.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
[xwiki-platform-container-servlet-6.3.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
[xwiki-platform-container-servlet-6.3.jar:na]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
[catalina.jar:7.0.42]
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
[catalina.jar:7.0.42]
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
[catalina.jar:7.0.42]
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
[catalina.jar:7.0.42]
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
[catalina.jar:7.0.42]
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
[catalina.jar:7.0.42]
at org.apache.coyote.ajp.AjpAprProcessor.process(AjpAprProcessor.java:197)
[tomcat-coyote.jar:7.0.42]
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
[tomcat-coyote.jar:7.0.42]
at
org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852)
[tomcat-coyote.jar:7.0.42]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
[na:1.7.0_71]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
[na:1.7.0_71]
at java.lang.Thread.run(Thread.java:745) [na:1.7.0_71]
Caused by: org.xwiki.officeimporter.converter.OfficeConverterException:
Error while performing conversion.
at
org.xwiki.officeimporter.internal.converter.DefaultOfficeConverter.convert(DefaultOfficeConverter.java:116)
~[xwiki-platform-legacy-office-importer-6.3.jar:na]
at
org.xwiki.officeimporter.internal.builder.DefaultXHTMLOfficeDocumentBuilder.build(DefaultXHTMLOfficeDocumentBuilder.java:94)
~[xwiki-platform-legacy-office-importer-6.3.jar:na]
... 46 common frames omitted
Caused by: org.artofsolving.jodconverter.office.OfficeException:
unsupported conversion
at
org.artofsolving.jodconverter.AbstractConversionTask.storeDocument(AbstractConversionTask.java:121)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.AbstractConversionTask.execute(AbstractConversionTask.java:61)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.office.ExternalOfficeManager.execute(ExternalOfficeManager.java:80)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:78)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.artofsolving.jodconverter.OfficeDocumentConverter.convert(OfficeDocumentConverter.java:69)
~[jodconverter-core-3.0-beta-4-xwiki-20110822.jar:na]
at
org.xwiki.officeimporter.internal.converter.DefaultOfficeConverter.convert(DefaultOfficeConverter.java:100)
~[xwiki-platform-legacy-office-importer-6.3.jar:na]
... 47 common frames omitted
Hi,
I've set up a blog for a single space using the "blog inside an existing
space" option, so the blog URL is ".../xwiki/bin/view/MySpace/Blog"
As per the documentation, I added the following line to the HTTP Meta Info
section in the space's admin options:
<link rel="alternate" type="application/rss+xml" title="Blog RSS Feed"
href="$xwiki.getURL('Blog.BlogRss', 'view', 'xpage=plain')" />
Now how do I generate an RSS feed for only the space blog?
When I try ".../xwiki/bin/view/MySpace/Blog/BlogRss?xpage=plain" I get an
unformatted HTML page.
What am I doing wrong?
Thanks,
J
--
View this message in context: http://xwiki.475771.n2.nabble.com/RSS-feeds-for-Space-specific-blogs-tp7593…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi !
I recently installed xWiki.
Everything goes fine except when i want to add a gadget in my dashboard.
I got this message. (Be sure that ived try a lot of thing to fix it)
404 Not Found <html><head><title>Apache Tomcat/7.0.42 - Error report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color :
black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 -
/resources/js/xwiki/wysiwyg/xwe/MacroService.gwtrpc</h1><HR size="1"
noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
<u>/resources/js/xwiki/wysiwyg/xwe/MacroService.gwtrpc</u></p><p><b>description</b> <u>The requested
resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache
Tomcat/7.0.42</h3></body></html>
If i remove html tag
404 Not Found Apache Tomcat/7.0.42 - Error report
HTTP Status 404 - /resources/js/xwiki/wysiwyg/xwe/MacroService.gwtrpc
type Status report
message /resources/js/xwiki/wysiwyg/xwe/MacroService.gwtrpc
description
The requested resource is not available.
i red about something like the path of ressources of "gwtrpc" in web.xml but i'm not sure what to
do.
someone have a idea ?
thx a lot
Jean-François Boily
Technicien Informatique
Téléphone : 418 683-1591
( tel:4186831591) , poste 2134
Télécopieur : 418 682-8938
( tel:4186828938)
Sans frais : 1 800 208-1463
( tel:18002081463)
I would like to customize the solr schema.xml and solrconfig.xml used
for our instance of xwiki (enterprise 6.1) to provide some additional
fields and to customize (and enforce) search behaviors.
My first attempt at modifying xwiki's data/solr/xwiki/conf/*.xml seemed
successful at first, but after xwiki restarts the solr index appeared
flawed in some way (all search gave zero results) even after full index
rebuilds.
I see clues in xwiki.properties that custom solr config dirs and even
external solr instances are supported, but have not found any specific
documentation. I'm not certain the above implies that solr configuration
customization is supported. Is it possible and, if so, is there any
general guidance on utilizing custom schemas or external solrs?
Thanks,
Mike
> >
> > Then i think, I found the solution to get
> prefix in a sheet:
> >
> >
> #set ($DocClass= 'MySpace.MydocClass')
> > #set($class =
> $doc.getObject(${DocClass}).xWikiClass)
> >
> ##Boucle sur toutes les properties de la classe DocClass
> > #foreach($prop in $class.properties)
>
> > *
> ${escapetool.xml($class.name)}_${class.number}_$prop.Name
>
> The XML escaping is needed
> above because the class name is used inside
> HTML. In your case you seem to have only wiki
> syntax (unless you have
> a {{html
> wiki="true"}} somewhere).
Yes I don't need escapetool.xml even I use {{html wiki="true"}} because I know my docClass name (without space and special characters)
And the $class
> doesn't have any
> number. As I said in my
MyClass use only one XWiki.ClassSheetBinding object: MySpace.MySheet.
/bin/edit/MySpace/MyClass?editor=object indicate "ClassSheetBinding 0: MySheet sheet docclass object"
I suppose ClassSheetBinding 0 indicate my _0_?
_0_ in the id of input field in my form is not
#set ($object = $doc.getObject('MySpace.MyClass'))
$object.number ?
It is the only way I found in #macro(displayObject $obj $class $props $firstField) of skins/flamingo/editobject.vm
> first reply and as Clemens has emphasized the
> object has the number, because you can have
> multiple objects of the
> same type/class on
> the same wiki page.
Thxs
>
> >
> #end
> >
> > Notice: sorry
> about miss formating mail, I think it is yahoo webmail
> fault?
> >
> > Pascal
> B.
> >
> >
> --------------------------------------------
> > En date de : Mar 3.2.15, Clemens
> Klein-Robbenhaar <c.robbenhaar(a)espresto.com>
> a écrit :
> >
> >
> Objet: Re: [xwiki-users] Howto getprefix in a Sheet?
> > À: users(a)xwiki.org
> > Date: Mardi 3 février 2015, 10h38
> >
> >
> > The
> > number is not
> the number of the property in the class, but
> > the number of the object on the page.
> > I.e.
> > you can have
> one, two, or manye objects of the same type
> > MySpace.MyClass on the same page.
> >
> > A Macro where you
> can see how the ID gets
> > rendered is
> in templates/editobject.vm and/or
> >
> webapps/xwiki/skins/flamingo/editobject.vm
> > see the #macro displayObject
> >
> >
> > On 02/03/2015
> >
> 10:12 AM, Pascal BASTIEN wrote:
> > >
> ThxsI
> > verified and it seem it is
> always _0_ for each properties
> >
> (even for multiple properties of same type)ie If I have 2
> > properties with 'date' type in
> MySpace.MyClass
> > (date_entry and
> birthday), $doc.display($prop.getName() will
> > generate this form
> > > <input
> >
> id="MySpace.MyClass_0_date_entry" xxxx<input
> >
> id="MySpace.MyClass_0_birthday" xx
> > > But If I have a 'database
> list'
> > with checkbox property
> "BirthdayYear" in
> >
> MySpace.MyClass, $doc.display($prop.getName() will
> generate
> > this form (with 2 similar
> hidden input field ! Maybe a bug?)
> >
> :<label class="xwiki-form-listclass"
> >
> for="xwiki-form-A_Expert-0-0"><input
> >
> id="xwiki-form-A_Expert-0-0"
> > type="checkbox"
> value="1980"
> >
> name="MySpace.MyClass_0_BirthdayYear">1980</label><label
> >
> class="xwiki-form-listclass"
> >
> for="xwiki-form-BirthdayYear-0-1"><input
> >
> id="xwiki-form-A_Expert-0-1"
> > type="checkbox"
> value="1981"
> >
> name="MySpace.MyClass_0_BirthdayYear">1981</label>...
> > > <label
> >
> class="xwiki-form-listclass"
> >
> for="xwiki-form-BirthdayYear-0-n"><input
> >
> id="xwiki-form-A_Expert-0-n"
> > type="checkbox"
> value="20nn"
> >
> name="MySpace.MyClass_0_BirthdayYear">
> > 20nn</label><input
> type="hidden"
> >
> value=""
> >
> name="MySpace.MyClass_0_BirthdayYear"><input
> > type="hidden"
> value=""
> >
> name="MySpace.MyClass_0_BirthdayYear"> I
> > didn't find what is generate this
> _0_ (macro or java
> > stuf)
> > > ThxsPascal B
> >
> >
> >
> > >
> De : Marius Dumitru
> >
> Florea <mariusdumitru.florea(a)xwiki.com>
> > > À : Pascal BASTIEN <pbasnews-xwiki(a)yahoo.fr>;
> > XWiki Users <users(a)xwiki.org>
> >
> > > Envoyé le :
> Mardi 3 février 2015
> > 8h16
> > > Objet : Re: [xwiki-users]
> Howto
> > getprefix in a Sheet?
> > >
> > > ...
> > >> If any have
> > an (or many) idea how I can obtain this
> prefix in my
> > Sheet
> > >
> > >> (If
> not
> > I can concanet
> MySpace.docClass_0_$prop.Name but I'm not
> > sure about _0_)
> >
> >
> > >
> >
> I'm afraid you have to compute the prefix yourself. 0
> > represents the
> >
> > object number. So
> >
> MySpace.MyClass_4_age refers to the 'age'
> > property
> > > of
> the MySpace.MyClass object
> > with
> number 4 (normally the fifth object
> >
> > of that type from the target document).
> > >
> > > Hope
> this helps,
> > > Marius
> > >
> > >
> > >
> > >>
> > >> Thxs
> >
> >> Pascal B
> > >>
> >
> _______________________________________________
> > >> users mailing list
> > >> users(a)xwiki.org
> > >> http://lists.xwiki.org/mailman/listinfo/users
> > >
> > >
> > >
> >
> _______________________________________________
> > > users mailing list
> > > users(a)xwiki.org
> > > http://lists.xwiki.org/mailman/listinfo/users
> > >
> >
> >
> >
> > mit freundlichen Grüßen
> > Clemens Klein-Robbenhaar
> >
> > --
> > Clemens Klein-Robbenhaar
> > Software Development
> > EsPresto
> > AG
> > Breite Str. 30-31
> >
> 10178
> > Berlin/Germany
> > Tel: +49.(0)30.90 226.763
> > Fax: +49.(0)30.90 226.760
> > robbenhaar(a)espresto.com
> >
> > HRB 77554 B -
> > Berlin-Charlottenburg
> > Vorstand: Maya
> >
> Biersack, Peter Biersack
> > Vorsitzender
> des
> > Aufsichtsrats:
> Dipl.-Wirtsch.-Ing. Winfried Weber
> >
> Zertifiziert nach ISO 9001:2008
> >
> _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
> >
> _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
Hello,I have a docClass with some properties and use a linked Sheet to display my data.On this thread http://xwiki.475771.n2.nabble.com/Help-with-custom-display-td508630.htmlI saw we can get this value in "custom display" field of docClass properties.- $name = the name of the displayed field
- $prefix = a prefix for the form field
- $object = the displayed object
- $type = the intended display mode (view, edit, hidden, search...)
- $value = the property value
I try to have same value from mydocSheet (in particulary prefix the id of the field in edit form)
There Velocity code in my docSheet:
#set($class = $doc.getObject('MySpace.docClass').xWikiClass)
#foreach($prop in $class.properties)
* "$prop.Name" * $prop.?????? How to obtain the prefix ??? * $object (it doesn't matter) * $xcontext.action * $doc.getValue($prop.Name)
$prop.prettyName $doc.display($prop.getName())
#end
#break
If any have an (or many) idea how I can obtain this prefix in my Sheet
(If not I can concanet MySpace.docClass_0_$prop.Name but I'm not sure about _0_)
Thxs
Pascal B
How can I create spaces and pages from a component in Java?
I've just tried with this code but doesn't work..
XWikiContext context = getXWikiContext();
XWiki wiki = context.getWiki();
DocumentReference doc = new DocumentReference("Home","MySpace","MyPage");
try {
wiki.getDocument(doc, context);
return 0;
} catch (XWikiException e) {
e.printStackTrace();
return 1;
}
--
View this message in context: http://xwiki.475771.n2.nabble.com/Create-spaces-and-pages-from-a-component-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
I'd like to create a new panel and place it in the sidebar of every wiki in
my wiki farm. Is there a way to automatically make panels that I create for
the main wiki available to subwikis, or do I have to manually copy them
over?
Thanks,
Jamal
--
View this message in context: http://xwiki.475771.n2.nabble.com/Creating-a-panel-for-all-wikis-tp7593806.…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello xWikiers,
I’ve just registered to the mailing list and I’m pleased to introduce you the site http://apice.unibo.it,
developed by the APICe Research Group, which belong to The Department of Information Engineering and Computer Science (DISI)
of University of bologna, Italy.
The site is up since 2007, starting from xwiki 1.1.
Since then it has been migrated step by step and is now powered by xwiki 2.1.2.
It’s my aim to migrate to latest version, but I’m stuck in the middle of the process,
because of a problem during migration to 2.2.6 with the rendering of the comments, attachments, history and Information
Here's what happens:
http://apice.unibo.it/xwiki/bin/download/Sandbox/WebHome/bug226.jpg
As can be seen, I use a cloned test site to simulate every upgrade task;
I’ve injected some debug code in the docextra.vm template (as in attachmentsinline.vm)
To solve the bug, I’m focusing on docextra.vm template: the $doc and the $tdoc variables are “undefined”
when the *inline.vm template are called inside the javascrit,
with document.observe or Event.observe that run XWiki.displayDocExtra("${extraAnchor}", "${extraTemplate}", false);
for instance ${extraAnchor} = “attachments”, ${extraTemplate} = “attachmentsinline.vm”
From the log it’s clear that this is the problem ($tdoc variable is “undefined”) because I find in the log:
https://test.apice.unibo.it/xwiki/bin/view/Publications/undefined?xpage=xpa…
instead the correct url should be, for example:
https://test.apice.unibo.it/xwiki/bin/view/Publications/BioSac2012?xpage=xp…
that actually works!
I do not can understand why The $doc and the $tdoc variable is “undefined” at runtime…
Any suggestion?
Thank you very much
Nazzareno Pompei
PS: I’m experiencing a problem with import page too, is it entangled?
http://apice.unibo.it/xwiki/bin/download/Sandbox/WebHome/importBug.png
--------------------------------------------------------------------------------------------+
Ing. Nazzareno Pompei
DISI - Dipartimento di Informatica: Scienze ed Ingegneria
e-mail :nazzareno.pompei@unibo.it
Tel. : +39 0547339205 Fax. : +39 0547339208
Il presente messaggio ed i suoi allegati devono intendersi
di tipo confidenziale ad uso esclusivo dei suoi destinatari.
Il mittente declina ogni responsabilità in caso di intercettazione o modifica.
In caso di ricezione per errore del messaggio, si prega di cancellarlo,
di distruggerne ogni copia e di darne opportuno avviso al mittente.
--------------------------------------------------------------------------------------------+
Hello all,
I migrated Xwiki to 6.3 to 6.4 but I have this issue : http://jira.xwiki.org/browse/XE-1463 <http://jira.xwiki.org/browse/XE-1463>
I try to delete data/solr but I deleted the wrong dir and I destroy the dir containing “org.xwiki.search.solr.internal.EmbeddedSolrInstance”.
Obviously… When I start XWiki, I have this error :p
2015-02-02 17:56:39,567 [main] ERROR o.x.s.s.i.SolrInstanceProvider -
org.xwiki.component.manager.ComponentLookupException: Failed to lookup component [org.xwiki.search.solr.internal.EmbeddedSolrInstance] identified by [role = [interface org.xwiki.search.solr.internal.api.SolrInstance] hint = [embedded]]
How do in order to desactived solr and reinstall this with extension manager? Or another solution?
Thanks!
Marc
Hi,
I’m trying to build a docker container (https://registry.hub.docker.com/u/njouanin/xwiki/ <https://registry.hub.docker.com/u/njouanin/xwiki/>) for xwiki and being able to link it to a database container.
So, I’ve created a dockerfile which install xwiki .deb package on debian image. Because I just need tomcat + wiki installation i’m installing xwiki-enterprise-tomcat-common package.
The problem is that apt-get tries to install mysql server. I guess there’s a dependency between xwiki-enterprise-tomcat-common package and mysql, which is not needed here :
# apt-get install xwiki-enterprise-tomcat-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
dbconfig-common fonts-dejavu fonts-dejavu-extra libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysql-java libmysqlclient18 libterm-readkey-perl mysql-client-5.5
mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 psmisc ttf-dejavu ttf-dejavu-core ttf-dejavu-extra xwiki-enterprise-common xwiki-enterprise-mysql-common
xwiki-enterprise-tomcat7-mysql
Suggested packages:
virtual-mysql-client mysql-client postgresql-client libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl libipc-sharedcache-perl libslf4j-java mailx tinyca
The following NEW packages will be installed:
dbconfig-common fonts-dejavu fonts-dejavu-extra libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysql-java libmysqlclient18 libterm-readkey-perl mysql-client-5.5
mysql-common mysql-server mysql-server-5.5 mysql-server-core-5.5 psmisc ttf-dejavu ttf-dejavu-core ttf-dejavu-extra xwiki-enterprise-common xwiki-enterprise-mysql-common
xwiki-enterprise-tomcat-common xwiki-enterprise-tomcat7-mysql
Nicolas.
Is there a "right" way to make a LiveTable refresh?
I have a page that includes a LiveTable to show the results of a query on an external database, and a form triggers an AJAX call to modify the database (e.g., insert a new row). I'd like the AJAX call to include an action within OnSuccess to make the LiveTable refresh to show these modifications.
http://xwiki.475771.n2.nabble.com/Proposal-Hightlight-applied-filters-in-li…
and
http://jira.xwiki.org/browse/XWIKI-5100
appear to discuss something of this kind, but I couldn't find any instructions. The closest thing was a line in livetable.js
https://github.com/xwiki/xwiki-platform/blob/4f92c9fc4dc9d4bb7b42a54f3e289f…
where it looks like a refresh is triggered on event "xwiki:livetable:mylivetable:filtersChanged". I have tried calling
document.fire('xwiki:livetable:mylivetable:filtersChanged');
from within a javascript function, but this did not appear to make the "mylivetable" LiveTable update. Could anyone direct me further?
Thanks,
Bryn
Hello everyone!
I have a problem with frames on my xwiki (http://dafedin.myxwiki.org) . Look screenshot in attachment. I have updated wiki but it's dont helps. Help me!
with respect? Dmytro
С уважением,
Дмитрий Федин
dafedin(a)mail.ru
Hi All,
i have a working groovy script which is:
I use a class and add an object to a document. Everytime a object is
attached i look for it with the query and do something with the objects. the
strange thing is that i try to port it to a service to java. where i get in
groovy an title of the document it is NOT given in java.
The java code of the service
I didn't get it. Did i do something wrong? i never get a title of the
document. I can read the document, the object of the document, but i did not
get the title. I tried also to get translated documents because i use locals
de and en. But even there i get the title back.
You know why?
Regards,
Matthias
--
View this message in context: http://xwiki.475771.n2.nabble.com/Empty-Document-Title-tp7593748.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello,
I just wanted to check in on my request for a wiki "growinghome" on the
community farm. I submitted my request 8 days ago on the 20th. When can I
expect this process to be complete? I haven't heard one way or the other
if the request was granted.
Thanks very much.
-Kyndel
On Wed, Jan 28, 2015 at 4:00 AM, <users-request(a)xwiki.org> wrote:
> Send users mailing list submissions to
> users(a)xwiki.org
>
> 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
> users-request(a)xwiki.org
>
> You can reach the person managing the list at
> users-owner(a)xwiki.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of users digest..."
>
>
> Today's Topics:
>
> 1. Re: Refreshing a LiveTable (Clemens Klein-Robbenhaar)
> 2. Re: Manage rights for author (Guillaume Lerouge)
> 3. Re: Error: The Context Component Manager should only be used
> for read access. (Bryn Jeffries)
> 4. Re: Error: The Context Component Manager should only be used
> for read access. (=?utf-8?Q?vincent=40massol.net?=)
> 5. some issues upgrading to 6.4
> (Ricardo.Julio.Rodriguez.Fernandez(a)sergas.es)
> 6. Re: some issues upgrading to 6.4 (Thomas Mortagne)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 27 Jan 2015 13:54:18 +0100
> From: Clemens Klein-Robbenhaar <c.robbenhaar(a)espresto.com>
> To: users(a)xwiki.org
> Subject: Re: [xwiki-users] Refreshing a LiveTable
> Message-ID: <54C78A7A.10106(a)espresto.com>
> Content-Type: text/plain; charset=windows-1252
>
> On 01/27/2015 02:52 AM, Bryn Jeffries wrote:
> > Is there a "right" way to make a LiveTable refresh?
> >
>
> I do not know of a "right way", but one that currently works is to fetch
> the livetable by its name, and refetch the current rows via some not-so
> obvious code,
> like:
>
> var livetable = window['livetable_'+ id_of_livetable_here ] ;
> var end = livetable.limit;
> var start = Math.max(livetable.lastOffset, 1);
> livetable.clearCache();
> livetable.getRows(start, end, start, end);
>
>
> That works in some little extension I wrote:
>
>
> https://github.com/xwiki-contrib/application-reviewpages/blob/master/applic…
>
> I think I even "borrowed" it from some other xwiki-contrib code, but
> cannot remember from where.
> Certainly this is not "using any API" and it is expected to break without
> notice in any new XWiki version, but for now it does the job (for me at
> least).
>
> Sure there is a better way, to do this, (or at least it should ;)) but I
> do not know about it.
>
> > I have a page that includes a LiveTable to show the results of a query
> on an external database, and a form triggers an AJAX call to modify the
> database (e.g., insert a new row). I'd like the AJAX call to include an
> action within OnSuccess to make the LiveTable refresh to show these
> modifications.
> >
> >
> http://xwiki.475771.n2.nabble.com/Proposal-Hightlight-applied-filters-in-li…
> > and
> > http://jira.xwiki.org/browse/XWIKI-5100
> > appear to discuss something of this kind, but I couldn't find any
> instructions. The closest thing was a line in livetable.js
> >
> https://github.com/xwiki/xwiki-platform/blob/4f92c9fc4dc9d4bb7b42a54f3e289f…
> > where it looks like a refresh is triggered on event
> "xwiki:livetable:mylivetable:filtersChanged". I have tried calling
> > document.fire('xwiki:livetable:mylivetable:filtersChanged');
> > from within a javascript function, but this did not appear to make the
> "mylivetable" LiveTable update. Could anyone direct me further?
> >
> > Thanks,
> >
> > Bryn
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
> >
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 27 Jan 2015 18:37:55 +0100
> From: Guillaume Lerouge <guillaume(a)xwiki.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Manage rights for author
> Message-ID:
> <CALC6keWLgRX-uiWdBfqEEd-ByXoC_o1VhWsrK=
> dd8v1ARbp9pg(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Hi Marc,
>
> by default, the creator of a page has edit rights on that page. If that
> users switches to "advanced mode" on their user profile, then go back to
> their page, they will be able to see an "Access rights" option in the
> "Edit" button.
>
> Thanks,
>
> Guillaume
>
> On Tue, Jan 27, 2015 at 9:31 AM, Marc AUDEFROY <audefroy.marc(a)gmail.com>
> wrote:
>
> > Hi all!
> >
> > How could an author manage the rights on the pages he created? How put
> > this default behavior?
> >
> > Thanks!
> >
> > Marc
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 27 Jan 2015 18:33:51 +0000
> From: Bryn Jeffries <bryn.jeffries(a)sydney.edu.au>
> To: "vincent(a)massol.net" <vincent(a)massol.net>, XWiki Users
> <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Error: The Context Component Manager should
> only be used for read access.
> Message-ID: <7DAF466372B27747B8EA808BE5651FA57AD73440@ex-mbx-pro-01>
> Content-Type: text/plain; charset="Windows-1252"
>
> Vincent said:
> >> Using Utils.getRootComponentManager() worked for me, so many thanks.
> >> Even using a deprecated method lets me progress with the task.
> >
> > The recommended way is the one I?ve now documented at
> >
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module#HAcce…
>
> Thanks very much. Using services.component.getComponentManager(null) worked
> fine. FWIW I see that the the related problem I observed on your website
> http://platform.xwiki.org/xwiki/bin/view/SRD/ was down to
> Utils.getComponentManager() being called from
> AppWithinMinutes.DynamicMessageTool, which has since been updated in XWiki
> 6.3. It might be worth backporting a fix so that we can access the
> mentioned page.
>
> Again, many thanks for the prompt help and responses.
>
> Bryn
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 28 Jan 2015 09:11:50 +0100
> From: "=?utf-8?Q?vincent=40massol.net?=" <vincent(a)massol.net>
> To: Bryn Jeffries <bryn.jeffries(a)sydney.edu.au>, XWiki Users
> <users(a)xwiki.org>
> Subject: Re: [xwiki-users] Error: The Context Component Manager should
> only be used for read access.
> Message-ID: <etPan.54c899c6.440badfc.14071(a)vmassol.local>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Bryn,
>
> On 27 Jan 2015 at 19:34:14, Bryn Jeffries (bryn.jeffries(a)sydney.edu.au
> (mailto:bryn.jeffries@sydney.edu.au)) wrote:
>
> > Vincent said:
> > >> Using Utils.getRootComponentManager() worked for me, so many thanks.
> > >> Even using a deprecated method lets me progress with the task.
> > >
> > > The recommended way is the one I?ve now documented at
> > >
> http://extensions.xwiki.org/xwiki/bin/view/Extension/Component+Module#HAcce…
> >
> > Thanks very much. Using services.component.getComponentManager(null)
> worked
> > fine. FWIW I see that the the related problem I observed on your website
> > http://platform.xwiki.org/xwiki/bin/view/SRD/ was down to
> > Utils.getComponentManager() being called from
> > AppWithinMinutes.DynamicMessageTool, which has since been updated in
> XWiki
> > 6.3. It might be worth backporting a fix so that we can access the
> > mentioned page.
>
> Fixed, thanks
> -Vincent
>
> > Again, many thanks for the prompt help and responses.
> >
> > Bryn
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 28 Jan 2015 11:11:41 +0000
> From: <Ricardo.Julio.Rodriguez.Fernandez(a)sergas.es>
> To: <users(a)xwiki.org>
> Subject: [xwiki-users] some issues upgrading to 6.4
> Message-ID:
> <DC9A560C773D69488F5B7B26AC06497943729140(a)ASSCC760S.sergas.local>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Good morning!
>
> I've just updated a 6.3 installation to 6.4 and it seems to me that
> something went wrong... I think I followed the same steps I successfully
> did in previous upgrades of the 6.x series, but this time it doesn't work.
> The process is outlined in the first comment of this page...
>
> http://atriumkm.idisantiago.es/bin/ICT/XWikiUpgrade
>
> This time, the last line was not true...
>
> "The upgrade of the interface will be launched once an administrator log
> in."
>
> Nothing happened once I've restarted the server. Thus, I've tried to
> import the 6.4 xar file. After a number of "bad gateway errors", I managed
> to import all new files selecting only some pages in a series of import
> actions. Then, change default Admin password, remove login right to Guest
> and config again All and Admin groups.
>
> Almost all seems OK now, but there are at least a couple of issues here...
>
> 1) The installation keeps telling that it is a 6.3 release. This means
> that $xwiki.getVersion() is not aware of the update, or that the update has
> not succeed! You can check it here...
>
> http://portal.idisantiago.es
> http://portal.idisantiago.es/xwiki/bin/view/ICT/GetVersion
>
> 2) All top level links at
> http://portal.idisantiago.es/xwiki/bin/admin/XWiki/XWikiPreferences
> (Configuration, Email, Look & Feel, ), led to this error...
>
>
> http://portal.idisantiago.es/xwiki/bin/download/ICT/Error/UpgradeTo6.4.Rele…
>
> Please, could you help me with this issues?
>
> 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
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 28 Jan 2015 12:34:52 +0100
> From: Thomas Mortagne <thomas.mortagne(a)xwiki.com>
> To: XWiki Users <users(a)xwiki.org>
> Subject: Re: [xwiki-users] some issues upgrading to 6.4
> Message-ID:
> <
> CAPnKnLFc9igssu_Bet-YyW4-rtqBxuRTkOaBVbwgZKYtMdwLWA(a)mail.gmail.com>
> Content-Type: text/plain; charset=UTF-8
>
> Did you removed solr index as suggested in the release note at
> http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki64 ?
>
> ""
> In this release, we're now providing an easy way to install SOLR as an
> external server. When doing this change, we moved a plugin inside the
> SOLR index directory. Thus, if you're using XWiki with SOLR in
> embedded mode (the default), when you upgrade, this plugin will not be
> present in your SOLR directory and XWiki will fail to start. To work
> around this problem, you'll need to remove the <permanent
> directory>/solr/ directory (which will trigger a new reindexing when
> you next start XWiki). This will be fixed in XWiki 6.4.1.
> ""
>
> On Wed, Jan 28, 2015 at 12:11 PM,
> <Ricardo.Julio.Rodriguez.Fernandez(a)sergas.es> wrote:
> > Good morning!
> >
> > I've just updated a 6.3 installation to 6.4 and it seems to me that
> something went wrong... I think I followed the same steps I successfully
> did in previous upgrades of the 6.x series, but this time it doesn't work.
> The process is outlined in the first comment of this page...
> >
> > http://atriumkm.idisantiago.es/bin/ICT/XWikiUpgrade
> >
> > This time, the last line was not true...
> >
> > "The upgrade of the interface will be launched once an administrator log
> in."
> >
> > Nothing happened once I've restarted the server. Thus, I've tried to
> import the 6.4 xar file. After a number of "bad gateway errors", I managed
> to import all new files selecting only some pages in a series of import
> actions. Then, change default Admin password, remove login right to Guest
> and config again All and Admin groups.
> >
> > Almost all seems OK now, but there are at least a couple of issues
> here...
> >
> > 1) The installation keeps telling that it is a 6.3 release. This means
> that $xwiki.getVersion() is not aware of the update, or that the update has
> not succeed! You can check it here...
> >
> > http://portal.idisantiago.es
> > http://portal.idisantiago.es/xwiki/bin/view/ICT/GetVersion
> >
> > 2) All top level links at
> http://portal.idisantiago.es/xwiki/bin/admin/XWiki/XWikiPreferences
> (Configuration, Email, Look & Feel, ), led to this error...
> >
> >
> http://portal.idisantiago.es/xwiki/bin/download/ICT/Error/UpgradeTo6.4.Rele…
> >
> > Please, could you help me with this issues?
> >
> > 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
> > _______________________________________________
> > users mailing list
> > users(a)xwiki.org
> > http://lists.xwiki.org/mailman/listinfo/users
>
>
>
> --
> Thomas Mortagne
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
> http://lists.xwiki.org/mailman/listinfo/users
>
>
> ------------------------------
>
> End of users Digest, Vol 90, Issue 36
> *************************************
>
Hello, XWikiers!
Sorry for offtopic, but I feel my message will reach correct
audience :-D
As a member of Latvian Open Technology Association (LATA) I'm pleased to
invite you to the conference "Open Europe: Open Data for Open Society"
which will take place 18th-19th of February, 2015, Riga & Jelgava.
More info about program and registration:
http://lata.org.lv/conference-2015/
Please note, that the conference is free of charge and for few
participants from each unique (European) country there is a possibility
to apply for the coverage of travel and/or accommodation costs, if
necessary (you can note this in registration form or contact at
lata(a)lata.org.lv).
Sincerely,
Valdis Vitolins
Good morning!
I've just updated a 6.3 installation to 6.4 and it seems to me that something went wrong... I think I followed the same steps I successfully did in previous upgrades of the 6.x series, but this time it doesn't work. The process is outlined in the first comment of this page...
http://atriumkm.idisantiago.es/bin/ICT/XWikiUpgrade
This time, the last line was not true...
"The upgrade of the interface will be launched once an administrator log in."
Nothing happened once I've restarted the server. Thus, I've tried to import the 6.4 xar file. After a number of "bad gateway errors", I managed to import all new files selecting only some pages in a series of import actions. Then, change default Admin password, remove login right to Guest and config again All and Admin groups.
Almost all seems OK now, but there are at least a couple of issues here...
1) The installation keeps telling that it is a 6.3 release. This means that $xwiki.getVersion() is not aware of the update, or that the update has not succeed! You can check it here...
http://portal.idisantiago.eshttp://portal.idisantiago.es/xwiki/bin/view/ICT/GetVersion
2) All top level links at http://portal.idisantiago.es/xwiki/bin/admin/XWiki/XWikiPreferences (Configuration, Email, Look & Feel, ), led to this error...
http://portal.idisantiago.es/xwiki/bin/download/ICT/Error/UpgradeTo6.4.Rele…
Please, could you help me with this issues?
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 tried to follow the example code given in:
http://extensions.xwiki.org/xwiki/bin/view/Extension/Create+a+component+usi…
Saving and Viewing a page with the code without changes, I got a Groovy macro error with the following exception in the stack trace:
java.lang.RuntimeException: The Context Component Manager should only be used for read access. Write operations should be done against specific Component Managers.
Could anyone explain what this means, and why this error now appears? I'm using 6.3. I notice that the same error also currently shows up at http://platform.xwiki.org/xwiki/bin/view/SRD/ running 6.2.2
Thanks,
Bryn
The XWiki development team is proud to announce the availability of XWiki
6.2.5.
This version is mostly a stabilization release which fix many bugs we have
discovered since XWiki 6.2.4. But it also brings some improvements on the
screen-width-responsiveness of the livetable in Flamingo.
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/ReleaseNotesXWiki625
Thanks
-The XWiki dev team
Hi all!
My collaborators ask me if XWiki give the possibility to view wiki as user or group (like Facebook). I think this feature don’t exist. Could you confirm that?
Thank you
Marc Audefroy
On 15 Jan 2015 at 11:17:11, ICLED (c.ledermann@interact-consulting.com(mailto:c.ledermann@interact-consulting.com)) wrote:
> Hi Vincent, thanks to point me to this entry in the extensions.
> BTW I made a search with "list macros" and drew a blank, "all macros" and
> "list all" would have given me my answer!
I added this snippet after you asked, to help you, that’s why you drew a blank before ;)
> I played around with your snipet, I found most of the attibutes I want, but
> I don't know how to get the source document full name (wiki:space.doc) or a
> reference to the document's object.
A macro is some java code so the notion of source document doesn’t exist in the macro descriptor.
When you create a wiki macro we generate java code (using Dynamic Proxies).
However, you can simply look for documents containing MacroClass xobjects. This is what this page does in your wiki:
http://<server>/xwiki/bin/view/XWiki/WikiMacros
> I also want to know thw scope of the macro; global, local to the wiki or the
> user.
You can also get that from the XWiki.WikiMacroClass class.
At the java level, the visibility corresponds to the ComponentManager in which the macro component is registered but this cannot be retrieved from the Macro Descriptor.
Hope it helps,
-Vincent
> Any way to get the source document full name (wiki:space.doc) or (better) a
> reference to the document's object?
>
> The rationale behind this, is that I must migrate a XWIKI from 5.2.1 to
> current, and the WIKI is in a very poor condition, so there is a lot of
> cleaning&repair work to do.
>
> {{groovy}}
> import org.xwiki.rendering.macro.Macro
>
> println "| Name | Id | Description | DefaultCategory | Priority | InlineMode
> |"
>
> services.component.componentManager.getInstanceList(Macro.class).each() {
> def descriptor = it.descriptor
> println "| ${descriptor.name} | ${descriptor.getId()} |
> ${descriptor.description} | ${descriptor.getDefaultCategory()} |
> ${it.getPriority()} | ${it.supportsInlineMode()} |"
> }
> {{/groovy}}
>
Hello all,
I've changed the columns that are rendered in my space index by adding a "columns" attribute as described by the article here http://extensions.xwiki.org/xwiki/bin/view/Extension/Documents+Macro and the column I added does show up as expected (doc.creator), but the header column for my added columns label is "platform.index.doc.creator" I'd like to change it to "Creator" but nothing I do seems to work..any help is greatly appreciated.
The XWiki development team is proud to announce the availability of XWiki 6.4.
The 6.4 release is the last major release of the 6.x development Cycle and as such was mainly dedicated to improvements and bugfixes on things introduced during 6.X.
This version introduces some developer oriented improvements: allow wiki based skins to overwrite macro.vm template, allow filesystem skins indicating explicitly the skin they are inheriting from, allow any component to be injected with its ComponentDescriptor, Panels and UI extensions are now executed with the right of their author so among other things they can use APIs requiring Programming rights.
It also brings UI improvements in the Menu application, a new Mail application (and Mail-related improvements, such as the ability to send massive number of emails) and lots of Flamingo skin improvements (Mobile-friendliness to mention one), while offering developers the ability to write LESS in Skin Extensions, and a cool icon picker.
Last but not least, this version provides the ability to rate Extensions inside the Extension Repository and visualise them inside the Extension Manager.
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/ReleaseNotesXWiki64
Thanks
-The XWiki dev team
Description: Growing Home is a forming intentional community. For
more information visit http://www.ic.org/directory/growing-home/
We need a wiki to organize all information during our formation process!
Owner Name: Kyndel Love
Wiki Name: growinghome
If you could do this ASAP we would appreciate it greatly because we
already have a great need for organization. Thank you very much xWiki
community!
In PHP it is acceptable for forms to have arrays. For example, from http://php.net/manual/en/faq.html.php#faq.html.arrays the following form could be submitted:
<form action="" method="post">
<input name="MyArray[]" value=1 />
<input name="MyArray[]" value=2 />
<input name="MyArray[]" value=3 />
<input name="MyArray[]" value=4 />
<input type="Submit" />
</form>
And in PHP the submitted inputs would be available as an array at $_POST['MyArray']
Out of curiosity, does XWiki have any similar support for form arrays? I tried a simple example, for which the returned result was a single value ("1"). Does this mean XWiki ignores multiple request parameters of the same name, or is there another way?
{{groovy}}
def values = request.get('MyArray[]')
println "${values.getClass()}"
println "${values}"
{{/groovy}}
{{html}}
<form action="" method="post">
<input name="MyArray[]" value=1 />
<input name="MyArray[]" value=2 />
<input name="MyArray[]" value=3 />
<input name="MyArray[]" value=4 />
<input type="Submit" />
</form>
{{/html}}
Hi Xwiki users
I am testing the Xwiki product for my company
And I will need to check few things :
1. Give view only permissions to all team members
2. Give edit permissions to specific wiki to all team members
3. Give edit permissions for specific users to all wikis
4. Check the best option to integrate with active directory
So users will be able to login with the AD accounts
I am not sure how to integrate ad permissions and xwiki permissions
Please send me example file with the proper ad intergration to xwiki
Thanks in advance
Israel
I am very interested about putting my own xwiki but I've been messing
with it and some problems came out.
At first i thought it would be good to make subwiki's for "Programming",
"Linux", "Mathematics". I could make template wiki and derive extensions
and settings from it but how can I install additional extension to all
of wiki's then?
I have also modified my "Preview" page when I made my first article.
I've clicked preview, saw typo, and clicked edit.. After some struggle
with editing this article I've modified this preview page unwittingly.
After some modifications I removed all previous revisions. What can I do
in such cases besides reinstalling everything? I would like to solve
such problems by myself in the future so if it's possible, please, give
me workflow, not a single solution.
I want also to have navigation for entire wiki with subwikis like:
#Programming
-> Language Scala
-> Design patterns
#Linux
-> Settings
-> Tools
#Mathematics
-> Linear algebra
-> Calculus
where ("#" -> wiki), ("->" -> space)
I think I could make "Navbar" panel in global wiki and add
"xwiki:Panels.Navbar" to all subwiki's.
But now the work needed to add it everywhere is overwhelming. Is it
possible to do it in config file?
I do not like cms such as drupal for the problems with configuration by
clicking. I could spend days to make everything ticking in my way. From
the other way it's good for giving power to the users.
Best wishes,
for community and developers
xwiki seems to be professional and awesome.
We want to use this wiki for a non-profit organisation, a fab lab located
in Quebec City (see www.espace-lab.org). A fab lab is a place where
everyone can meet and build objects in common.
This wiki will be used for exchanging ideas and synchronise our projects
and activities, it will also be used for the machine/tooling reservation.
The owner name is espacelab or my name if not possible (Benoit Debaque).
wiki name: espacelab.myxwiki.org
Thank you for your support !
--
Benoit Debaque
www.espace-lab.org
On 19 Jan 2015 at 09:15:32, Thanh Hong Dai (hdthanh@tma.com.vn(mailto:hdthanh@tma.com.vn)) wrote:
>
> Hi,
>
>
>
>
>
> Sorry, but I can’t see how it would help in my use case.
>
>
>
>
>
> My code currently generates a list of links and the title of the page:
>
>
>
>
>
> * [[name >> fullname]]
>
>
>
>
>
> Adding the {{{…}}} outside the link syntax [[…]] doesn’t make sense, and placing it inside breaks everything (it doesn’t pass any of my hard test cases).
It will work in the label but not in the reference obviously…
Thanks
-Vincent
PS: Please use the list
> From: Vincent Massol [mailto:vmassol@gmail.com] On Behalf Of vincent(a)massol.net
> Sent: Monday, 19 January, 2015 2:23 PM
> To: Thanh Hong Dai; XWiki Users
> Subject: Re: [xwiki-users] Is there an escape tool to escape text in XWiki syntax?
>
>
>
>
>
>
>
> Hi,
>
>
>
>
>
>
>
> If you want to make sure to output verbatim text (ie not interpreted) you can use the {{{…}}} syntax when using XWiki Syntax 2.0+
>
>
>
>
>
>
>
> See http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HVerbatim
>
>
>
>
>
>
>
> However this may not be enough for your needs. We’re currently lacking an escape tool for wiki syntax AFAIK and I remember seeing a JIRA issue about this (can’t find it right now). I agree that we should push for this since it’s becoming something more and more asked for.
>
>
>
>
>
>
>
> Thanks
>
>
>
> -Vincent
>
>
>
>
>
> On 19 Jan 2015 at 08:15:16, Thanh Hong Dai (hdthanh@tma.com.vn(mailto:hdthanh@tma.com.vn))(mailto:hdthanh@tma.com.vn(mailto:hdthanh@tma.com.vn))) wrote:
>
> > Currently, I'm using something like this to generate a list of pages whose
> > prefix is "Prefix:" and link to them:
> >
> >
> >
> > {velocity}} (((
> >
> > #foreach ($row in $services.query.hql("select doc.name, doc.fullName from
> > XWikiDocument doc where doc.space.hidden = false and doc.space not in
> > ('XWiki', 'Sandbox', 'Main', 'Macros') and doc.name like
> > 'Prefix:%'").execute())
> >
> > * **[[$row[0].replaceFirst("Prefix: *", "").replaceAll("~",
> > "~~~~").replaceAll("[\x20-\x7f&&[^a-zA-Z0-9 ~]]",
> > "~~$0")>>doc:$row[1].replaceAll("~", "~~").replaceAll("[\x5b\x5d|]", "\\$0
> >(file://///$0%0b%3e%20) ")]]**
> >
> > #end
> >
> > ))) {{/velocity}}
> >
> >
> >
> > I have tested with some heavy test cases like
> >
> >
> >
> > Prefix:
> > ~~~!!!```@@@$$$%%%^^^&&&***((()))___----+++==={{{}}}[[[]]]\\\|||:::;;;'''"""
> > ???///...>>>,,,<<<
> >
> >
> >
> > And what I have above works correctly (both showing the title and linking to
> > the document). I only work on a few hard test cases, though, so I'm not sure
> > if I missed anything.
> >
> >
> >
> > Is there a method that does all this automatically? Or is there a better
> > approach to this?
> >
>
>
>
>
>
>
I'd like to be able to generate pure JSON from a wiki page, to use in other pages via AJAX. To that end I created a page with the following content:
{{velocity wiki="false"}}
$response.setContentType('application/json')
{
"greeting" : "Hello",
"location": "World"
}
{{/velocity}}
Calling this via /xwiki/bin/get/Sandbox/JsonTest I get the following code (as reported by FireBug):
<p><br/>{<br/>"greeting" : "Hello",<br/>"location": "World"<br/>}</p>
I get the same via /xwiki/bin/view/AlertDB/JsonTest?xpage=plain (as suggested in http://jira.xwiki.org/browse/XWIKI-3413). Is there a way to produce pure JSON by a velocity script by some variation of my approach?
Hello,
To make it work I add this new property in XWiki.XWikiUsers class:
/bin/edit/XWiki/XWikiUsers?editor=class
Name: doc.creationDate Type: String
PrettyName: Creation date
Custom Display:
{{velocity}}
{{html}}<i>$value</i>{{/html}}
{{/velocity}}
The problem is that "Custom display" is not taking into account and not rendering.
I know HTML is not interpreted but I want to remove time of "Creation date" field but "Custom Display" is apparently not used on a database field.
Here a screenshot on what I want: http://snag.gy/bWnu9.jpg
Do you have an idea how I must do it?
Is it normal than "Custom Display" is not used?
Thxs for any help
Pascal BASTIEN
The XWiki development team is proud to announce the availability of
XWiki 6.4 Release Candidate 1.
This release brings many improvements to the Mail Application and its
API, including support for mail throttling. A new 'Wikis' category is
available in the administration that groups together sections with
wiki-related configuration options. Other smaller improvements (23)
and a few bug fixes (15) complete this release. Would be great if you
can give it a try and report whatever issues you may find so that we
can fix them before the 6.4 final release.
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/ReleaseNotesXWiki64RC1
Thanks
-The XWiki dev team
Je serai absent(e) à partir du 15/01/2015 de retour le 19/01/2015.
je suis en congés.
Je répondrai à vos messages dès mon retour.
En cas de problème technique, veuillez contacter SYNOX au 05 67 34 66 56.
Merci
Hi.
I have googled this a bit but have found no clear instructions either way.
I have XWiki 6.2.3 installed from the graphical Windows native installer.
Is the upgrade procedure just to grab the latest version of the EXE and run
it?
--
Regards/Mvh
Daniel Lundh
Hi,
I use XWiki 6.3 on ubuntu 14.04 LTS using Tomcat 7 and MySQL (XWiki .deb version).
I want to know how to log some specific stuff like user creation or registration, pages modification, login/logout, forbidden acces to a page...
I understand that i can do it with the administration interface of the wiki or by editing the logback.xml file. But i can't find any information on which "Logger" i have to configure to log specific events.
For example, i found that if i set the "com.xpn.xwiki.user.impl.xwiki.MyFormAuthenticator" to INFO level, i can see failed and successful login in the catalina.out file. But for other specific action i don't know!
I tried some logger but with no result for what i want to log.
Thanks for help.
Hello,
I want to know if there are a wiki syntax to add an hyperlink to your own user profile in wiki syntax (without velocity/grovy tags).With velocity it is:{{velocity}}
Here your own profile : [[$context.user]]
{{/velocity}}
Thxs.
Pascal B
Does it work if you change...
{{context document="wiki1:Main.WebHome"}}#if
($hasEdit){{/context}}[[Wiki1>>wiki1:Main.WebHome]]#end
..to:
{{context document="wiki1:Main.WebHome"}}#if
($hasEdit)[[Wiki1>>wiki1:Main.WebHome]]#end{{/context}}
--
View this message in context: http://xwiki.475771.n2.nabble.com/Context-Macro-Broken-tp7593647p7593648.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.