You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Jan Hoskens <jh...@schaubroeck.be> on 2005/01/05 15:10:55 UTC
Form.js
Hi,
I have a setup where I have my form definition in a DOM Element. I used
to load Forms.js version 2, because that script did cover this need. But
now I need to pass some bizdata and it seems like this was missed out in
version 2.
Besides this, I've heard that there are plans to review Forms.js and
remove the other versions (or merge the interesting parts together).
Momentarily I've patched my version of Forms.js to be able to create a
form starting from a DOM Element and combine this with the functionality
of version 1. (I actually grabbed a piece of version 2 and fitted it
into version 1 with a bit glueing) This may not be much, but it does
have more potential than the normal v1.
I hope this can be integrated with the next (final?) Form version as
this might be usefull for others as well. I've created a diff patch on
the svn branch checked out today as described on
http://cocoon.apache.org/community/contrib.html and attached it to this
mail.
Do I create an issue for this (haven't used bugzilla before)?
Kind Regards,
Jan
Re: Form.js
Posted by Upayavira <uv...@upaya.co.uk>.
Jan Hoskens wrote:
> Hi,
>
> I have a setup where I have my form definition in a DOM Element. I
> used to load Forms.js version 2, because that script did cover this
> need. But now I need to pass some bizdata and it seems like this was
> missed out in version 2.
>
> Besides this, I've heard that there are plans to review Forms.js and
> remove the other versions (or merge the interesting parts together).
>
> Momentarily I've patched my version of Forms.js to be able to create a
> form starting from a DOM Element and combine this with the
> functionality of version 1. (I actually grabbed a piece of version 2
> and fitted it into version 1 with a bit glueing) This may not be much,
> but it does have more potential than the normal v1.
>
> I hope this can be integrated with the next (final?) Form version as
> this might be usefull for others as well. I've created a diff patch on
> the svn branch checked out today as described on
> http://cocoon.apache.org/community/contrib.html and attached it to
> this mail.
>
> Do I create an issue for this (haven't used bugzilla before)?
Yes, please do, and prepend the name of the issue with [PATCH]
Other than that, looks like you've done the job just right!
Regards, Upayavira
>
> Kind Regards,
> Jan