Example of posting the initial instance

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

Example of posting the initial instance

Milen Dyankov
According to this http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties#TOC-Initial-Instance-Posted-to-the-New-
one can post Base64 encoded form for Orben to create the initial instance. Can someone provide a working example of this scenario?

I have tried to post Base64 encoded XML from Java code as well as using simple HTML form (as described in the example given in the above mentioned page) and it doesn't seem
to work. May be my assumption is wrong but I expected to have form fields filled up with data from the initial instance as soon as the form is displayed.  This does not
happen though. In fact there is no difference to how Orbeon behaves without posting the data. No error message in logs either. Yes, I have set
"oxf.fr.detail.new.accept-post.*.*" property to "true"


Regards,
Milen Dyankov



--
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: Example of posting the initial instance

lacco
After having read [1], I stumpled upon exactly the same problem. I think the documentation is just wrong - in persistence-model.xml fr-form-data is read instead of form-data. Could someone update the documentation under [1] and replace "form-data" with "fr-form-data", please?


[1] http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner#TOC-Initial-instance-posted-to-the-New-
Reply | Threaded
Open this post in threaded view
|

Re: Re: Example of posting the initial instance

Alessandro  Vernet
Administrator
Good catch. This is now fixed in the documentation on the wiki; sorry
about that one, and thank you for reporting this.

Alex

On Wed, May 12, 2010 at 5:05 AM, lacco <[hidden email]> wrote:

>
> After having read [1], I stumpled upon exactly the same problem. I think the
> documentation is just wrong - in persistence-model.xml fr-form-data is read
> instead of form-data. Could someone update the documentation under [1] and
> replace "form-data" with "fr-form-data", please?
>
>
> [1]
> http://wiki.orbeon.com/forms/doc/developer-guide/configuration-properties/configuration-properties-form-runner#TOC-Initial-instance-posted-to-the-New-
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Example-of-posting-the-initial-instance-tp44172p2195925.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