Re: [xwiki-users] Hide Harder-Bar on Login-Screen

2016-04-20 Thread Matthias Wegner
Haha, that's it. Thank you. Regards, Matthias Am 18.04.2016 um 10:31 schrieb Marius Dumitru Florea [via XWiki]: > On Sat, Apr 16, 2016 at 9:46 PM, Matthias Wegner <[hidden email] > > > wrote: > > > Hi Users, > > > > i want to hide the heade

Re: [xwiki-users] Parameter in different contexts

2016-04-16 Thread Matthias Wegner
Perfect, thanks. Regards, M. Am 15.04.2016 um 19:10 schrieb Vincent Massol: On 15 Apr 2016, at 18:58, Matthias Wegner <mic.mat.weg...@web.de> wrote: Hi Vincent, sorry i was not specific. Here an example: I want to make a page like: MAIN.Overall {{velocity}} #set($SUPERCOUNTER=0) #se

[xwiki-users] Hide Harder-Bar on Login-Screen

2016-04-16 Thread Matthias Wegner
Hi Users, i want to hide the header bar on the login screen and marked for that ###template("startpage.vm") out in login.vm. Then i restart the server. But nothing changed. I cleared the browser cache but this is not the problem. Is this not the right place? Regards, Matthias -- View this

Re: [xwiki-users] Parameter in different contexts

2016-04-15 Thread Matthias Wegner
OUNTER is always not defined. So i need something which can store a value independed from a document and can be written and is readable. You understod now? Regards, Matthias Am 14.04.2016 um 19:18 schrieb Vincent Massol: Hi Matthias, On 14 Apr 2016, at 19:05, Matthias Wegner <mic.mat.weg...@we

[xwiki-users] Parameter in different contexts

2016-04-14 Thread Matthias Wegner
Hi All, i want to count over different document a $counter in velocity. Do you have an easy way that i can store and read that value so i can use it on all documents (with different context)? Is there a macro for such a job? I not found anything. Regards, Matthias -- View this message in

[xwiki-users] Problem in Extension

2016-04-08 Thread Matthias Wegner
Hi Users, i programmed two years ago the Citation-Extension at https://github.com/matthiaw/xwiki-rendering-macro-citations. Now i found a bug in XWiki 8.x when i add on different pages the CitationClass-Object. There is a null-pointer-exception at Line 79, see

[xwiki-users] Edit Multiple Pages

2016-03-28 Thread Matthias Wegner
Hi, is it somehow possible to get a nice editing function to multiple pages when a want to load a lot of pages at once? At the moment i use {{include document="Space.Name" context="new"/}} but i thought if there is a possiblity to edit all included documents via

[xwiki-users] GREAT Nested Feature

2016-03-28 Thread Matthias Wegner
Hi Folks, i really like the nested feature. I am writting a book and tried different approaches. From my point of view i like the software Scrivener (https://www.literatureandlatte.com/), but this has the problem that the versioning and multiuser-editing is not possible. Also i used

Re: [xwiki-users] Set Parent in XWiki 8.0

2016-03-27 Thread Matthias Wegner
Hi All, i tested and tried and found a solution which gives my needed result. Now i get the nested content of a space in nice order and with correct headings. Looks a bit ugly, but works: {{velocity}} #macro(display $idoc) #set($depth = $idoc.getSpace().toString().length() -

Re: [xwiki-users] Set Parent in XWiki 8.0

2016-03-25 Thread Matthias Wegner
model). It shows all documents, even the nested ones. How can i query recursively starting with the parent document "Book.WebHome"? Regards, Matthias Am 25.03.2016 um 14:17 schrieb vmassol [via XWiki]: > Hi Matthias, > i used a query like > > On 25 Mar 2016, at 13:21,

[xwiki-users] Set Parent in XWiki 8.0

2016-03-25 Thread Matthias Wegner
Hi Users, i added over 500 Pages to the new XWiki and now want to sort it in depth. But i cant find the "Change Parent" Symbol in Edit-Mode. Where can i change the Parent of a Page? Regards, Matthias -- View this message in context:

Re: [xwiki-users] XAR-Import

