Re: Problems on a sample XRX applications - partially solved

Maurizio Neri via Exist-open <[email protected]> Mon, 18 Mar 2024 07:13:51 +0100
Newsgroups gmane.text.xml.exist
Message-ID <[email protected]>
Hello everybody!

I've solved the most problematic problem that I had with the xrx example 
code - I was unable to store a new entry.

The problem is in the edit.xq code: the instance in the model and the 
submit elements must be the same. So I had to change "my-task" into 
"save-data".

I'm happy to ear that Fore is available and I 'll give it a try, when I 
can.

I've used betterForm years ago and it was a wonderful tool, so I think 
Fore is surelly a great tool too.

Thank you Joern!


Best regards.

M_a_u_r_i_z_i_o
N_e_r_i





Il 17/03/2024 13:47, Joern Turner ha scritto:
> Hi Maurizio,
>
> for the XForms part you might also like to have a look at 
> https://github.com/Jinntec/Fore which follows the lines of XForms but 
> in pure HTML.
>
> I was preparing an eXist-db app showcasing it but due to time 
> constraints wasn't able to roll it out yet.
>
> Though Fore is not 100% XForms (by intention) it should be very easy 
> to port XForms code to Fore.
>
> hth,
>
> Joern
>
>
>
> On Sun, Mar 17, 2024 at 11:25 AM Maurizio Neri via Exist-open 
> <[email protected]> wrote:
>
>     Hello everybody,
>     I have downloaded and installed exist-db version 6.2.0 on my
>     windows 7
>     laptop.
>     I installed also xsltforms application (samples application and
>     library)  and I have tried to make my first XRX application as is
>     described in
>
>     "http://www.exist-db.org/exist/apps/doc/beginners-guide-to-xrx-v4".
>
>     While list item and view item functions works as espected, the
>     application as is described in the article doesn't work for
>     "search" and
>     "insert a new item" operations.
>     Can anybody confirm the the code in the article is ok? Where can I
>     get
>     other basic xrx sample application ?
>     Thank you for the attentions.
>
>     Best regards.
>     M_a_u_r_i_z_i_o
>     N_e_r_i
>
>
>
>     _______________________________________________
>     Exist-open mailing list
>     [email protected]
>     https://lists.sourceforge.net/lists/listinfo/exist-open
>

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open