Posted by
wburkart on
URL: https://discuss.orbeon.com/Querying-an-XML-database-eXist-db-tp1459077p1469033.html
Hello,
Not sure why I'm receiving this email ? I am not Markku. I asked for help in
the forum but this was not my issue ?
Here is my forum post below:
Hello,
I've finished making my form and now want to add a submit button that sends
the form info to a preset email address. I would also like to know where the
files are that i published after making my form ?
Am i supposed to find these files then upload them to my server/hosting
account directory ? I have installed the Apache Tomcat and Orbeon on my home
computer and built the form on there. Do i have to install Apache Tomcat and
Orbeon on my VPS server to be able to use this form i have created on my
home computer ? Or do i just upload the published files ? I apologize for my
confusion as i am new to the Orbeon form system. I have been reading the
documentation for hours but can't seem to figure out how to accomplish these
final steps to get up and running. It's all a little overwhelming to say the
least ! Any help or guidence would be greatly appreciated as i really love
the program and have spent hours making my form perfect and am excited to
get up and running with this great system.
Thank you in advance for any help or advice, Wayne
-----Original Message-----
From: Steve Bayliss [mailto:
[hidden email]]
Sent: Thursday, February 04, 2010 4:35 AM
To:
[hidden email]
Subject: [ops-users] RE: Re: RE: Querying an XML database (eXist-db)
Hi Markku
See the attached. It's pretty basic but it has the framework to illustrate
what I think you're asking.
Note that I'm not calling a service in the pipeline, but just doing a simple
xslt - but the principle's the same in terms of submitting to a service
declared in page-flow.xml and getting the results back to your page.
Make sure you've got your log4j configured properly and watch tomcat's log -
if there are any errors in your pipeline you'll see them there. Also might
be worth adding debug attributes in your pipeline so you can verify that
it's receiving the instance and calling the service correctly.
Hope that helps
Steve
-----Original Message-----
From: Markku Laine [mailto:
[hidden email]]
Sent: 03 February 2010 11:42
To:
[hidden email]
Subject: [ops-users] Re: RE: Querying an XML database (eXist-db)
Hi Steve,
On 1.2.2010, at 20.29, Steve Bayliss wrote:
> Hi Markku
>
>> Then, I tried to do the same but without using the call-xpl()
>> solution. I
>> never managed to make it work :( Could somebody help me out with
>> this one,
>
>> and provide me a working solution (XHTML+XForms code + XPL code) with
>> explanations?!?
>
> This sounds very similar to the question that Robin was just asking
> - those
> posts on the list should tell you how to expose your XPL as a
> service using
> page-flow.xml - you then call the service declared in page-flow.xml
> using a
> normal xforms submission.
>
> So it's basically what you have in your second example - but your
> pipeline
> needs to use a converter and the html serializer to actually send
> the data
> back to the browser, instead of having a data output.
Thanks for your help. I tried to add the serializers but the sample
app still does not work :( I feel a bit hopeless now as the StackTrace
does not provide any valuable information to me and I feel that I have
tried all possible solutions.
Could you maybe provide me the magic lines (both the xforms:submission
in the XHTML file and the code for the processor)? I would really
appreciate that!
Regards
-Markku
--
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