question about building triggers in eXist

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

question about building triggers in eXist

joyce.wang
Hi,
Sorry for last empty posting, I don't know why, but happened.

My question is:
In my XForms, the data in the XForms will store in the eXist DB. How to build triggers in the eXist to tell me the data file is stored? Then I will do an action on the data file. How to check this? Please I need help.

Thanks,

Joyce



--
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: question about building triggers in eXist

fl.schmitt(ops-users)
Hi Joyce,

> In my XForms, the data in the XForms will store in the eXist DB. How
> to build triggers in the eXist to tell me the data file is stored?
> Then I will do an action on the data file. How to check this?

As this is eXist-specific, help may also be available trough the
eXist-open mailinglist. Personally, i don't have experience with working
with triggers in exist, but there's some documentation about that
feature in the eXist xmldb API documentation:

http://www.exist-db.org/api/org/exist/collections/triggers/Trigger.html

HTH
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: question about building triggers in eXist

Daniel E. Renfer
In reply to this post by joyce.wang
Hello,

Do you truly need a trigger to fire after update, or is it simply a
matter of you needing to perform some operation on the data once it's
submitted? I'm assuming you're accessing the eXist DB using the REST
interface. Is it possible to instead have your XForms point at a URL
controlled be Orbeon Forms? (possibly even mirroring the structure of
your db)

Once you have a pipeline with the submission, you could either: 1)
store the data, and then run a second XQuery to perform your
modifications, or 2) modify the submission appropriately, and then
store that.

--
Daniel E. Renfer
http://kronkltd.net/


On 5/15/07, [hidden email] <[hidden email]> wrote:
> Hi,
> Sorry for last empty posting, I don't know why, but happened.
>
> My question is:
> In my XForms, the data in the XForms will store in the eXist DB. How to build triggers in the eXist to tell me the data file is stored? Then I will do an action on the data file. How to check this? Please I need help.
>
> Thanks,
>
> Joyce



--
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