2016-03-21 Thread Matthias Wegner
iki.org so that we could reproduce it. On Mon, Mar 21, 2016 at 3:30 PM, Matthias Wegner <mic.mat.weg...@web.de> wrote: IT teils Nothing. The right Circle Moves and it seems that it can not read. It shows no files. Regards, Matthias Von unterwegs gesendet Am 21.03.2016 um 11:51 schrieb

Re: [xwiki-users] XAR-Import

2016-03-21 Thread Matthias Wegner
ind > documents in the XAR ? > >> On Sun, Mar 20, 2016 at 9:58 PM, Matthias Wegner <mic.mat.weg...@web.de> >> wrote: >> Hi Users, >> >> i made a custom xar-file because i want to import some content into XWiki >> 8.0. But it seems to stuck. i can u

[xwiki-users] XAR-Import

2016-03-20 Thread Matthias Wegner
Hi Users, i made a custom xar-file because i want to import some content into XWiki 8.0. But it seems to stuck. i can upload the file but it is never imported. The request.log show only 127.0.0.1 - - [20/Mrz/2016:20:51:39 +] "POST /xwiki/bin/upload/XWiki/XWikiPreferences HTTP/1.1" 302 -

[xwiki-users] HQL-Query on custom object with user-list

2016-02-13 Thread Matthias Wegner
Hi Users, i try to create a hql-query which gives me all documents which contain a custom object and and a defined property. As properties i have in the object a multiselect user-list. Now i want to get all documents in which a specific user is selected in the object. How can i write the hql? I

[xwiki-users] A custom Map as class parameter

2015-11-04 Thread Matthias Wegner
Hi All, actually i use a multi-select user-list as parameter on a class for all objects-instances. Now in need to add a value to any selected user which is in the list in the object. You have any idea how i can solve that in a good way? Example: Class: Skill Object 1: Skill A User-Selection

Re: [xwiki-users] Javascript XObjects

2015-03-02 Thread Matthias Wegner
Hi All, i found the Javascript-Code https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-web/src/main/webapp/resources/uicomponents/suggest/suggest.js from the Suggest-Widget at https://network.xwiki.com/xwiki/bin/view/DocXE61En/SuggestWidget. In the code i used

[xwiki-users] Live Sandbox

2015-02-23 Thread Matthias Wegner
Hello, you know if there is a live-preview in xwiki? Something similar to http://extensions.polarion.com/extensions/198-wiki-preview-on-the-fly for polarion (which uses as a sidecar-eclipse-plugin an old xwiki-core. This Sources are open when you download a trial ;)). Would be great. Regards,

[xwiki-users] Javascript XObjects

2015-02-22 Thread Matthias Wegner
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

[xwiki-users] Javascript RESTful

2015-02-21 Thread Matthias Wegner
Hello, i like the REST-API and have a library in Java which works perfect. Now i want to use the RESTful API in Javascript. But i am new to javascript and tried a lot, but nothing seems to work. Is there a simple example in javascript with the rest-api? I don't get what i am doing wrong, because

Re: [xwiki-users] Empty Document Title

2015-01-29 Thread Matthias Wegner
Ha, ha. I found a solution. I didn't understood why doc.getTitle() is not working under Java, but works in Velocity or Groovy-Script. But in Java i found that doc.getRenderedTitle(Syntax.PLAIN_1_0, context) is working. Regards, Matthias Am 27.01.2015 um 10:39 schrieb Matthias Wegner: Dear

Re: [xwiki-users] Empty Document Title

2015-01-28 Thread Matthias Wegner
Hi Jeremie, if i edit the page i always see a title. That's strange, right? Regards, Matthias Am 27.01.2015 um 11:23 schrieb jerem [via XWiki]: Hi, 2015-01-27 10:39 GMT+01:00 Matthias Wegner [hidden email] /user/SendEmail.jtp?type=nodenode=7593775i=0: Dear Jeremie, sorry

Re: [xwiki-users] Empty Document Title

2015-01-27 Thread Matthias Wegner
/xwiki/bin/view/Extension/Query+Module Hope this helps, Jeremie 2015-01-23 17:39 GMT+01:00 Matthias Wegner [hidden email] /user/SendEmail.jtp?type=nodenode=7593758i=0: Hi All, i have a working groovy script which is: I use a class and add an object to a document. Everytime a object

[xwiki-users] Empty Document Title

2015-01-23 Thread Matthias Wegner
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

[xwiki-users] Add Content my html form

2015-01-08 Thread Matthias Wegner
Hi, i want to add some content to a page by a form. I want a grownig buttet list below. Is there a other way than over the XDOM? Regards, Matthias -- View this message in context: http://xwiki.475771.n2.nabble.com/Add-Content-my-html-form-tp7593609.html Sent from the XWiki- Users mailing

[xwiki-users] Run Macro inside velocity

2015-01-08 Thread Matthias Wegner
Hi All, i just uploaded a new extension to http://extensions.xwiki.org/xwiki/bin/view/Extension/TaskMacro. I want to enable in inside Can i do that? Regards, Matthias -- View this message in context: http://xwiki.475771.n2.nabble.com/Run-Macro-inside-velocity-tp7593608.html Sent from the

[xwiki-users] Show hidden spaces

2015-01-04 Thread Matthias Wegner
Hi All, first of all. A happy new year to everybody. I hide some spaces with the extension http://extensions.xwiki.org/xwiki/bin/view/Extension/Hide+a+space because my user should not see my macro-space or some other admin-stuff. But i want to display for myself a simple page where i can list

[xwiki-users] [AppWithinMinutes] Add Entry by Link from another Page

2014-12-29 Thread Matthias Wegner
Hi, i need to make the addition of 168 objects to a AppWithinMinutes. I can do it programmatically, because the user should do it in a simple way. Is there an url which i can use or did someone a workaround for it? When not the only way i can think of is to create a new document with a embedded

[xwiki-users] Changing Metdata of Attachment

2014-12-13 Thread Matthias Wegner
Hi, i want to create a custom excel-file. For that i want to use a uploaded template and the give it some values. I write that to the attachment storage and want to hcange the metainfo. The file creation with the template works fine, but the metatdata-change is not shown in xwiki. How can i do

[xwiki-users] Eclipse + Jetty + Maven

2014-10-16 Thread Matthias Wegner
Hello, i want to easily push a button and deploy an own extension from eclipse to a jetty-based xwiki. Do you know an example? I not found something on the web. At the moment i create the jar with maven from eclipse, copy the jar manually and start the xwiki-server with the start script. Is

[xwiki-users] Unkown Macro

2014-08-09 Thread Matthias Wegner
Hi Users, i coded a own macro and removed it later on. I removed the macro-tag from every page i use but in the search in the upper part of the page the error message unkown macro: macroname occurs. Did you know what i have to do to remove the ugly messages? Regards, Mathias -- View this

[xwiki-users] Code-minimization in RESTful Client

2014-06-01 Thread Matthias Wegner
Hi XWiki-Fans, i am starting a REST-Client for XWiki and want to code a small Client. I uploaded the main-class to http://www.file-upload.net/download-8990392/RestfulClient.java.html http://www.file-upload.net/download-8990392/RestfulClient.java.html . Since yesterday i have a working GET and

Re: [xwiki-users] Example RESTful API

2014-05-30 Thread Matthias Wegner
Hello All, i asked at StackOverflow and get a helpful answer, so i want to share it, see http://stackoverflow.com/questions/23936870/how-to-unmarshal-a-schema-based-request-result-correctly-i-e-xwiki/23938933#23938933 Regards, Matthias -- View this message in context:

Re: [xwiki-users] Example RESTful API

2014-05-28 Thread Matthias Wegner
Hi i isolated my problem to the code with the example xml test.xml http://xwiki.475771.n2.nabble.com/file/n7590747/test.xml The error is I am new to REST and have no idea what's wrong. The loaded xml from REST seems correct, the classes from the schema seem ok. You have any idea? --

[xwiki-users] Edit many Object Values in one page/table

