Hussein Shafie <hussein at xmlmind.com> schrieb am 05.12.2008 15:48:02:
> Peter.Schulte at gad.de wrote: > > > > we are using preconfigured templates with predefined filerefs e.g. for > > figures: > > > > <elementTemplate name="simple" selectable="override"> > > <imagedata xmlns="" fileref="../figures/???" /> > > </elementTemplate> > > > > Unfortunately the file chooser dialog box (XMLmind 4.1.0) ignores the > > predefined folder in the fileref. Instead it opens the folder which was > > opened the last time. > > > > The file chooser of the Attributes tool always worked this way. Making > it work another way may be convenient for some cases and inconvenient in > some other cases, therefore we are not convinced that we must change this. > > The workaround is to double-click on the image placeholder. A > specialized dialog box should appear. And because it is more specialized > than the file chooser of the Attributes tool, it behaves as > expected. > > Thank you for your response. In the meantime I have found that the problem is caused by the question marks. If I replace the "???" or delete the question marks the file chooser dialog, which is diplayed after a double-click on the image placeholder, works as expected. There must have been a change from 3.2.0 to 4.1.0, because we have used this fileref suggestion string from the beginning. By the way: Is it possible to write a macro command that allows dragging an image in the clipboard and dropping it on the image placeholder? Such a command should only ask for the filename in order to save the image and to set the fileref-attribute of the imagedata element. Best Regards Peter Schulte GAD eG - IT f?r Banken GAD-Stra?e 2-6 48163 M?nster www.gad.de Vorstand : Anno Lederer (Vors.), Dr. Elmar Pritsch (stv. Vors.), J?rg Dreinh?fer, Friedhelm Wagner Aufsichtsratsvorsitzender: Wilfried Guttmann Sitz: M?nster/Westf., Amtsgericht M?nster, Genossenschafts-Register 337 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://www.xmlmind.com/pipermail/xmleditor-support/attachments/20081206/62193fe1/attachment.htm

