Problem with submission

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

Problem with submission

Ger G
Hi,

I'm new to orbeon and XForms in general.

I had to build some forms that generate xml output, so i thought orbeon would be the best option.
but i'm having a problem that i cannot figure out:

I've 8 different forms, that generate 8 different output files (well, not files actually, i save them in eXist). The problem is that i want to work with only one big xml file. So im looking forward to save all the forms output in only one big xml eXist entry (each one in a different node of the xml structure). Is this possible?

i've tried using target attribute in the xforms:submission, but it didn't work.

 any idea? thanks in advance!

German

PD: sory for my english!


--
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
Reply | Threaded
Open this post in threaded view
|

Re: Problem with submission

Hank Ratzesberger

On Jul 29, 2009, at 8:11 AM, Ger G wrote:

Hi,

I'm new to orbeon and XForms in general.

I had to build some forms that generate xml output, so i thought orbeon would be the best option.
but i'm having a problem that i cannot figure out:

I've 8 different forms, that generate 8 different output files (well, not files actually, i save them in eXist). The problem is that i want to work with only one big xml file. So im looking forward to save all the forms output in only one big xml eXist entry (each one in a different node of the xml structure). Is this possible?

i've tried using target attribute in the xforms:submission, but it didn't work.

 any idea? thanks in advance!

Hi German,

In eXist, you can an use collection() to query over all the documents as 
though they were one.  That way you could keep 8 separate xml files
and use the REST interface to PUT them there.

Otherwise, you can use XQuery and the XUpdate extensions in eXist
to append/replace nodes .  You should be able to also use the REST
interface to  POST such a query.

I hope that is to your point.

--Hank


Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
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
Reply | Threaded
Open this post in threaded view
|

Orbeon form builder example

Karolin Heiss
In reply to this post by Ger G
Hi,

I am looking for a powerful XForm builder to create simple XFroms
without programming.
I got very excited seeing the screencast of the Orbeon Form Builder.
But trying to make me first steps, i am having some problems :-( using
Orbeon Forms 3.7.1 (Developer Release)

1.
I tried to make my own forms on different computers now, but always get
Java heap space Errors after a few clicks even if i set the
CATALINA_OPTS="-server -Xmx1024m" in catalina.bat.
Orbeon Form Builder seems to be very slow in general - is that normal
or are there other settings i can try?

2.
Beeing ob your Mailing List reading the mails and looking at the source
code of the examples I start to doubt, that I can create XFroms based on
my own XML Schemas without editing the generated code at all. Is that
right?
What I try to do is an XForm, based on my own XSD. The form should show
data I already have in a XML.
Is there any example I can load in the form builder?

Thanks you so much for you help :-)
Greetings from Switzerland,

Karolin


--
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
Reply | Threaded
Open this post in threaded view
|

RE: Orbeon form builder example

praveen.tyagi
Karolin,

For point one below, related to java heap space,
I modified JAVA_OPTS in Catalina.bat with additional parameter –Xms256m –Xmx512,
It worked for me, can try for yourself.

Cheers
Praveen

-----Original Message-----
From: Karolin Krieg [mailto:[hidden email]]
Sent: Thursday, July 30, 2009 3:01 PM
To: [hidden email]
Subject: [ops-users] Orbeon form builder example

Hi,

I am looking for a powerful XForm builder to create simple XFroms without programming.
I got very excited seeing the screencast of the Orbeon Form Builder.
But trying to make me first steps, i am having some problems :-( using Orbeon Forms 3.7.1 (Developer Release)

1.
I tried to make my own forms on different computers now, but always get Java heap space Errors after a few clicks even if i set the CATALINA_OPTS="-server -Xmx1024m" in catalina.bat.
Orbeon Form Builder seems to be very slow in general - is that normal or are there other settings i can try?

2.
Beeing ob your Mailing List reading the mails and looking at the source code of the examples I start to doubt, that I can create XFroms based on my own XML Schemas without editing the generated code at all. Is that right?
What I try to do is an XForm, based on my own XSD. The form should show data I already have in a XML.
Is there any example I can load in the form builder?

Thanks you so much for you help :-)
Greetings from Switzerland,

Karolin

Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.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
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon form builder example

Erik Bruchez
Administrator
In reply to this post by Karolin Heiss
Karolin,

WIth a 1GB heap, you should certainly not get such out of memory errors.

1. It could be that your setting is not taken into account (that
happens to the best of us!).
2. Are those permgen errors? If so, try -XX:MaxPermSize=128m or greater value.

We are aware of slowness with Form Builder and we are working on it.
Also we recommend you use a "modern" browser as client (which means
non-IE).

Currently Form Builder produces its own data structure:

http://wiki.orbeon.com/forms/doc/user-guide/form-builder-user-guide#TOC-Advanced:-XML-representation-of-for

