-
1. Re: Delete Attachments
szimano Sep 22, 2005 9:59 AM (in response to penguine)Hi,
For now you can't do it automatically (but attachment/page delete will be added soon),
For now you have to delete it manually from disk. To do it remove completely directory:
${pathToAttachements}/${PageName}-att/${AttachmentName}-dir
let's say you have attachment "picture.jpg" at page "Main" and you left filedatasource.properties as it was, then you have to delete:
/temp/wiki/Main-att/picture.jpg-dir
or under windows
c:\temp\wiki\Main-att\picture.jpg-dir
Note this is if you got wiki from portletswap or downloaded binaries/sources from JBoss Wiki webpage. If you checked out it from our SVN repo directory is:
/user/local/forge/wiki (/Main-att/picture.jpg-dir)
I hope this will help,
Tomek -
2. Re: Delete Attachments
penguine Oct 5, 2005 7:06 AM (in response to penguine)Sorry, but I can´t find any path you have mentioned.
I have done a "find . -name ..." but there is no file.
???? Where does wiki write the data?
Thank for your help.
Perhaps in the next Version there would be something more clearly. -
3. Re: Delete Attachments
penguine Oct 5, 2005 11:18 AM (in response to penguine)I have found the files in root of the filesystem.
JBoss has never storing files in a directory upper then jboss/server/default.
The tmp directory for the server ist jboss/server/$JBOSSSERVER/tmp.
I am glad that I have found it :-) -
4. Re: Delete Attachments
prasanthnag Nov 4, 2005 5:43 AM (in response to penguine)You have to create profile in wiki. Only logged in users can be able to delete the attachment from the web page.
-
5. Re: Delete Attachments
arunbbatchu May 31, 2006 1:14 PM (in response to penguine)In the binary beta jboss wiki portlet released on 10/31/05, I am still not able to delete attachments.
Is there a new release on the horizon? Should I be brave enough to use the alpha version? - Does it have the ability to delete attachments?