While filling the Orboen form, if the changes are unsaved. I've attached the screenshot of this dialog box.
-- I have a specific requirement to remove this dialog completely. In my system, when the user navigates to another tab, the form data is saved using Javascript. So I do not need this dialog box. How to achieve this? You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. leave site.png (18K) Download Attachment |
Administrator
|
Hi Kush,
Right now this feature can't be disabled. For now, I've added the Request for Enhancement linked below to track this. https://github.com/orbeon/orbeon-forms/issues/3584 Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
-- Regarding the popup to leave the site, can the underlying code be removed completely from the Orbeon war and then build the war file again? If so, can you please suggest where the code is located? If it cannot be removed completely, a hacky way would do too. Thanks, kp On Friday, May 11, 2018 at 3:30:16 AM UTC+5:30, Alessandro Vernet wrote: Hi Kush, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Kush,
In 2017.2, that code was in `check-dirty-script.xhtml`. But I can't encourage or help much with custom changes to the product (if you need more help on this, Dev Support is the way to do, but you already know about that!). This being said, that change shouldn't be too hard to do; good luck ;). Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alex,
-- I was able to find the code in `check-dirty-script.xhtml` in 2017.2. And it is very easy to customize it. However, I was not able to find this file in the master branch. I believe this save prompt might be configured in a different file in the master branch. Which file is it? Also, can you please provide steps to build a WAR out of the customized project? Thanks, Kush On Thursday, May 17, 2018 at 4:07:23 AM UTC+5:30, Alessandro Vernet wrote: Hi Kush, You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Administrator
|
Hi Kush,
Correct: since the 2017.2 release, this code has been improved and rewritten in Scala. It is now in `FormRunnerPrivateAPI.scala`. We have some documentation on how to build Orbeon Forms on: https://doc.orbeon.com/contributors/building-orbeon-forms.html Alex ----- -- Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Administrator
|
We have now implemented a new property to disable the warning for Orbeon
Forms 2018.2: https://doc.orbeon.com/configuration/properties/form-runner/form-runner-detail-page#warning-the-user-when-data-is-unsafe -Erik -- Sent from: http://discuss.orbeon.com/ -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email]. |
Free forum by Nabble | Edit this page |