W3C home > Mailing lists > Public > www-forms@w3.org > October 2005

RE: Loading & saving documents

From: Flinton Adam <Adam.Flinton@cfh.nhs.uk>
Date: Wed, 5 Oct 2005 18:46:01 +0100
Message-ID: <595299DD7F30014BBCE48B93DCB6065203053427@EXCHAQ2.nhsia.nhs.uk>
To: "Allan Beaufour" <abeaufour@novell.com>,<www-forms@w3.org>

Is it possible to use a Xform (or even page with javascript in it) to
load an another Xform?

i.e. If the initial page allowed the capture of the URL to the document
& then on clicking a button somehow filled in the src in

    <xf:instance src="" id="someid">
    </xf:instance>


With the URL to the required file & then loaded the model?

i.e. either pass the (modified) model as output to the browser which
then loads it or write the model out as a file & then tell the browser
to load that file?

Failing that, an invisible applet?
Javascript + XSLT?

Failing that, has anyone any recommendations for a small fast easy to
package up jsp server? i.e. This is for an end user type application but
must support a "disconnected user". 

Surely a put operation will write to a given URL where that URL is a
local file?


Adam

> -----Original Message-----
> From: www-forms-request@w3.org 
> [mailto:www-forms-request@w3.org] On Behalf Of Allan Beaufour
> Sent: 05 October 2005 09:49
> To: www-forms@w3.org
> Subject: Re: Loading & saving documents
> 
> 
> Tuesday 04 October 2005 15:52 skrev Flinton Adam:
> > I can start off hosting the page/form itself within a jsp but the 
> > files to be opened would always be on the user's local disk & would 
> > need to be persisted back to that disk.
> 
> The tricky bit is how to let the user choose what file to 
> load from and store to. As long as you have a server 
> involved, the server could create an instance with the 
> possible data documents. The user could then select a 
> location with a select1, triggering a submission that loads 
> the appropriate instance data ... or creates it if the user 
> chooses a new name.
> 
> Without a server, it's possible to load and store from the 
> same document, but not letting the user choose one.
> 
> Of course you get a bit of help from XForms Buddy, but it's 
> not exactly smooth, and you still depend on something "extra".
> 
> --
> Allan Beaufour
> Linux Software Engineer
> 
> Novell, Inc.
> Software for the Open Enterprise
> www.novell.com/open
> 
> 

This e-mail is confidential and privileged. If you are not the intended recipient please accept our apologies; please do not disclose, copy or distribute information in this e-mail or take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it. Thank you for your co-operation.
Received on Wednesday, 5 October 2005 17:44:44 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 10 March 2012 06:22:01 GMT