Hi everyone. I have a field in my form which may or may not be shown based on some other input in the form (this is done with the ‘visibility’ expression on the particular
field). Upon submitting the form; reviewing it or looking at the generated pdf of the submitted data correctly excludes the hidden field. However, when configuring the system to POST the form XML to a specified URI (using the oxf.fr.detail.send.uri property) as part of the workflow-send functionality,
any values entered in any fields which are evaluated as invisible are indeed included in the XML form data. I’m not really sure if it is intended this way or not; but is there a way to exclude any values entered in fields which are invisible? Thanks for all help, -Håvard Denne e-posten og eventuelle vedlegg er fortrolige og kan inneholde opplysninger underlagt rettslig taushetsplikt. E-posten er utelukkende beregnet for den institusjonen eller personen den er sendt til eller ment sendt til. Dersom e-posten er sendt feil, bes du informere Gjensidige pr e-post eller telefon, dessuten slette e-posten og eventuelle vedlegg, uten å ta kopier eller videresende e-posten. Enhver bruk av informasjonen er i tilfelle ulovlig. Selv om denne e-posten og eventuelle vedlegg etter Gjensidiges overbevisning er fri for virus og andre feil som kan påvirke PC eller it-systemer, åpnes e-posten på mottakers ansvar. Gjensidige påtar seg intet ansvar for skade eller økonomisk tap grunnet skade, som følge av å motta, åpne eller bruke denne e-posten. -- 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 |
Administrator
|
Håvard,
There is a discrepancy so it seems. But is it not the opposite? I haven't had time to actually verify this, but I see in the code that: * saving the data to the database should keep non-visible nodes * sending to a URL should prune them -Erik 2010/8/16 Håvard Nesvold <[hidden email]>: > Hi everyone. > > > > I have a field in my form which may or may not be shown based on some other > input in the form (this is done with the ‘visibility’ expression on the > particular field). > > Upon submitting the form; reviewing it or looking at the generated pdf of > the submitted data correctly excludes the hidden field. > > However, when configuring the system to POST the form XML to a specified URI > (using the oxf.fr.detail.send.uri property) as part of the workflow-send > functionality, any values entered in any fields which are evaluated as > invisible are indeed included in the XML form data. > > > > I’m not really sure if it is intended this way or not; but is there a way to > exclude any values entered in fields which are invisible? > > > > Thanks for all help, > > -Håvard > > > > ________________________________ > Denne e-posten og eventuelle vedlegg er fortrolige og kan inneholde > opplysninger underlagt rettslig taushetsplikt. E-posten er utelukkende > beregnet for den institusjonen > eller personen den er sendt til eller ment sendt til. Dersom e-posten er > sendt feil, bes du informere Gjensidige pr e-post eller telefon, dessuten > slette e-posten og > eventuelle vedlegg, uten å ta kopier eller videresende e-posten. Enhver bruk > av informasjonen er i tilfelle ulovlig. > Selv om denne e-posten og eventuelle vedlegg etter Gjensidiges overbevisning > er fri for virus og andre feil som kan påvirke PC eller it-systemer, åpnes > e-posten > på mottakers ansvar. Gjensidige påtar seg intet ansvar for skade eller > økonomisk tap grunnet skade, som følge av å motta, åpne eller bruke denne > e-posten. > > > > -- > 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 |
Erik,
for me (using the most recent nightly build (22. August)), it is so that any invisible fields are indeed included in the submitted XML as described in my original post (together with any values if first entered before being evaluated as invisible).
Please verify this on your end - this may rule out my setup somehow being erroneous :) Thanks, Håvard 2010/8/21 Erik Bruchez <[hidden email]> Håvard, -- 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 |
I've tried this now also using the stable 3.8 release, and the invisible content is, correctly, not included in the posted XML for that release.
|
Free forum by Nabble | Edit this page |