[xwiki-users] macro content body
Hi, I'm writing a macro as described on 'Writing XWiki Rendering Macros in wiki pages' I've create a object of class WikiMacroClass I fail to understand what is meant by the two attributes: Macro Content Type; No Content, Optional or Mandatory and Content Description. This is what's in the manual: • Macro content type: Whether this macro should support a body or not • Content description: A short description about the macro's content to be displayed on the WYSIWYG editor What is a body, can somebody give a example? Maybe good to extend the manual also with such a example? thxs Gerritjan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] macro content body
On Mon, Jan 7, 2013 at 10:05 AM, Gerritjan Koekkoek gerritjankoekk...@gmail.com wrote: Hi, I'm writing a macro as described on 'Writing XWiki Rendering Macros in wiki pages' I've create a object of class WikiMacroClass I fail to understand what is meant by the two attributes: Macro Content Type; No Content, Optional or Mandatory and Content Description. This is what's in the manual: • Macro content type: Whether this macro should support a body or not • Content description: A short description about the macro's content to be displayed on the WYSIWYG editor What is a body, can somebody give a example? Maybe good to extend the manual also with such a example? The content/body is what you have in the macro. without macro content: {{macro/}} with macro content: {{macro}}some body{{/body}} thxs Gerritjan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] macro content body
Hi, Op 7 jan. 2013, om 10:17 heeft Thomas Mortagne thomas.morta...@xwiki.com het volgende geschreven: On Mon, Jan 7, 2013 at 10:05 AM, Gerritjan Koekkoek gerritjankoekk...@gmail.com wrote: Hi, I'm writing a macro as described on 'Writing XWiki Rendering Macros in wiki pages' I've create a object of class WikiMacroClass I fail to understand what is meant by the two attributes: Macro Content Type; No Content, Optional or Mandatory and Content Description. This is what's in the manual: • Macro content type: Whether this macro should support a body or not • Content description: A short description about the macro's content to be displayed on the WYSIWYG editor What is a body, can somebody give a example? Maybe good to extend the manual also with such a example? The content/body is what you have in the macro. without macro content: {{macro/}} with macro content: {{macro}}some body{{/body}} Thanks, Is it like the {{Box}} macro? It the wysywig it looks like a parameter called Content, but when you read the wiki code it is specified as: {{box cssClass=someClass image=someimage title=someTitle width=50%}} This is the content {{/box}} So for that macro the params are: cssClass, image, title and width. content type is optional and content description would be: whatever the box contains? thxs Gerritjan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] WYSIWYG Editor - Menubar Settings in Administration Page hidden
Hi, i have tried to add new plugins to the WYSIWYG Editor, so ein added font, color, justify and style. Because I wanted to see how it looks like i have added the 4 new plugins to the Menubar and the Toolbar. But after restarting xwiki, there are no new plugins in the wysiwyg editor visible and the edit fields in the menubar of the wysiwyg-editor administration page are hidden. Here is screenshot: http://imageshack.us/photo/my-images/525/menubarxwiki.png/ I have already removed the 4 new plugins from the loaded plugin and toolbar list - but how can i make the edit fields of the menubar visible again? Perhaps I must edit the database directly? My System is a Tomcat6 AS with an mysql dbms on a linux machine. -- View this message in context: http://xwiki.475771.n2.nabble.com/WYSIWYG-Editor-Menubar-Settings-in-Administration-Page-hidden-tp7583136.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WYSIWYG Editor - Menubar Settings in Administration Page hidden
P.S. XWiki Version is 4.3.1 -- View this message in context: http://xwiki.475771.n2.nabble.com/WYSIWYG-Editor-Menubar-Settings-in-Administration-Page-hidden-tp7583136p7583137.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [myxwiki] new wiki request
Hi, The history tab is displayed by default in XWiki Cloud (you got me worried for a second :) ). You might have disabled it from the administration, in the Page Elements section though. On Sun, Jan 6, 2013 at 11:26 AM, xrichard ldm...@gmail.com wrote: Many thanks!! On XWiki cloud I was also missing page history ;-(. Happy new year ;-). Le 06/01/2013 11:05, Thomas Mortagne [via XWiki] a écrit : You can access your new wiki on http://tutos.myxwiki.org. Sorry for the delay. On Fri, Jan 4, 2013 at 5:01 PM, xrichard [hidden email] /user/SendEmail.jtp?type=nodenode=7583123i=0 wrote: Hello, I hope admins are back from vacation so I send again my holiday request : - My MyXWiki.org's user name: xrichard - Description of the Wiki: first level tutorials on Windows, Android, Ubuntu and maybe more - Server Name for this new wiki: tutos Thanks for your answer, best regards, -- View this message in context: http://xwiki.475771.n2.nabble.com/myxwiki-new-wiki-request-tp7583032p7583101.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list [hidden email] /user/SendEmail.jtp?type=nodenode=7583123i=1 http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list [hidden email] /user/SendEmail.jtp?type=nodenode=7583123i=2 http://lists.xwiki.org/mailman/listinfo/users If you reply to this email, your message will be added to the discussion below: http://xwiki.475771.n2.nabble.com/myxwiki-new-wiki-request-tp7583032p7583123.html To unsubscribe from [myxwiki] new wiki request, click here http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=7583032code=bGRtcHViQGdtYWlsLmNvbXw3NTgzMDMyfDk0MTI3MzYz . NAML http://xwiki.475771.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewerid=instant_html%21nabble%3Aemail.namlbase=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespacebreadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml -- View this message in context: http://xwiki.475771.n2.nabble.com/myxwiki-new-wiki-request-tp7583032p7583124.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Jean-Vincent Drean, XWiki. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Special characters in pagename (URL)
Hello, I have a related issue to that. It's possible to name a xwiki-document e.g. äööü´´ß09876543212+#-., but it's not possible to call on this one again, even not over the document index or so. Instead I'll get Notice The requested document could not be found. You can edit this page to create it. The address-bar shows: /bin/view/Main/äööü´´ß09876543212%2B%23-.%2C Shouldn't be all special-characters percent-encoded? Regards, Josef Haimerl -Ursprüngliche Nachricht- Von: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] Im Auftrag von Paul Libbrecht Gesendet: Donnerstag, 20. Dezember 2012 09:59 An: XWiki Users Betreff: Re: [xwiki-users] Special characters in pagename (URL) Hamster, in Curriki we do this, basically this zaps all non-ascii chars. However, this requires a special page creation (create a learning resource in our case). paul Le 20 déc. 2012 à 09:19, Hamster a écrit : To all, My users are driving me crazy...allthough I have stated several times that they must NOT use any special characters in the pagename (URL), they still create pages with special characters. I also don't like any spaces in the URL (which are replaced by a +)... Is there a way to parse the pagename before it's created and remove any special characters? -- View this message in context: http://xwiki.475771.n2.nabble.com/Special-characters-in-pagename-URL-t p7582985.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] macro content body
On Mon, Jan 7, 2013 at 10:48 AM, Vereniging CdLS gerritjankoekk...@gmail.com wrote: Hi, Op 7 jan. 2013, om 10:17 heeft Thomas Mortagne thomas.morta...@xwiki.com het volgende geschreven: On Mon, Jan 7, 2013 at 10:05 AM, Gerritjan Koekkoek gerritjankoekk...@gmail.com wrote: Hi, I'm writing a macro as described on 'Writing XWiki Rendering Macros in wiki pages' I've create a object of class WikiMacroClass I fail to understand what is meant by the two attributes: Macro Content Type; No Content, Optional or Mandatory and Content Description. This is what's in the manual: • Macro content type: Whether this macro should support a body or not • Content description: A short description about the macro's content to be displayed on the WYSIWYG editor What is a body, can somebody give a example? Maybe good to extend the manual also with such a example? The content/body is what you have in the macro. without macro content: {{macro/}} with macro content: {{macro}}some body{{/body}} Thanks, Is it like the {{Box}} macro? It the wysywig it looks like a parameter called Content, but when you read the wiki code it is specified as: {{box cssClass=someClass image=someimage title=someTitle width=50%}} This is the content {{/box}} So for that macro the params are: cssClass, image, title and width. content type is optional and content description would be: whatever the box contains? I don't remember if it's mandatory or just optional in box macro but that's it yes. The WYSIWYG handles it as a parameter visually but it's pretty different thing behind the scene. thxs Gerritjan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Form PDF rendering
Hello support members, I'm trying to export pages defined with a form created using AppsWithinMinutes plugin. I would like firstly to define customized format for each pretty name. I've found the following tutorial (http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLook26Feel) about PDF rendering. It works fine but doesn't help me for my need. It doesn't speak about form rendering. No information found also on the plugin tutorial. Is someone able to help me ? Thinks and happy new year ! ++ Hervé -- View this message in context: http://xwiki.475771.n2.nabble.com/Form-PDF-rendering-tp7583146.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WYSIWYG Editor - Menubar Settings in Administration Page hidden
Have solved the problem by myself. Here the solution: Go to /xwiki/bin/edit/XWiki/WysiwygEditorConfig?editor=object, expand the second object XWiki.WysiwygEditorConfigClass and edit the Menu Bar text manually. I had to delete four nulls at the end of the Menu Bar text ]},null,null,null,null]. -- View this message in context: http://xwiki.475771.n2.nabble.com/WYSIWYG-Editor-Menubar-Settings-in-Administration-Page-hidden-tp7583136p7583147.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] macro content body
Hi, If I want to have parameters to return values in a more structured way (not directly usable from wysywig?) do I need to create parameters (optional) since they will not have a value when called? Or how do I do this in these macro's? Or should I just write a macro in velocity? Can I call these macro's from velocity to set some variables? My macro will now take 'first name' and 'last name' from xwiki user. I would like to return a few results about this user, not just text (could even be a object) Op 7 jan. 2013, om 12:07 heeft Thomas Mortagne thomas.morta...@xwiki.com het volgende geschreven: On Mon, Jan 7, 2013 at 10:48 AM, Vereniging CdLS gerritjankoekk...@gmail.com wrote: Hi, Op 7 jan. 2013, om 10:17 heeft Thomas Mortagne thomas.morta...@xwiki.com het volgende geschreven: On Mon, Jan 7, 2013 at 10:05 AM, Gerritjan Koekkoek gerritjankoekk...@gmail.com wrote: Hi, I'm writing a macro as described on 'Writing XWiki Rendering Macros in wiki pages' I've create a object of class WikiMacroClass I fail to understand what is meant by the two attributes: Macro Content Type; No Content, Optional or Mandatory and Content Description. This is what's in the manual: • Macro content type: Whether this macro should support a body or not • Content description: A short description about the macro's content to be displayed on the WYSIWYG editor What is a body, can somebody give a example? Maybe good to extend the manual also with such a example? The content/body is what you have in the macro. without macro content: {{macro/}} with macro content: {{macro}}some body{{/body}} Thanks, Is it like the {{Box}} macro? It the wysywig it looks like a parameter called Content, but when you read the wiki code it is specified as: {{box cssClass=someClass image=someimage title=someTitle width=50%}} This is the content {{/box}} So for that macro the params are: cssClass, image, title and width. content type is optional and content description would be: whatever the box contains? I don't remember if it's mandatory or just optional in box macro but that's it yes. The WYSIWYG handles it as a parameter visually but it's pretty different thing behind the scene. thxs Gerritjan ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [ANN] XWiki 4.4 released
OW2 should be working fine now. Thanks and sorry for the inconvenience -Vincent On Jan 2, 2013, at 2:18 PM, Vincent Massol vinc...@massol.net wrote: The XWiki development team is proud to announce the availability of XWiki 4.4. This is a stabilization release and as such it mostly contains bug fixes. You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download Note that OW2 is having problems at the moment and it may take a few days for the downloads to be available there. In the meantime you can get them from: = XWiki Enterprise = EXE: http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-installer-windows/4.4/xwiki-enterprise-installer-windows-4.4.exe JAR: http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-installer-generic/4.4/xwiki-enterprise-installer-generic-4.4-standard.jar ZIP: http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-jetty-hsqldb/4.4/xwiki-enterprise-jetty-hsqldb-4.4.zip WAR: http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-web/4.4/xwiki-enterprise-web-4.4.war XAR: http://maven.xwiki.org/releases/org/xwiki/enterprise/xwiki-enterprise-ui-all/4.4/xwiki-enterprise-ui-all-4.4.xar = XWiki Enterprise Manager = ZIP: http://maven.xwiki.org/releases/org/xwiki/manager/xwiki-manager-jetty-mysql/4.4/xwiki-manager-jetty-mysql-4.4.zip WAR: http://maven.xwiki.org/releases/org/xwiki/manager/xwiki-manager-web/4.4/xwiki-manager-web-4.4.war XAR: http://maven.xwiki.org/releases/org/xwiki/manager/xwiki-manager-ui-all/4.4/xwiki-manager-ui-all-4.4.xar XAR: http://maven.xwiki.org/releases/org/xwiki/manager/xwiki-manager-ui/4.4/xwiki-manager-ui-4.4.xar (no dependencies) Make sure to review the release notes: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki44 Thanks -The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Get textarea content of wysiwyg in javascript
Hi Fred, On Wed, Jan 2, 2013 at 10:46 AM, Fred fred.pour...@gmail.com wrote: Hi, I'm trying to add some validations when the user save press the save button on xwiki creation page. What I added in actionButtons.js is that : onSaveAndContinue : function(event) { if (typeof(Wysiwyg) == 'undefined') { return; } var editors = Wysiwyg.getInstances(); for(var hookId in editors) { var editor = editors[hookId]; var plainTextArea = editor.getPlainTextArea(); } alert(plainTextArea.value); My problem is that I get an outdate value, meaning that for example, if in my page I have : a b c And if I write d at the end, the alert return only : a b c Is there another better solution to get the text in the WYSIWYG editor ? It depends on what type of data your validations are expecting: rich text (HTML) or plain text (Wiki syntax). In other words, what do you want to validate, the (rich text) content of the WYSIWYG editor as it is on the client (HTML) or the content that is saved on the database (Wiki syntax). If you wish to validate the source then you need to know that: * each page can use a different wiki syntax so you may have to write validations based on document syntax * conversion from HTML to source is done on the server side and thus you have to use an asynchronous API: editor.getSourceText(onSuccessCallback, onFailureCallback) To get the HTML instead, you need to use: editor.getRichTextArea().contentWindow.document.body.innerHTML Hope this helps, Marius Fred -- View this message in context: http://xwiki.475771.n2.nabble.com/Get-textarea-content-of-wysiwyg-in-javascript-tp7583073.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Form PDF rendering
It's not clear for me what you're trying to achieve. The sheet used to display application entries in view mode shouldn't (normally) use any form elements, expect maybe for LABEL, but if you're using a recent version of XWiki (3.5.2+) then http://jira.xwiki.org/browse/XWIKI-7868 should be fixed. Hope this helps, Marius On Mon, Jan 7, 2013 at 2:50 PM, HerveF herve.farge...@gmail.com wrote: Hello support members, I'm trying to export pages defined with a form created using AppsWithinMinutes plugin. I would like firstly to define customized format for each pretty name. I've found the following tutorial (http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Configuration#HCustomizingthePDFexportLook26Feel) about PDF rendering. It works fine but doesn't help me for my need. It doesn't speak about form rendering. No information found also on the plugin tutorial. Is someone able to help me ? Thinks and happy new year ! ++ Hervé -- View this message in context: http://xwiki.475771.n2.nabble.com/Form-PDF-rendering-tp7583146.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] WYSIWYG Editor - Menubar Settings in Administration Page hidden
See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/WysiwygEditor#HPluginsandFeatures . Each plugin provides features that can be added either to the menu bar or to the tool bar. You cannot place tool bar features on the menu bar or the other way around unless specified in that table. And you can also use the history of the XWiki.WysiwygEditorConfig page to rollback to a previous WYSIWYG Editor configuration. Hope this helps, Marius On Mon, Jan 7, 2013 at 3:06 PM, Silvio Mink silvio.m...@web.de wrote: Have solved the problem by myself. Here the solution: Go to /xwiki/bin/edit/XWiki/WysiwygEditorConfig?editor=object, expand the second object XWiki.WysiwygEditorConfigClass and edit the Menu Bar text manually. I had to delete four nulls at the end of the Menu Bar text ]},null,null,null,null]. -- View this message in context: http://xwiki.475771.n2.nabble.com/WYSIWYG-Editor-Menubar-Settings-in-Administration-Page-hidden-tp7583136p7583147.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Form PDF rendering
Thanks for your help. My need is about labels : they are displayed. They are what I was naming pretty names. It's them that I would like to customize their rendition. With your link about the issue, I understand that it is associated to label html tag. It can help me. If you have more, I will appreciate. Have a good day -- View this message in context: http://xwiki.475771.n2.nabble.com/Form-PDF-rendering-tp7583146p7583172.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [myxwiki] new wiki request
I'm sorry, it's my mistake. I have one more question:*the search on my new Wiki returns no results at all whatever words I'm searching for*. The only thing I've changed regarding search is: I have disabled dynamic results display while typing. Is there again someting wrong I have done? How can I correct this or is it a bug? 2 other informations : - search seems to works on other Wiki hosted at myxwiki.org - I yet have imported one page (thru a *.xar file) from my old cloud wiki to my new wiki on myxwiki.org. Best regards, -- View this message in context: http://xwiki.475771.n2.nabble.com/myxwiki-new-wiki-request-tp7583032p7583174.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [myxwiki] new wiki request
Forget my request ... search is now working . Does anyone perform an operation on the server side? Is there an indexing job running at 23h40 (Paris time)? -- View this message in context: http://xwiki.475771.n2.nabble.com/myxwiki-new-wiki-request-tp7583032p7583175.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users