processor / api to access instances?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

processor / api to access instances?

Florian Schmitt-2
Hi,

is there a way to programmatically access the instances of an xform? I'm
searching a way to backup instances while the users are editing them.

florian





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: processor / api to access instances?

Alessandro Vernet
Administrator
Hi Florian,

Is this to provide some kind of auto-save feature? I.e. instances are
saved while the users is editing the page, in case say they close the
browser by mistake. If this is the case, you can write some JavaScript
in the page that dispatches an event at a regular interval. When you
get this event in XForms, you can then run a submission which posts
the data to a service which saves it. For dispatchEvent(), see:

http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-javascript-events

Alex

On 3/1/07, Florian Schmitt <[hidden email]> wrote:

> Hi,
>
> is there a way to programmatically access the instances of an xform? I'm
> searching a way to backup instances while the users are editing them.
>
> florian
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>

--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: processor / api to access instances?

Florian Schmitt-2
Hi Alessandro,

> Is this to provide some kind of auto-save feature? I.e. instances are
> saved while the users is editing the page, in case say they close the
> browser by mistake.

That's exactly the function i have in mind :-)

 > If this is the case, you can write some JavaScript
> in the page that dispatches an event at a regular interval. When you
> get this event in XForms, you can then run a submission which posts
> the data to a service which saves it. For dispatchEvent(), see:
>
> http://www.orbeon.com/ops/doc/reference-xforms-ng#xforms-javascript-events

That's a good idea, i will try this solution. Thank you very much!


florian





--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws