Hi,
I'm looking about using orbeon and try some use case and for now, I need to get back document UID after saving data in a form. I read that this id is in xxforms:instance('fr-parameters-instance')/document so I may be able to get it (after learning this new language) but for now i tried to modify url with an id 'toto' as my url is http://localhost:8080/orbeon/fr/test/test/edit/toto and after saving the form I can see my data in the summary and the edit url is the same ! My question is to know if I can safely use this way to fill my forms? (my own application may generate UID before calling orbeon with the edit url) Thanks in advance Guillaume |
I am out of the office until 19th April *********************************************************************************************** This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.
Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.
Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards. *********************************************************************************************** The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG
|
Administrator
|
In reply to this post by Guillaume Huart
Guillaume,
It works because Form Runner calls the persistence API to retrieve the data corresponding to the id you provided ('toto'), but since there is no data, it keeps the original empty instance. When you save, it saves under the id you provided. What you do seems reasonable, and I can't think of why we would prevent this from working in the future, but of course you never know. If I were you, I'd go with this for now, and address any problem that might arrise in the future at that time. Alex On Wed, Apr 14, 2010 at 9:33 AM, Guillaume Huart <[hidden email]> wrote: > > Hi, > I'm looking about using orbeon and try some use case and for now, I need to > get back document UID after saving data in a form. I read that this id is in > xxforms:instance('fr-parameters-instance')/document so I may be able to get > it (after learning this new language) but for now i tried to modify url with > an id 'toto' as my url is > http://localhost:8080/orbeon/fr/test/test/edit/toto and after saving the > form I can see my data in the summary and the edit url is the same ! > My question is to know if I can safely use this way to fill my forms? (my > own application may generate UID before calling orbeon with the edit url) > > Thanks in advance > Guillaume > > -- > View this message in context: http://n4.nabble.com/document-UID-when-editing-tp1840095p1840095.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 |
Free forum by Nabble | Edit this page |