2014-03-26 Thread Matthias Wegner
Hi Devs, i want to set a table where i can edit many objects from an AppWithinAMinute. I want to edit the values directly in the table and save them, so it the changing of values is faster (less clicks) possible. Did anyone of you something similar before? Regards, Matthias -- View this

[xwiki-users] Get UserList from BaseObject

2014-02-18 Thread Matthias Wegner
Hi Devs, i use a custom class (from App within a Minute) which has a list of users as a class field. For a StringField i use How can i read the Users from the BaseObject? Regards, Matthias -- View this message in context:

Re: [xwiki-users] Error saving document with text in object

2014-02-14 Thread Matthias Wegner
Perfect. That's it. I created the object with AbstractMandatoryDocumentInitializer and first set a TextField (String). I changed it to TextAreaField, but the Attribut was not reset. I deleted the attrib manually from the class and after a new server-start everything works fine. Regards, Matthias

[xwiki-users] Error saving document with text in object

2014-02-13 Thread Matthias Wegner
Hi All, i use a Changelistener on a Document to update an object. Now i added a larger text to the object an get the exception data exception: string data, right truncation; table: XWIKISTRINGS column: XWS_VALUE. First i replaced the german ü,ö,ä,ß, but they are not the reason as you can see.

Re: [xwiki-users] Include a page with a specific and/or default locale

2014-02-13 Thread Matthias Wegner
Hi Vincent, that helps. I get now what i want but use groovy with I just wrote it to document the solution. Regards, Matthias -- View this message in context: http://xwiki.475771.n2.nabble.com/Include-a-page-with-a-specific-and-or-default-locale-tp7588954p7589118.html Sent from the XWiki-

Re: [xwiki-users] Include a page with a specific and/or default locale

2014-02-04 Thread Matthias Wegner
Hi Vincent, that's right. In my mind i thought to use a html form to select the prefered locale which creates than the content in the selected language. With content i mean x pages with the locale de and en. When i select en in the creator-page (even if it is in de), the i want to get english

[xwiki-users] Include a page with a specific and/or default locale

2014-02-03 Thread Matthias Wegner
Hi All, i have some pages in Locale de and en. I want to use another page with the include macro to load a set of defined pages in one language (or with a default language, when the other is not set). Is that possible? You know a similar solution if the include macro could not be used? Regards,

Re: [xwiki-users] Upgrade from 5.1 to 5.3 (Portable Version)

2014-02-02 Thread Matthias Wegner
Hi All, everything works fine now and the upgrade is done. Just to document this: 1. Unzip v5.3 and copy v5.1-Data-Directory to it 2. Copy needed or customized files from to v5.1 to v5.3, i.e. xwiki.cfg, apis, templates, resources, ... 3. Optional: Remove if necessary unwanted plugins 4. Delete

[xwiki-users] Upgrade from 5.1 to 5.3 (Portable Version)

2014-02-01 Thread Matthias Wegner
Hello, i use a portable version v5.1 with jetty. With http://extensions.xwiki.org/xwiki/bin/view/Extension/Filesystem+Attachment+Porter i exported all the attachments and change to filesystem. Now i want to upgrade to v5.3. I tried to install 5.3 and overwrite the data-dir and the xwiki.cfg.

Re: [xwiki-users] Upgrade from 5.1 to 5.3 (Portable Version)

2014-02-01 Thread Matthias Wegner
Hi Caleb, sure. Please see https://ezcrypt.it/QT7n#6xOV4Iswn3t6jof2kUPrIFjz If i ust the v5.3 xwiki.cfg and only set the attachment-lines to ...=file then the GooglePluginException not occurs. The others are similar if i copy the complete v5.1 xwiki.cfg to v5.3. As said i copied the complete

Re: [xwiki-users] Upgrade from 5.1 to 5.3 (Portable Version)

2014-02-01 Thread Matthias Wegner
Ok, now the Exception is this: https://ezcrypt.it/RT7n#m2QC9d3AHQZNVz9w8Jv4ucNR Regards, Matthias -- View this message in context: http://xwiki.475771.n2.nabble.com/Upgrade-from-5-1-to-5-3-Portable-Version-tp7588918p7588922.html Sent from the XWiki- Users mailing list archive at Nabble.com.