It's not easy to give a trivial example, but I'll try to explain a little more in
depth the technique I use..
In my app I need to edit complex data structures, and everything is handled by
client-side Javascript. I pass the data as JavaScript variables. Here is a portion
of the xsp code:
<script>
var myData = <xsp:expr>renderMyDataAsJavaScriptVariable()</xsp:expr>
</script>
The client-side code, renders the data in myData, and generates the different fields,
which submit data in a standard fashion to the server (or sometimes encoded through
hidden fields).
--------
David
-----Mensaje original-----
De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 10 de noviembre de 2003 12:38
Para: [EMAIL PROTECTED]
Asunto: RE: Is somebody using JXforms?
Hi,
Could you give an example of your client-side Javascript and explain me how do you use
it?
Thanks
Sylvain
> -----Message d'origine-----
> De: Carmona Perez, David [mailto:[EMAIL PROTECTED]
> Date: lundi, 10. novembre 2003 11:35
> �: [EMAIL PROTECTED]
> Objet: RE: Is somebody using JXforms?
>
>
> No, I don't having it because I don't use repeaters. For
> this task I use client-side JavaScript, to have a more
> responsive user interface.
>
> On the other hand, I'm having this other one:
> [sitemap.sitemap.transformer.xmlform] (/inicio)
> Thread-9/XMLFormTransformer: unknown element [item]
>
> It happens when the transformer sees a <xf:iterm> element,
> but nothing happens apart from logging the message.
> Probably is a bug.
>
>
> --------
> David
>
> -----Mensaje original-----
> De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Enviado el: lunes, 10 de noviembre de 2003 10:54
> Para: [EMAIL PROTECTED]
> Asunto: RE: Is somebody using JXforms?
>
> Hello,
>
> Yes I had the same problem during the upgrade.
>
> I still have one (minor) problem with XMLForm: I have always
> an error (always the same) in log files like these lines:
>
> ERROR (2003-11-10) 10:51.54:765
> [sitemap.xmlform.sitemap.transformer]
> (/woc_cocoon_2.1.2/woc/xmlform/searchapplication.html)
> Thread-9/XMLFormTransformer: pass through element [group]
> ERROR (2003-11-10) 10:51.54:781
> [sitemap.xmlform.sitemap.transformer]
> (/woc_cocoon_2.1.2/woc/xmlform/searchapplication.html)
> Thread-9/XMLFormTransformer: unknown element [group]
>
> It seems that this message is produced by the <repeat> tag.
>
> Have you the same problem??
>
> Regards
> Sylvain
>
>
>
> > -----Message d'origine-----
> > De: Carmona Perez, David [mailto:[EMAIL PROTECTED]
> > Date: lundi, 10. novembre 2003 09:51
> > �: [EMAIL PROTECTED]
> > Objet: RE: Is somebody using JXforms?
> >
> >
> > The problem was that the namepspace
> > http://xml.apache.org/cocoon/xmlform/2002 has been changed to
> > http://xml.apache.org/cocoon/xmlform/1.0
> >
> >
> > --------
> > David
> >
> > -----Mensaje original-----
> > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> > Enviado el: viernes, 07 de noviembre de 2003 15:17
> > Para: [EMAIL PROTECTED]
> > Asunto: RE: Is somebody using JXforms?
> >
> > Hi,
> >
> > I'm still using XMLForm with Cocoon 2.1.2 and all things work well.
> >
> > What is exactly your problem?
> >
> > Regards
> > Sylvain
> >
> > -----Message d'origine-----
> > De: Carmona Perez, David [mailto:[EMAIL PROTECTED]
> > Date: vendredi, 7. novembre 2003 15:02
> > �: Cocoon (E-mail)
> > Objet: Is somebody using JXforms?
> >
> >
> >
> > Hi all,
> >
> >
> >
> > I was a previous user of XMLForms and find it is deprecated
> > and in addition my old code doesn't work well (it doesn't set
> > form data).
> >
> >
> >
> > On the other hand, Woody seems promising, but is still under
> > development and unfinished.
> >
> > Are there any people using Woody successfully in real apps,
> > apart from demos?
> >
> >
> >
> > In addition, it seems that nobody is using JXForms, I don't
> > see any activity on it. Am I right?
> >
> > JXForms is quite similar to XMLForms and would make an easy
> > migration path. Does it work ok?
> >
> >
> >
> >
> >
> > --------
> >
> > David
> >
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]