Menu

#18 Save should be disabled for read only

open
nobody
None
5
2003-12-19
2003-12-19
Anonymous
No

The save action should be disabled for read only files.
Currently it gives the following error when trying to save
a read-only file:

java.io.FileNotFoundException: E:\work\Sample\build.xml
(Access is denied)

at java.io.FileOutputStream.open\(Native

Method)

at java.io.FileOutputStream.<init>

(FileOutputStream.java:176)

at java.io.FileOutputStream.<init>

(FileOutputStream.java:70)

at

org.outerj.pollo.xmleditor.model.XmlModel.store
(XmlModel.java:236)

at

org.outerj.pollo.xmleditor.model.XmlModel.store(Xml

Discussion


Log in to post a comment.