Re: [Xsltforms-support] applet-based local save/load using file://
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2011-03-09 21:17:30
|
Hi André, Here is my test case for the applet: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <title>Address Form</title> <xf:model> <xf:instance> <Address xmlns=""> <LocationStreetFullText/> <LocationCityName/> <LocationStateName/> <LocationPostalID/> </Address> </xf:instance> <xf:submission id="save" method="put" replace="none" action="file://"> <xf:message level="modeless" ev:event="xforms-submit-error">Submit error.</xf:message> </xf:submission> <xf:submission id="load" method="get" serialization="none" replace="instance" action="file://"> <xf:message level="modeless" ev:event="xforms-submit-error">Submit error.</xf:message> </xf:submission> </xf:model> </head> <body> <xf:group ref="/Address"> <fieldset> <legend>Mailing Address</legend> <xf:input ref="LocationStreetFullText"> <xf:label>Street: </xf:label> </xf:input> <br/> <xf:input ref="LocationCityName"> <xf:label>City: </xf:label> </xf:input> <br/> <xf:input ref="LocationStateName"> <xf:label>State: </xf:label> </xf:input> <br/> <xf:input ref="LocationPostalID"> <xf:label>Postal Code: </xf:label> </xf:input> </fieldset> </xf:group> <xf:submit submission="save"> <xf:label>Save to local disk</xf:label> </xf:submit> <xf:submit submission="load"> <xf:label>Restore from local disk</xf:label> </xf:submit> </body> </html> Do you have errors with it? Is it possible for you send me a link to your own test case? Thanks! -Alain Le 09/03/2011 14:25, ac a écrit : > Hi Alain, > > Unfortunately, I am still puzzled by the errors that I am getting from > trying to use applet-based save/load in XSLTForms. If this is a > version related issue, could you point me to a working version, or > indicate which file version I should pickup from SVN. > > If, rather, it is something else that I am doing wrong, could you > provide some indication? > > Does somebody else effectively use XSLTForms' new applet-based local > save/load features? if so, which version of XSLTForms and XSLTForms > components are you using? > > Thank you. > > Regards, > Andre |