Re: Re: Caching of Form Runner file

Posted by Ralf Jung on
URL: https://discuss.orbeon.com/Caching-of-Form-Runner-file-tp2968048p2996748.html

Hi,

> This probably comes from get-source-form-submission here:
>
> http://github.com/orbeon/orbeon-forms/blob/master/src/resources/apps/fr/inc
> ludes/persistence-model.xml
>
> This caches the source of the form with xxforms:cache="true", which is
> pretty aggressive.
>
> This was solved by Form Builder invalidating that cache upon publish:
>
> http://github.com/orbeon/orbeon-forms/blob/master/src/resources/forms/orbeo
> n/builder/form/dialog-publish.xml
>
> Are you using publish?
>
> If not, you could change xxforms;cache to "false", or, you could
> somehow run the xxforms:invalidate-instances action, which will empty
> that cache:
>
> http://wiki.orbeon.com/forms/doc/developer-guide/xforms-performance-setting
> s
I did not do anything but editing the file, since I do not know how to
"publish" a form that Form Builder never saw. I thought all it did was just
copying the forms.xhtml around in the database?
At any rate, I am not using Form Runner anymore since it turned out I need
more flexibility and control about what's going on for this project. So I
directly use XForms and custom XQuery scripts in the database.

Kind regards,
Ralf Jung


--
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