oxf.fr.detail.send.success.prune

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

oxf.fr.detail.send.success.prune

goral
Hi
How this property works?
I set this to true or false and in filed xml saved in mysql i had field (non-relevant) witch is hidden filled out.
Why? How to make orbeon form runner to remove non-relevant fields (field " Visibility" in form builder).

<property as="xs:boolean"  name="oxf.fr.detail.send.success.prune.*.*"   value="false|true"/>

Thank You for help.
Reply | Threaded
Open this post in threaded view
|

Re: oxf.fr.detail.send.success.prune

Alessandro  Vernet
Administrator
Hi,

This property has no effet on the data saved to MySQL; it only affects the data sent by the workflow-send button (see link below). Because of the way XForms works, Orbeon Forms needs all the elements to be kept as part of the data, even if they are not relevant. However of course, they can be removed from data if that data is only sent to a 3rd-party service, as is the case for the workflow-send, and isn't used anymore by Orbeon Forms when editing a form that was previously saved.


Does this make sense?

Alex


On Mon, Mar 4, 2013 at 6:51 AM, goral <[hidden email]> wrote:
Hi
How this property works?
I set this to true or false and in filed xml saved in mysql i had field
(non-relevant) witch is hidden filled out.
Why? How to make orbeon form runner to remove non-relevant fields (field "
Visibility" in form builder).

<property as="xs:boolean"  name="oxf.fr.detail.send.success.prune.*.*"
value="false|true"/>

Thank You for help.




--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/oxf-fr-detail-send-success-prune-tp4656299.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




--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @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: oxf.fr.detail.send.success.prune

goral
In reply to this post by goral
Yes, thank You
Reply | Threaded
Open this post in threaded view
|

Re: oxf.fr.detail.send.success.prune

goral
This post was updated on .
In reply to this post by Alessandro Vernet
It dosen't work i changed.

<property as="xs:string"  name="oxf.fr.detail.buttons.*.*" value="save workflow-send"/>
<property as="xs:string" name="oxf.fr.detail.send.success.method.*.*" value="post"/>
<property as="xs:anyURI" name="oxf.fr.detail.send.uri.*.*" value="http://10.10.101.58/saveForm.html"/>
<property as="xs:boolean" name="oxf.fr.detail.send.success.prune.*.*" value="true"/>

I have also
<property as="xs:anyURI"  name="oxf.fr.persistence.app.uri.*.*.*" value="/fr/service/mysql"/>
<property as="xs:anyURI" name="oxf.fr.persistence.service.mysql.datasource" value="mysql"/>

1. And i have still filled out fileds whitch are in non-relevant section in posted XML. Why?
2. Form Runner also save posted XML to database (mysql) is that correct?
Reply | Threaded
Open this post in threaded view
|

Re: oxf.fr.detail.send.success.prune

Alessandro  Vernet
Administrator
Hi,

1. Pruning was implemented post-3.9, so you'll need to use 4.0 for this.
2. Correct; workflow-send also saves the data in the persistence layer (non-pruned), in addition to sending it to your service (in 4.0, pruned by default).

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: oxf.fr.detail.send.success.prune

goral
AD 1. Thanks, it's working
AD 2. Ok
Reply | Threaded
Open this post in threaded view
|

Re: oxf.fr.detail.send.success.prune

Alessandro  Vernet
Administrator
Hi,

About #1, I'm glad this works.

Alex
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet