RE: Re: RE: RE: Re: RE: Querying an XML database (eXist-db)

Posted by wburkart on
URL: https://discuss.orbeon.com/Querying-an-XML-database-eXist-db-tp1459077p1469170.html

Hello,

I'm not sure what you mean. Here is what I need to accomplish. I need the form I have designed with orbeon forms to be the index page of my website. I need users to access this page through the internet at www.mysite.com/myorbionform.html and i need the form data to be sent to my email address when a submit button is clicked. Also I would like an auto response email sent to the user upon submission. Please be as detailed as possible on how to accomplish these basic tasks. I'm a little confused at how to accomplish this. I have attached a sample of the form I have created. This form is supposed to be the main index page of my website. It's a credit application. I am installing Apache Tomcat and Orbeon on my VPS server right now.

Thank you, Wayne

-----Original Message-----
From: Einar Moos [mailto:[hidden email]]
Sent: Thursday, February 04, 2010 8:51 AM
To: [hidden email]
Subject: [ops-users] Re: RE: RE: Re: RE: Querying an XML database (eXist-db)

Wayne,

if you are working on applications that are going to be shared by other users (say in a company) my experience has been to deploy Orbeon on Tomcat on a VPS for internal use while development was done on a PC. Once the form is loaded through intranet by as many users who have access, it works quite well.
We deployed eXist on another server, for both security and efficiency.

However, our applications were not created with Form Builder.

cheers

-- einar







On Thu, Feb 4, 2010 at 5:24 PM, Wayne Burkart <[hidden email]> wrote:

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


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

form example.png (204K) Download Attachment