If you want to use your own schema, you will have to write some custom
code to perform transformations. This could be done in a custom
persistence layer. We would like to have enhanced support for this in
Form Builder, but that will likely depend on customers sponsoring the
feature.

-Erik

On Thu, Jul 30, 2009 at 2:30 AM, Karolin Krieg<[hidden email]> wrote:

> Hi,
>
> I am looking for a powerful XForm builder to create simple XFroms
> without programming.
> I got very excited seeing the screencast of the Orbeon Form Builder.
> But trying to make me first steps, i am having some problems :-( using
> Orbeon Forms 3.7.1 (Developer Release)
>
> 1.
> I tried to make my own forms on different computers now, but always get
> Java heap space Errors after a few clicks even if i set the
> CATALINA_OPTS="-server -Xmx1024m" in catalina.bat.
> Orbeon Form Builder seems to be very slow in general - is that normal
> or are there other settings i can try?
>
> 2.
> Beeing ob your Mailing List reading the mails and looking at the source
> code of the examples I start to doubt, that I can create XFroms based on
> my own XML Schemas without editing the generated code at all. Is that
> right?
> What I try to do is an XForm, based on my own XSD. The form should show
> data I already have in a XML.
> Is there any example I can load in the form builder?
>
> Thanks you so much for you help :-)
> Greetings from Switzerland,
>
> Karolin
>
>
> --
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon form builder example

Karolin Heiss
Hello Erik,

I want to pick up my question from 2 years ago about designing xForms based on a given XSD.
Every xForm I want to design has a different XSD.

Do you have any news, is something done already or in the pipeline?

Thank you for your answer,

Karolin
Reply | Threaded
Open this post in threaded view
|

Re: Re: Orbeon form builder example

Erik Bruchez
Administrator
Karolin,

We still don't have an XSD-to-XForms tool.

However, there is a new feature in nightly builds: you can now specify
your own custom XML format into Form Builder. This requires you to
then manually bind every control to that custom XML with XPath
expressions.

-Erik

On Tue, Jun 14, 2011 at 12:41 AM, Karolin Krieg <[hidden email]> wrote:

> Hello Erik,
>
> I want to pick up my question from 2 years ago about designing xForms based
> on a given XSD.
> Every xForm I want to design has a different XSD.
>
> Do you have any news, is something done already or in the pipeline?
>
> Thank you for your answer,
>
> Karolin
>
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Problem-with-submission-tp44632p3595861.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Orbeon form builder example

Karolin Heiss
Hey Erik,

thanks for your quick answer.

I tested the latest nightly build.
It doesn't work like I expected. For example my custom XML changed by adding or renaming controls.

Do you have more informations about the project, except this I found:
https://sites.google.com/a/orbeon.com/forms/projects/form-runner-builder/form-builder-custom-xml


Cheers, Karolin
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Orbeon form builder example

Erik Bruchez
Administrator
Karolin,

There might still be bugs! This part of Form Builder is undergoing a
pretty big rewrite at this time anyway.

But basically the plan is that adding/renaming controls must not
modify your custom XML.

-Erik

On Thu, Jun 16, 2011 at 12:41 AM, Karolin Krieg <[hidden email]> wrote:

> Hey Erik,
>
> thanks for your quick answer.
>
> I tested the latest nightly build.
> It doesn't work like I expected. For example my custom XML changed by adding
> or renaming controls.
>
> Do you have more informations about the project, except this I found:
> https://sites.google.com/a/orbeon.com/forms/projects/form-runner-builder/form-builder-custom-xml
>
>
> Cheers, Karolin
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Problem-with-submission-tp44632p3601747.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
> 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
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Orbeon form builder example (Abwesenheit)

Karolin Heiss
Guten Tag,

ich bin am 20.06. nicht im Büro und werde die E-Mail später beantworten.

Schöne Grüsse, Karolin Krieg

>>> "Erik Bruchez [via Orbeon Forms (ops-users)]" <[hidden email]> 06/21/11 07:45 >>>



Karolin,

There might still be bugs! This part of Form Builder is undergoing a
pretty big rewrite at this time anyway.

But basically the plan is that adding/renaming controls must not
modify your custom XML.

-Erik

On Thu, Jun 16, 2011 at 12:41 AM, Karolin Krieg <[hidden email]> wrote:

> Hey Erik,
>
> thanks for your quick answer.
>
> I tested the latest nightly build.
> It doesn't work like I expected. For example my custom XML changed by adding
> or renaming controls.
>
> Do you have more informations about the project, except this I found:
> https://sites.google.com/a/orbeon.com/forms/projects/form-runner-builder/form-builder-custom-xml
>
>
> Cheers, Karolin
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Problem-with-submission-tp44632p3601747.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.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
> 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


_______________________________________________
If you reply to this email, your message will be added to the discussion below:
http://orbeon-forms-ops-users.24843.n4.nabble.com/Problem-with-submission-tp44632p3613238.html

To unsubscribe from Problem with submission, visit