On 07/28/2010 12:05 AM, Henry Mok wrote: > > I have a question about having the applet automatically save the edited > document. I tried this feature using the application and it worked > great. We are using the webdev plugin to save to a remote file. > > > > But when I deploy this to the applet, it doesn’t seem to work. Neither > the “Max modifications before saving” or “Idle time” triggers a save. I > am running the applet with the following options. > > > > <param name="argument27" value="-putpref"> > > <param name="argument28" value="autoSaveInterval"> > > <param name="argument29" value="30"> > > <param name="argument30" value="-putpref"> > > <param name="argument31" value="autoSaveTimeout"> > > <param name="argument32" value="30"> >
This is correct. See http://www.xmlmind.com/xmleditor/_distrib/doc/help/com.xmlmind.guiutil.PreferencesEditorDialog.html#saveOptions > <param name="argument33" value="-putpref"> > > <param name="argument34" value="makeBackupFiles"> > > <param name="argument35" value="true"> This is unrelated to auto-save. > > > Is this correct? Yes. > Is there any problems with the save when dealing with a > remote file (webdav)? Not to my knowledge. Note that only the Editor2 applet supports auto-save. Editor1 does not because in the case of Editor1 (see http://www.xmlmind.com/xmleditor/xxe_applet.html ), it does not make sense to do so. We have not tested auto-save in the Editor2 applet. By design, it should work, but may be there is a glitch in the case of the applet. [1] Please confirm that you are using the Editor2 applet. [2] If this is the case, please take a look at all the status and error messages. In principle, each time auto-save is triggered, you should see messages. If you confirm that it does not work, we'll try to fix the bug ASAP. Please do not wait too much, because we are about to release XXE v4.6.1. > Is there any way of triggering a save through applet scripting? > > > > Do the preferences that you set in the application carry over to the > applet when you deploy it? Yes. > If I set up the preferences the way I like it, do I still have to use the > putprefs to make sure the applet and the > application work the same way? No. -- XMLmind XML Editor Support List [email protected] http://www.xmlmind.com/mailman/listinfo/xmleditor-support

