[xwiki-users] Pdf export

2009-10-09 Thread Ajdin Brandic
Hi Two issues with PDF export. Might be similar to already reported issue (http://n2.nabble.com/Page-convert-PDF-error-occurs-tc3261515.html#a3261 515) But there is no advice on this issue. 1. I've tried to export all documents from my space (Scenarios) to PDF

Re: [xwiki-users] viewer=code

2009-08-27 Thread Ajdin Brandic
world. Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Sergiu Dumitriu Sent: 26 August 2009 22:24 To: XWiki Users Subject: Re: [xwiki-users] viewer=code Ajdin Brandic wrote: Is there an option (settings) to disable this (viewer=code

[xwiki-users] viewer=code

2009-08-26 Thread Ajdin Brandic
Is there an option (settings) to disable this (viewer=code) on a site? Ajdin NOTICE This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged.

Re: [xwiki-users] viewer=code

2009-08-26 Thread Ajdin Brandic
[mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea Sent: 26 August 2009 16:07 To: XWiki Users Subject: Re: [xwiki-users] viewer=code Hi Ajdin, Ajdin Brandic wrote: Is there an option (settings) to disable this (viewer=code) on a site? I don't know if there is a way to disable

Re: [xwiki-users] viewer=code

2009-08-26 Thread Ajdin Brandic
Will it show Groovy as well as Velocity code? Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Marius Dumitru Florea Sent: 26 August 2009 17:18 To: XWiki Users Subject: Re: [xwiki-users] viewer=code Ajdin Brandic wrote: Lets say I'm

Re: [xwiki-users] working captcha

2009-07-10 Thread Ajdin Brandic
Edward Correct me if I'm wrong but as I mentioned in my first reply to your post a hacker can use GET method to post registration request in the URL. The hacker can set the value of register to 1 and this will pass your check and register. As you already know having incorrect captcher doesn't

Re: [xwiki-users] where does the actual registration happen?

2009-07-09 Thread Ajdin Brandic
? thanks for the reply! Believe it or not. its working! www.ee-web.co.uk edw...@ee-web.co.uk mailto:edw...@ee-web.co.uk07760 07760 392284 -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org]on Behalf Of Ajdin Brandic Sent: 08 July 2009 12:33 To: XWiki

Re: [xwiki-users] where does the actual registration happen?

2009-07-08 Thread Ajdin Brandic
I found the only way around this is to disable the default registration and create your own. You can use #set($reg = $xwiki.createUser(false)) To insert a new user once it passes any validation you have checked for. Also use this to send an email (alert to yourself, confirmation to new users

Re: [xwiki-users] Modal window UI component for XWiki (was Re:Javascript issue)

2009-05-07 Thread Ajdin Brandic
in this release!) Cheers, Jerome. Ajdin Brandic wrote: Hi I'm using a modal window (subModal) in my xwiki and things work fine until I try to use it while in 'inline' mode and using Firefox 3.0.10 (IE works). The problem is that the modal window opens and closes straight away making the parent page

[xwiki-users] Javascript issue

2009-05-06 Thread Ajdin Brandic
Hi I'm using a modal window (subModal) in my xwiki and things work fine until I try to use it while in 'inline' mode and using Firefox 3.0.10 (IE works). The problem is that the modal window opens and closes straight away making the parent page go from 'inline' to 'preview' mode!! Looks like js

[xwiki-users] Modal window content without xwiki skin

2009-05-01 Thread Ajdin Brandic
Hi I'm trying to use subModal javascript modal tool. I got it to work but my modal window that contains a simple form also contains XWiki skin (with menu etc.). Is there a way to create a page without the skin? This is similar to the style in modal window in the Admin area when editing a

[xwiki-users] Does myxwiki support jcaptcha??

2009-04-27 Thread Ajdin Brandic
Is jcaptcha enabled on myxwiki ??? Thanks Ajdin NOTICE This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is strictly

Re: [xwiki-users] Does myxwiki support jcaptcha??

2009-04-27 Thread Ajdin Brandic
Of Sergiu Dumitriu Sent: 27 April 2009 15:32 To: XWiki Users Subject: Re: [xwiki-users] Does myxwiki support jcaptcha?? Ajdin Brandic wrote: Is jcaptcha enabled on myxwiki ??? Yes, if you enable it on your wiki. -- Sergiu Dumitriu http://purl.org/net/sergiu

[xwiki-users] Modifying class property value programmatically

2009-04-23 Thread Ajdin Brandic
Is there a way of updating class property values using Velocity or Groovy? I have a class property called Group which contains values (A, B, C ..) but want to allow users to be able to add/remove groups without editing the class via the Admin area. Ajdin

Re: [xwiki-users] Using parseGroovyFromPage on inherited class

2009-03-24 Thread Ajdin Brandic
Hi I think you'll need in your User class to use $xwiki.parseGroovyFromPage(ParentObject) Before that you need to pass $xwiki to User class. public class User extends ParentObject { private xwiki = null; void setUser() { if (session.getValue(counter) != null) this.counter =

[xwiki-users] Tag API doc

2009-03-18 Thread Ajdin Brandic
HI Is there a way of filtering tags using the new TagCloud? 1. I want to create a filter to display tags based on space name. 2. I want to create a filter to display tags based on a value in doc class property (ie. Show tags where doc property topic=education). Is there any documentation on

[xwiki-users] Bug - Tag cloud rounding bug

2009-03-12 Thread Ajdin Brandic
. I've tried doing $mathtool.toInteger($popularityMax) and $mathtool.roundToInt($popularityMax) but both of these give value 41. Ajdin Brandic NOTICE This message and any files transmitted with it is intended for the addressee only

Re: [xwiki-users] security concern: XWikiGuest rolling back

2009-02-23 Thread Ajdin Brandic
Just to add to this Yishay Mor wrote: This has happened a few times on http://patternlanguagenetwork.myxwiki.org/, and I can't explain it. I set the access rights to allow view by all, but edit is restricted. I'm seeing documents rolled back to older versions by XWikiGuest. Example:

Re: [xwiki-users] Just imported enterprise-wiki-1.8-rc-1.xar buttags not showing

2009-02-20 Thread Ajdin Brandic
, 2009 at 5:58 PM, Jean-Vincent Drean jean-vinc...@drean.org wrote: On Thu, Feb 19, 2009 at 5:48 PM, Ajdin Brandic aa6...@coventry.ac.uk wrote: Hi Just imported xwiki-enterprise-wiki-1.8-rc-1.xar and Main/Tags says no documents were tagged. Now that the farm is upgraded you're in sync :) I

[xwiki-users] adding attribute to form field

2009-02-20 Thread Ajdin Brandic
Hi Has anyone tried to add a new attribute to a form field created when document in edit (inline) mode? I want to add onChange=somejs to textarea ajdin NOTICE This message and any files transmitted with it is intended for the

Re: [xwiki-users] adding attribute to form field

2009-02-20 Thread Ajdin Brandic
this helps, Jerome Ajdin Brandic wrote: Hi Has anyone tried to add a new attribute to a form field created when document in edit (inline) mode? I want to add onChange=somejs to textarea ajdin NOTICE This message and any

[xwiki-users] Just imported enterprise-wiki-1.8-rc-1.xar but tags not showing

2009-02-19 Thread Ajdin Brandic
Hi Just imported xwiki-enterprise-wiki-1.8-rc-1.xar and Main/Tags says no documents were tagged. I restored the old Main/Tags but the original can be viewed at http://patternlanguagenetwork.myxwiki.org/xwiki/bin/view/Main/newTags Import results: Importing xwiki-enterprise-wiki-1.8-rc-1.xar:

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-18 Thread Ajdin Brandic
Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ajdin Brandic Sent: 17 February 2009 17:51 To: XWiki Users Subject: Re: [xwiki-users] Myxwiki Programming rights required HI Also the tagcloud code might be old but is simple and uses two simple queries

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-18 Thread Ajdin Brandic
I really think my programming rights on myxwiki are corrupt. Can someone PLEASE remove me then add me again!! U: ajdinbrandic Ajdin Brandic -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ajdin Brandic Sent: 18 February 2009 16:34

[xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Ajdin Brandic
To myxwiki admin people Can someone reinstate/flush my progtramming rights, username: ajdinbrandic I had programming rights set up by Vincent for myxwiki.patternlanguagenetwork.org. Due to issues with upgrade I lost all rights. Now my admin rights have been reinstated but yesterday I added a

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Ajdin Brandic
2009 14:39 To: XWiki Users Subject: Re: [xwiki-users] Myxwiki Programming rights required Hi Ajdin, On Feb 17, 2009, at 12:51 PM, Ajdin Brandic wrote: To myxwiki admin people Can someone reinstate/flush my progtramming rights, username: ajdinbrandic I had programming rights set up by Vincent

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Ajdin Brandic
:51 PM, Ajdin Brandic aa6...@coventry.ac.uk wrote: To myxwiki admin people Can someone reinstate/flush my progtramming rights, username: ajdinbrandic I had programming rights set up by Vincent for myxwiki.patternlanguagenetwork.org. Due to issues with upgrade I lost all rights. Now my

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Ajdin Brandic
Also the tagcloud code might be old but is simple and uses two simple queries. Why is it deprecated snippet ? No reason why it should work on one page and not on another. Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ajdin Brandic

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Ajdin Brandic
HI Also the tagcloud code might be old but is simple and uses two simple queries. Why is it deprecated snippet ? It is deprecated since there's now a tag plugin that allows to manipulate tags : - without requiring programming rights - without knowledge of the storage implementation

Re: [xwiki-users] Panel Wizard doesn't show it

2009-02-16 Thread Ajdin Brandic
Hi Regarding accessing Panels Wizard problem on myxwiki. In my case I'm trying to create a new panel (tag cloud) so things are a bit more complex. So below is a guide on how to do it without the Panel Wizard. I think my programming rights for myxwiki.patternlanguagenetwork got corrupted due

Re: [xwiki-users] Max Upload Size questions

2009-02-13 Thread Ajdin Brandic
Hi I'm not sure why you get this error but I do know (since I tried the same with a 90MB import) that it is pointless trying this with the basic xwiki setup. Another problem you'll have is the bug with uploading attachments and doing import is equivalent to adding attachment. So first of all

Re: [xwiki-users] Database information about xwiki

2009-02-11 Thread Ajdin Brandic
Hi If you are running a local xwiki you can use tools like DB Visualizer (windows app) to connect and view DB structure. You also need to understand a bit about xwiki properties as they reflect in db structure (table names). Also look at Hibernate mapping

Re: [xwiki-users] Database information about xwiki

2009-02-11 Thread Ajdin Brandic
I am testing it with the standalone installation (the one that is only a msi file), How can I connect to this database? -Mensaje original- De: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] En nombre de Ajdin Brandic Enviado el: miƩrcoles, 11 de febrero de 2009 12:55 Para: XWiki

Re: [xwiki-users] Database information about xwiki

2009-02-11 Thread Ajdin Brandic
, On Wed, Feb 11, 2009 at 3:11 PM, Ajdin Brandic aa6...@coventry.ac.ukwrote: I must admit that I had not found an easy way to connect to it using DB Visualizer, sorry. As the standalone version is not to be used for any development work I had to move to MySQL. *So I'm using GlassFish

[xwiki-users] Possible Bug with com.xpn.xwiki.doc.XWikiDocument.saveAttachmentContent v1.8

2009-02-10 Thread Ajdin Brandic
I'm executing some code on Save which attaches a PNG file to a document that was edited/saved. When I call docObj.saveAttachmentContent(attP, context); the attachment is save OK but any changes made to my document (ie. text changes) are not saved. If I comment out this line the text changes are

[xwiki-users] doc.saveAttachmentContent(attImg, context) NOT working with v1.7

2009-02-06 Thread Ajdin Brandic
I am really frustrated with this now. I cannot get to save an attachment to a document although all works well on my local xwiki instance 1.6.1. As discussed in post Re: [xwiki-users] groovy.lang.MissingMethodException - Nosignatureof method and suggested by Denis Gervalle -def attP =

[xwiki-users] unable to delete attachment

2009-02-03 Thread Ajdin Brandic
Hi I'm trying to delete an attachment using Groovy script. I've used com.xpn.xwiki.doc.XWikiDocument.deleteAttachment(att, context); but get error indicating a type mismatch. According to http://www.docjar.com/docs/api/com/xpn/xwiki/doc/XWikiDocument.html

Re: [xwiki-users] groovy.lang.MissingMethodException - Nosignatureof method

2009-01-30 Thread Ajdin Brandic
this helps, Denis On 29 janv. 09, at 18:01, Ajdin Brandic wrote: * I'm posting this again cos the whole post got mixed up with another post Custom class field as field on a different class http://n2.nabble.com/Custom-class-field-as-field-on-a-different-class -t p2152709p2239310.html

Re: [xwiki-users] groovy.lang.MissingMethodException - No signature of method

2009-01-29 Thread Ajdin Brandic
(newAttachment,context); Has anyone had a similar problem? Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Sergiu Dumitriu Sent: 14 January 2009 17:03 To: XWiki Users Subject: Re: [xwiki-users] groovy.lang.MissingMethodException Ajdin

[xwiki-users] groovy.lang.MissingMethodException - No signatureof method

2009-01-29 Thread Ajdin Brandic
? Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Sergiu Dumitriu Sent: 14 January 2009 17:03 To: XWiki Users Subject: Re: [xwiki-users] groovy.lang.MissingMethodException Ajdin Brandic wrote: Hi I'm trying to execute another

Re: [xwiki-users] Adding survey question and details to page template...

2009-01-22 Thread Ajdin Brandic
Kevin and others It is really good that you got it but I think it is very important for people to share with others what they got, so if someone has a similar problem he/she can at least see a possible solution rather than repost the same question again. This happens very often on all forums.

Re: [xwiki-users] Adding survey question and details to page template...

2009-01-22 Thread Ajdin Brandic
Kevin The main thing I'm trying to determine at this point is if I can't require someone to have an account in order to vote, how do I keep them from voting multiple times? I can't use cookies, and I'm not sure using their IP address will prove of any use. Even if users do have to register in

[xwiki-users] Panel Wizard at MyXwiki

2009-01-21 Thread Ajdin Brandic
I'm unable to get into Panel Wizard on http://patternlanguagenetwork.myxwiki.org Does it require Programming rights? It just hangs for 20+ secs then the main Admin page is displayed again. I want to add a new panel TagCloud based on Tag Cloud Snippet. Thanks Ajdin

[xwiki-users] myxwiki.org down?

2009-01-20 Thread Ajdin Brandic
Anyone know what's happening with myxwiki.org? Ajdin NOTICE This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged. Unauthorised use is

Re: [xwiki-users] Tags

2009-01-19 Thread Ajdin Brandic
HI I want to thank you all for replies. I shall not touch that page again and must admit that I had no idea that $xwiki.search($sql) required programming rights. again Thanks Ajdin Brandic Coventry University Key words: Main/Tags not working, Tags not showing, missing tags

Re: [xwiki-users] Tags

2009-01-16 Thread Ajdin Brandic
. Here's what I did: 1) go to tags page. No tags showing 2) tag the home page using the information panel in edit mode 3) go back to the tags page. The new tag is showing. Thanks -Vincent On Jan 16, 2009, at 4:30 PM, Ajdin Brandic wrote: Tags facility to display all tags in XWiki is not working as I

Re: [xwiki-users] groovy.lang.MissingMethodException

2009-01-14 Thread Ajdin Brandic
Hi Kevin Yes, you are correct. So how do I get the correct instance? Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Kevin_C Sent: 14 January 2009 15:12 To: users@xwiki.org Subject: Re: [xwiki-users]

[xwiki-users] Scripting issue - xwiki

2009-01-12 Thread Ajdin Brandic
Hi I wander if anyone can help. I have found a discussion on IRC between users asyd and lucaa but the was no answer to the problem. I have two Groovy Classes saved as two pages page1 and page2. I also have some scripting outside class in page1. So page1 class requires an instance of page2

Re: [xwiki-users] Scripting issue - xwiki

2009-01-12 Thread Ajdin Brandic
...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ajdin Brandic Sent: 12 January 2009 13:50 To: XWiki Users Subject: [xwiki-users] Scripting issue - xwiki Hi I wander if anyone can help. I have found a discussion on IRC between users asyd and lucaa but the was no answer to the problem. I have two

Re: [xwiki-users] Tags

2008-12-29 Thread Ajdin Brandic
Hi I've tried the same as below on my live site http://patternlanguagenetwork.myxwiki.org; but no joy. Is there a reason why tags are not showing? I could not find any info on the web. Ajdin -Original Message- From: users-boun...@xwiki.org on behalf of Ajdin Brandic Sent: Wed 24/12

[xwiki-users] Tags not showing

2008-12-24 Thread Ajdin Brandic
Hi I'm playing with tags and noticed something odd. I've added tags to a few pages but when I go to xwiki/bin/view/Main/Tags I always get message No documents have been tagged yet. To tag a document, edit it and enter the tags I've searched all the posts but found only one person having

[xwiki-users] Tags

2008-12-24 Thread Ajdin Brandic
usualy spend hours looking through Volocity scripts. Ajdin Brandic Coventry University NOTICE This message and any files transmitted with it is intended for the addressee only and may contain information that is confidential or privileged

Re: [xwiki-users] Java Heap Space, Out of memory exception

2008-12-05 Thread Ajdin Brandic
Heap Space, Out of memory exception Ajdin Brandic wrote: Hi All I am having a problem uploading a xar file. I get Java Heap Space, Out of memory exception (full message below). I've downloaded the latest version of XWiki for windows xp (beginner's version with HSQLDB Jetty). In my

Re: [xwiki-users] Java Heap Space, Out of memory exception

2008-12-05 Thread Ajdin Brandic
- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Vincent Massol Sent: 05 December 2008 10:30 To: XWiki Users Subject: Re: [xwiki-users] Java Heap Space, Out of memory exception On Dec 5, 2008, at 11:23 AM, Ajdin Brandic wrote: Sergiu Xwiki would not start with heap size more than