cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivelin Ivanov" <ive...@apache.org>
Subject [PATCH] Re: XMLForms XMLFormTransformer
Date Sat, 08 Jun 2002 19:07:05 GMT

Bug # 9674 closed (see below) .

Fix provided by Andrew Timberlake

Notes:

modification to the xmlform2html.xsl file which removes the
hard-coded class attributes and allows all attributes to be copied through.
This
allows size to be used on textboxes amongst others, it also allows the class
attribute to be ignored.

XMLFormTransformer: check to see if an xf:hidden element already has an
xf:value child and will add the value from the model if not.


Enjoy !


Ivelin


----- Original Message -----
From: "Andrew Timberlake" <andrew@timberlake.co.za>
To: <ivelin@apache.org>
Sent: Friday, June 07, 2002 6:58 AM
Subject: Re: XMLForms XMLFormTransformer


> Ivelin
>
> I have submitted a patch
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9674
>
> I had submitted an original patch which ignored the fact that xf:hidden
> could already contain an xf:value element.
>
> Andrew
>
> On Fri, 2002-06-07 at 12:13, Ivelin Ivanov wrote:
> >
> >
> > I thought you might be doing something like this.
> > It's kind of a hacky way to pass data from one part of the model to
another,
> > but I guess it is a valid request if often needed.
> >
> > Ok so how do we change the implementation?
> > Populate the xf:value in the transformer if <xf:instance/> does not
specify
> > value in the xml markup?
> >
> > If you have the patch go right ahead, submit it to bugzilla and let me
know.
> >
> >
> > Cheers,
> >
> > Ivelin
> >
> >
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message