Hey all,
can someone please help me to understand...:
1) if I have data that needs to be submit to a example.xq that works
with this data in an eXistDB,
what is the best way?
Right now I do a submission but then the page changes because the
example.xq does return data...
But I don´t want my form to change.
I want to stay in the same page and depending on what my example.xq
returns I want to continue...
2) How can I use the returned value from my example.xq to create a
message in orbeon:
Here a scenario:
User fills out a form and presses "save". My submission posts the data
to my save.xq, this checks if there is already a similar entry.
If there is one it does not save and gives back <alert>already in
database</alert>.
This is used to create a message in orbeon.
If there is no entry, it is saved and it returns <ok>ok,save</ok>
This should be also create a message like: your entry was saved....
The thing is that all described above does work right now but only on
html pages created with my xquery.
But I don´t want to leave the page...
So here my question:
Am I right when I use "subissions" in cases like this, or should I use
a xpl...
Please, a small description to understand a little bit more the orbeon-
system would be great!!!
THX so much!!!!!
--
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
OW2 mailing lists service home page:
http://www.ow2.org/wws