accept-post for form builder?

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

accept-post for form builder?

lacco
Hi,

I am successfully using orbeon forms with POSTing the initial instance. The next step is now that I would like to provide different "default form types" for the form builder by POSTing them to "orbeon/builder/new". As far as I see this doesn't work although I have "oxf.fr.detail.new.accept-post.*.* = true". Are there any exceptional cases in the code which prevent the form builder from consuming POSTed instances?

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: accept-post for form builder?

Alessandro  Vernet
Administrator
What do you mean by "default form type"? Are you saying that you want
to target a different form, created with Form Builder? If that is the
case, then you would need to do the posting to a different URL
depending on the form type. For instance, you could POST to
/fr/your-app/your-form/new/, if you want to use that initial instance
for a form in your-app / your-form.

Alex

On Thu, May 27, 2010 at 7:33 AM, lacco <[hidden email]> wrote:

>
> Hi,
>
> I am successfully using orbeon forms with POSTing the initial instance. The
> next step is now that I would like to provide different "default form types"
> for the form builder by POSTing them to "orbeon/builder/new". As far as I
> see this doesn't work although I have "oxf.fr.detail.new.accept-post.*.* =
> true". Are there any exceptional cases in the code which prevent the form
> builder from consuming POSTed instances?
>
> Thanks!
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/accept-post-for-form-builder-tp2233223p2233223.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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: accept-post for form builder?

lacco
I really mean /fr/orbeon/builder/new and not /fr/your-app/your-form/new . In my application, users are allowed to create form types, and they should be able create they're own templates (from the original src/resources/forms/orbeon/builder/form/template.xml). So if they create a new form type with the form builder, I would like to take their template, and not the default one.

As far as I have seen, the form builder takes the content of src/resources/forms/orbeon/builder/form/template.xml for the fr-form-instance. So I concluded that POSTing such form type templates to /fr/orbeon/builder/new should work - but it doesn't.

Do you understand now my problem better?
Reply | Threaded
Open this post in threaded view
|

Re: Re: accept-post for form builder?

Alessandro  Vernet
Administrator
Yes, I do understand now! That feature has been designed for forms you
create with Form Builder and that run on Form Runner, but since Form
Builder itself is a form which runs on Form Runner, I would also
expect this to work. It would take some digging through the code to
figure this out, which I don't have the time to do right now. You'll
let us know if you find something out (and of course we can always
help with issues like this through Developer Support).

Alex

On Thu, May 27, 2010 at 10:53 AM, lacco <[hidden email]> wrote:

>
> I really mean /fr/orbeon/builder/new and not /fr/your-app/your-form/new . In
> my application, users are allowed to create form types, and they should be
> able create they're own templates (from the original
> src/resources/forms/orbeon/builder/form/template.xml). So if they create a
> new form type with the form builder, I would like to take their template,
> and not the default one.
>
> As far as I have seen, the form builder takes the content of
> src/resources/forms/orbeon/builder/form/template.xml for the
> fr-form-instance. So I concluded that POSTing such form type templates to
> /fr/orbeon/builder/new should work - but it doesn't.
>
> Do you understand now my problem better?
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/accept-post-for-form-builder-tp2233223p2233538.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
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
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
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet