On Jul 7, 2012, at 8:06 PM, Andre Cusson wrote:

> Hi C.M.,
> 
> I am not sure that this can help, but, thanks to Alain, for reading,since you 
> get the file dialog anyway, you would not specify the file on submission, so 
> I use:
> 
> <xf:submission  
> id="load"method="get"serialization="none"replace="instance"action="file://  
> <view-source:file:///>">
>       <xf:message  level="modeless"ev:event="xforms-submit-error">Submit 
> error.</xf:message>
> </xf:submission>
> 
> 
> And the button is
> 
> <xf:submit  submission="load">
>       <xf:label>Load</xf:label>
> </xf:submit>


Thank you; concrete examples are almost always helpful.

When I try to use this code in a test form, however, I get
messages saying "document.applets.xsltforms.readFile is 
not a function" (Firefox, Opera) or "Object #<HTMLAppletElement> 
has no method 'readFile'" (Chrome).   Perhaps this means
I need to do something on my server to ensure that the
applet is loaded correctly?  Or perhaps not:  I get the same
messages when I press the Load button in page 
http://www.hyperbase.com/library/hyperform/stratml/asset/xml/4psc.xml
which I assume is correctly configured.

Is there anything needed to ensure the applet loads correctly
other than (1) making sure xsltforms.jar is in the same directory
on the server as xsltforms.xsl and xsltforms.js? and (2) making
sure the user has not configured the browser to refuse to load
Java applets?


-- 
****************************************************************
* C. M. Sperberg-McQueen, Black Mesa Technologies LLC
* http://www.blackmesatech.com 
* http://cmsmcq.com/mib                 
* http://balisage.net
****************************************************************





------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to