Hi, Alex,

By working refresh, do you mean just clearing data from the form once it
has been saved? If you could provide a full example (it can be off-list if
you prefer), I'm happy to help test.

Best,
Tim


--
Tim A. Thompson
Discovery Metadata Librarian
Yale University Library



On Thu, Mar 12, 2020 at 12:26 PM Alessandro via Xsltforms-support <
[email protected]> wrote:

> Dear all,
> in passing from betterforms to xsltforms, now I have a very nice xsltform
> obtained through an xquery file of the following structure:
>
> xquery version "3.0";
> let $form :=
> <html xmlns="http://www.w3.org/1999/xhtml"; xmlns:xf="
> http://www.w3.org/2002/xforms";>
> .......
> </html>
> let $xslt-pi := processing-instruction xml-stylesheet {'type="text/xsl"
> href="../xsltforms/xsltforms.xsl"'}
>   return ($xslt-pi,$form)
>
> I use the form for displaying a list inside a table which new rows can be
> added to (or deleted from). Everything works the right way, except that
> after changes have been applied, there's no way of obtaining a working
> refresh of the form (not even by closing and re-starting the browser!). A
> problem that by contrast does not arise with .html files...
>
> As an alternative I have tryed to put the whole xq file code inside an
> Xquery function, in order to call the fanction from within an html file
> which could take advantage of exist-db templating system. But things do not
> work either (I guess it is not possible to create an xsltform inside an
> html file).
>
> It might be this is an issue that should be more properly reported to the
> exist-db mailing list, but for sure with betterforms the refresh was not a
> problem while using .xq files for creating forms.
> Best regards
> Alex
>
> --
> Inviato in modo sicuro con Tutanota. Ottieni la tua mailbox crittografata
> e senza pubblicitĂ :
> https://tutanota.com
> _______________________________________________
> Xsltforms-support mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xsltforms-support
>
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support

Reply via email to