On 01/08/2014 07:19 AM, Gerritjan Koekkoek wrote: > Hi, > I have a class with a text field for holding a reference to a photo. > I would like to modify the sheet to add - modify objects of this class. > After the modification the sheet should display > - a default image if the object attribute 'photo' is empty (like the avatar > image for a xwiki user) > - a Button to modify the attribute > - When the user clicks on a pop-up like the image selector in the user > avatar. > > My issue is that the class was developed in a very early version of XWiki. > On XWiki.org I found: > Attachment Selector Macro > This macro seems pretty close to what I want. > But the sheet is still in wiki version 1. > > How can I use the macro in a sheet that is linked to the class? > > Gerritjan
You can't, you must upgrade to the 2.0 or 2.1 syntax. -- Sergiu Dumitriu http://purl.org/net/sergiu _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
