[xwiki-users] JNDI Configuration for Jetty 5.1.5
Hi, I am using XE 1.3.2 and Mysql 5.0 with jetty 5.1.5. Can any one give a support for JNDI configuration of jetty 5.1.5 (Not jetty 6). Regards, Project trainees. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Development of a private XWiki
Hello, I read a lot about developing XWiki, I installed maven, a subclient, ... and got the repository, too. I want to ask, if I understood it right, that I work together with the community on developing the XWiki code. That means, that I'm programming something and then put it up to the repository. After checking my changes, they are available for other developers. If this is right, I'd like to know, if it is possible, to work on the code of my private XWiki, which is installed. I tried to import the .xar file to eclipse, but I didn't find anything. I searched a lot for a solution but now I'm at a point, where I don't know how to carry on with developing. So my question is: I'd like to develop the code of my own XWiki, not on the repository, is this possible? Thanks a lot! Yours sincerely Lisa Wäldchen -- View this message in context: http://www.nabble.com/Development-of-a-private-XWiki-tp17359119p17359119.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] Creating a Toolbar of my own
Well we stopped using XWiki Workspaces as we are building custom solutions and if my memory serves me correctly you responded once with the comment that Workspaces was meant to be quick and dirty not for development. Indeed. I'll try remembering better next time ;-) XE is great. Thanks on behalf of the dev team. Guillaume ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Creating a Toolbar of my own
Mike, Can you document useful code snipets like this on the XWiki site? Thanks. Regards, Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Oliver Sent: 22 May 2008 20:56 To: users@xwiki.org Subject: Re: [xwiki-users] Creating a Toolbar of my own Bingo we have a winner... #set ($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ToolbarClass' and obj.name'XWiki.ToolbarClassTemplate') #set ($toolbars= $xwiki.searchDocuments($hql)) #if ($toolbars.size() 0) #foreach ($toolbar in $toolbars) #set ($itemdoc = $xwiki.getDocument($toolbar)) #set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass')) #set ($imgsrc = $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon'))) * lt;a href=/xwiki/bin/view/$itemdoc.display('GotoPage')gt;lt;img src=$imgsrc/gt;lt;/agt; [$toolbar] br Mike Oliver wrote: Ok almost there... This line works with the Click here link, but the img link doesn't. * lt;img src=$imgsrc/gt; [Click here$itemdoc.display('GotoPage')] [$toolbar] br Mike Oliver wrote: Ok proding right along I got the icon attached to the toolbar page to display for each in the toolbars list, but the link on the image doesn't work. Here is the latest... #set ($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ToolbarClass' and obj.name'XWiki.ToolbarClassTemplate') #set ($toolbars= $xwiki.searchDocuments($hql)) #if ($toolbars.size() 0) #foreach ($toolbar in $toolbars) #set ($itemdoc = $xwiki.getDocument($toolbar)) #set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass')) #set ($imgsrc = $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon'))) * [lt;img src=$imgsrc/gt; gt; $itemdoc.display('GotoPage')] [$toolbar] br #the following is just to show what's in the properties using a couple different methods, I tried both above. $itemdoc.display('UpIcon') | $itemdoc.display('DownIcon') | $itemdoc.display('GotoPage') | $itemobject.getProperty('GotoPage').value br #end #else #info(There are no Toolbar documents in this wiki!) #end Mike Oliver wrote: Ok first problem solved the img link had the arguments in the wrong order so lt;mg src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton) /gt; was bad and lt;mg src=$xwiki.getAttachmentURL(Toolbar.AdvancedEditorButton,AEBtn0.jpg) /gt; was good. Now the question is, given the desire to show in the dashboard now and eventually in a panel later the icons named in the properties of the toolbar classes, how do I loop through the toolbars and build the displa from the properties? Mike Oliver wrote: I am making good progress on a new Class that has properties, style sheet and template that I created after following the Todo Tutorial. The ToolbarClass has the following properties Type/Name/SampleContent String/Title/Advanced Editor TextArea/Description/This button takes you to the advanced editor page String/UpIcon/AEBtn0.jpg String/DownIcon/AEBtn1.jpg String/DisabledIcon/AEBtn2.jpg String/GotoPage/Tools.AdvancedEditor Also following the Todo Tutorial I created the Toolbar Space Web Home page dashboard with #set ($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ToolbarClass' and obj.name'XWiki.ToolbarClassTemplate') #set ($toolbars= $xwiki.searchDocuments($hql)) #if ($toolbars.size() 0) #foreach ($toolbar in $toolbars) * [$toolbar] #end #else #info(There are no Toolbar documents in this wiki!) #end And I added the Comments object to the ToolbarClassTemplate and then added a couple of document and attached the UPIcon and DownIcon images as attachments. Going to the Web Home of the I see the list of the two document with the ToolbarClass object on them so cool beans just as the tutorial instructed with the names changed and bingo we have a winner. Now the tricky part, I want to show the attached images in the dashboard for each document, where the property of the Toolbar object for UpIcon is used to identifiy which attachment to display. I tried #set ($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ToolbarClass' and obj.name'XWiki.ToolbarClassTemplate') #set ($toolbars= $xwiki.searchDocuments($hql)) #if ($toolbars.size() 0) #foreach ($toolbar in $toolbars) * lt;mg src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton) /gt; [$toolbar] #end #else #info(There are no Toolbar documents in this wiki!) #end where I know that AEBtn0.jpg is the attached image but that doesn't show. Eventually I want to use the string in the UpIcon property to identify the image to display but unless I can get the attachement to display on another page I cannot proceed. -- View this message in context:
[xwiki-users] How to change user ownership of documents ?
Hi all, Here is my problem, I switch from xwiki DB authentication to our corporate LDAP, and some user will have their login changed. Ex: in xwiki they created some basic username such as their first name, and in LDAP they will have to enter their corporate login that is usually the first letter of their first name concatened to the seven first character to their name. Some users in this case have already created a lot of documents and if I change directly the Xwiki.userName in the database this does not work as it seems that the login is used to reference all document from a specific user. So how to change the ownership of document from old name to new name ? Fabien ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] permitting programming
Hi Yishay, On May 23, 2008, at 1:39 AM, Yishay Mor wrote: Thanks Sergio. My wiki is on the farm (http://patternlanguagenetwork.myxwiki.org/). Does that mean its a virtual wiki, and I cannot have programming rights? That means I can't write or install any groovy code, and can't access $context.context. Very limiting! You can write velocity scripts with no limitation. Groovy can allow you to do dangerous things which include creating security holes on myxwiki.org, stopping the machine or using all CPU. This is why it's not allowed by default on a farm. As Sergiu said we could allow it on a case by case basis after reviewing your script but that's exceptional. Always try to use Velocity instead. Thanks -Vincent Date: Fri, 16 May 2008 15:22:54 +0200 From: Sergiu Dumitriu [EMAIL PROTECTED] Subject: Re: [xwiki-users] permitting programming Yishay Mor wrote: the adminstration panel does not include a column for programming. How do I grant a user programming rights? That appears only in the global rights (not on space or document rights), and only in the main wiki (virtual wikis can't have programming rights for the moment, for security reasons). ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] xeclipse problem
Hello! Did anyone encoutered such a problem with XEclipse? My operating system is: Windows XP Java: java 6 update 4 Xeclipse version: xwiki-eclipse-rcp-win32-win32-x86-1.1 xeclipse log: !SESSION 2008-05-23 10:59:36.078 --- eclipse.buildId=unknown java.version=1.6.0_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ro_RO Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.core.runtime 2 0 2008-05-23 10:59:37.234 !MESSAGE Authorization infrastructure (org.eclipse.core.runtime.compatibility.auth) not installed. !STACK 0 java.lang.NoClassDefFoundError: org/eclipse/core/internal/runtime/auth/AuthorizationHandler at org.eclipse.core.internal.runtime.InternalPlatform.initializeAuthorizationHandler(InternalPlatform.java:603) at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:745) at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:31) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297) Caused by: java.lang.ClassNotFoundException: org.eclipse.core.internal.runtime.auth.AuthorizationHandler at java.lang.ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 16 more I cannot connect to any server. and I haven't got a clue of what is that. THX! Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Development of a private XWiki
Yes, itt's quite a steep learning curve / barrier to get over in order to help develop XWiki ... I've managed to setup Maven and access the repository and put it into Eclipse and now I'm trying to see how to build and debug within Eclipse ... (using Thomas Mortagne's new tutorial - thanks Thomas!) and then figure out how XWiki works and how I might contribute to it Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Vincent Massol Sent: 23 May 2008 09:05 To: XWiki Users Subject: Re: [xwiki-users] Development of a private XWiki Hi, On May 23, 2008, at 8:41 AM, baeumchen wrote: Hello, I read a lot about developing XWiki, I installed maven, a subclient, ... and got the repository, too. I want to ask, if I understood it right, that I work together with the community on developing the XWiki code. That means, that I'm programming something and then put it up to the repository. After checking my changes, they are available for other developers. If this is right, I'd like to know, if it is possible, to work on the code of my private XWiki, which is installed. I tried to import the .xar file to eclipse, but I didn't find anything. I searched a lot for a solution but now I'm at a point, where I don't know how to carry on with developing. So my question is: I'd like to develop the code of my own XWiki, not on the repository, is this possible? Sure, check the dev wiki at http://dev.xwiki.org Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail is confidential. It may also be legally privileged. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. We may monitor all e-mail communications through our networks. If you have received this e-mail in error, please inform us immediately on +44 (0) 1749 672081 and delete it and all copies from your system. We accept no responsibility for changes to any e-mail which occur after it has been sent. Attachments to this e-mail may contain software viruses which could damage your system. We therefore recommend you virus-check all attachments before opening. A business of Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No. 868273 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] xeclipse problem
You probably don't have the correct version of eclipse our you're missing some stuff. Make sure you're using a supported Eclipse version if you're using the xeclipse plugin (and not the RCP version). You could also try to use the xeclipse standalone version. Thanks -Vincent On May 23, 2008, at 10:09 AM, Gabriela Radu wrote: Hello! Did anyone encoutered such a problem with XEclipse? My operating system is: Windows XP Java: java 6 update 4 Xeclipse version: xwiki-eclipse-rcp-win32-win32-x86-1.1 xeclipse log: !SESSION 2008-05-23 10:59:36.078 --- eclipse.buildId=unknown java.version=1.6.0_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ro_RO Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.core.runtime 2 0 2008-05-23 10:59:37.234 !MESSAGE Authorization infrastructure (org.eclipse.core.runtime.compatibility.auth) not installed. !STACK 0 java.lang.NoClassDefFoundError: org/eclipse/core/internal/runtime/ auth/AuthorizationHandler at org .eclipse .core .internal .runtime .InternalPlatform .initializeAuthorizationHandler(InternalPlatform.java:603) at org .eclipse .core.internal.runtime.InternalPlatform.start(InternalPlatform.java: 745) at org .eclipse .core .internal.runtime.PlatformActivator.start(PlatformActivator.java:31) at org.eclipse.osgi.framework.internal.core.BundleContextImpl $2.run(BundleContextImpl.java:999) at java.security.AccessController.doPrivileged(Native Method) at org .eclipse .osgi .framework .internal .core.BundleContextImpl.startActivator(BundleContextImpl.java:993) at org .eclipse .osgi .framework .internal.core.BundleContextImpl.start(BundleContextImpl.java:974) at org .eclipse .osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java: 346) at org .eclipse .osgi .framework.internal.core.AbstractBundle.resume(AbstractBundle.java: 350) at org .eclipse .osgi.framework.internal.core.Framework.resumeBundle(Framework.java: 1118) at org .eclipse .osgi .framework .internal .core.StartLevelManager.resumeBundles(StartLevelManager.java:634) at org .eclipse .osgi .framework .internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508) at org .eclipse .osgi .framework .internal .core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282) at org .eclipse .osgi .framework .internal .core.StartLevelManager.dispatchEvent(StartLevelManager.java:468) at org .eclipse .osgi .framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) at org.eclipse.osgi.framework.eventmgr.EventManager $EventThread.run(EventManager.java:297) Caused by: java.lang.ClassNotFoundException: org.eclipse.core.internal.runtime.auth.AuthorizationHandler at java.lang.ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org .eclipse .osgi .framework .internal.core.BundleLoader.findClassInternal(BundleLoader.java:429) at org .eclipse .osgi .framework.internal.core.BundleLoader.findClass(BundleLoader.java:369) at org .eclipse .osgi .framework.internal.core.BundleLoader.findClass(BundleLoader.java:357) at org .eclipse .osgi .internal .baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 16 more I cannot connect to any server. and I haven't got a clue of what is that. THX! Take care , Gabriela Radu :) www.gabrielaradu.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
[xwiki-users] JNDI Configuration for Jetty 5.1.5
Hi, I am using XE 1.3.2 and Mysql 5.0 with jetty 5.1.5. Can any one give a support for JNDI configuration of jetty 5.1.5 (Not jetty 6). Or is it same for both Jetty 5 jetty 6? Can any one help? Regards, Project trainees. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Problem with syntax
Hi! In version 1.1.2 I was able to continue list using \ on the next line, like: 1. lalalala\ #picture_macro() 1. rrererer\ #picture_macro() So the picture or some text would be in the list item. It was very nice when posting a big text with paragraphs, so you can actually see those paragraphs in a wiki code. But now (version 1.3) it doesn't work, and I'm forced to modify all the pages and use instead this syntax: 1. lalala\#picture_macro() 1. ererer\#picture_macro() Also, wiki code becomes unreadable when posting a big text. Ar cieтu, Mihails ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Problem with syntax
It's symbol \. Цитирование Mihails Agafonovs : Hi! In version 1.1.2 I was able to continue list using on the next line, like: 1. lalalala #picture_macro() 1. rrererer #picture_macro() So the picture or some text would be in the list item. It was very nice when posting a big text with paragraphs, so you can actually see those paragraphs in a wiki code. But now (version 1.3) it doesn't work, and I'm forced to modify all the pages and use instead this syntax: 1. lalala#picture_macro() 1. ererer#picture_macro() Also, wiki code becomes quot;unreadablequot; when posting a big text. Ar cie#1090;u, Mihails ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Ar cieтu, Mihails Links: -- [1] mailto:[EMAIL PROTECTED] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Creating a Toolbar of my own
Yes Glad to do that, but I think I will wait until I finish, I still want to do some ordering and filtering so the Toolbar Class objects can support more than one toolbar. When I am done I will put up an example. Ollie goldring, richard wrote: Mike, Can you document useful code snipets like this on the XWiki site? Thanks. Regards, Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike Oliver Sent: 22 May 2008 20:56 To: users@xwiki.org Subject: Re: [xwiki-users] Creating a Toolbar of my own Bingo we have a winner... #set ($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ToolbarClass' and obj.name'XWiki.ToolbarClassTemplate') #set ($toolbars= $xwiki.searchDocuments($hql)) #if ($toolbars.size() 0) #foreach ($toolbar in $toolbars) #set ($itemdoc = $xwiki.getDocument($toolbar)) #set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass')) #set ($imgsrc = $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon'))) * lt;a href=/xwiki/bin/view/$itemdoc.display('GotoPage')gt;lt;img src=$imgsrc/gt;lt;/agt; [$toolbar] br Mike Oliver wrote: Ok almost there... This line works with the Click here link, but the img link doesn't. * lt;img src=$imgsrc/gt; [Click here$itemdoc.display('GotoPage')] [$toolbar] br Mike Oliver wrote: Ok proding right along I got the icon attached to the toolbar page to display for each in the toolbars list, but the link on the image doesn't work. Here is the latest... #set ($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ToolbarClass' and obj.name'XWiki.ToolbarClassTemplate') #set ($toolbars= $xwiki.searchDocuments($hql)) #if ($toolbars.size() 0) #foreach ($toolbar in $toolbars) #set ($itemdoc = $xwiki.getDocument($toolbar)) #set ($itemobject = $itemdoc.getObject('XWiki.ToolbarClass')) #set ($imgsrc = $xwiki.getAttachmentURL($itemdoc,$itemdoc.display('UpIcon'))) * [lt;img src=$imgsrc/gt; gt; $itemdoc.display('GotoPage')] [$toolbar] br #the following is just to show what's in the properties using a couple different methods, I tried both above. $itemdoc.display('UpIcon') | $itemdoc.display('DownIcon') | $itemdoc.display('GotoPage') | $itemobject.getProperty('GotoPage').value br #end #else #info(There are no Toolbar documents in this wiki!) #end Mike Oliver wrote: Ok first problem solved the img link had the arguments in the wrong order so lt;mg src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton) /gt; was bad and lt;mg src=$xwiki.getAttachmentURL(Toolbar.AdvancedEditorButton,AEBtn0.jpg) /gt; was good. Now the question is, given the desire to show in the dashboard now and eventually in a panel later the icons named in the properties of the toolbar classes, how do I loop through the toolbars and build the displa from the properties? Mike Oliver wrote: I am making good progress on a new Class that has properties, style sheet and template that I created after following the Todo Tutorial. The ToolbarClass has the following properties Type/Name/SampleContent String/Title/Advanced Editor TextArea/Description/This button takes you to the advanced editor page String/UpIcon/AEBtn0.jpg String/DownIcon/AEBtn1.jpg String/DisabledIcon/AEBtn2.jpg String/GotoPage/Tools.AdvancedEditor Also following the Todo Tutorial I created the Toolbar Space Web Home page dashboard with #set ($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ToolbarClass' and obj.name'XWiki.ToolbarClassTemplate') #set ($toolbars= $xwiki.searchDocuments($hql)) #if ($toolbars.size() 0) #foreach ($toolbar in $toolbars) * [$toolbar] #end #else #info(There are no Toolbar documents in this wiki!) #end And I added the Comments object to the ToolbarClassTemplate and then added a couple of document and attached the UPIcon and DownIcon images as attachments. Going to the Web Home of the I see the list of the two document with the ToolbarClass object on them so cool beans just as the tutorial instructed with the names changed and bingo we have a winner. Now the tricky part, I want to show the attached images in the dashboard for each document, where the property of the Toolbar object for UpIcon is used to identifiy which attachment to display. I tried #set ($hql = , BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.ToolbarClass' and obj.name'XWiki.ToolbarClassTemplate') #set ($toolbars= $xwiki.searchDocuments($hql)) #if ($toolbars.size() 0) #foreach ($toolbar in $toolbars) * lt;mg src=$xwiki.getAttachmentURL(AEBtn0.jpg,Toolbar.AdvancedEditorButton) /gt; [$toolbar] #end #else #info(There are no Toolbar documents in this wiki!) #end where I know that AEBtn0.jpg is the attached image but that doesn't