Steve Schwarz wrote:
Christian,
Thank you very much (especially for "pushing" me into 2.1). It took me a while to figure it out but the problem was my form:
<form name="contact" method="post" enctype="multipart/form-data" action="contact-add">


If I remove the enctype attribute/value everything works correctly.

It shouldn't affect the transformer! If you could send me a minimal sample that shows the problem, I will try to fix it.


This is really a great transformer; it sure doesn't seem to get much "press" but it does exactly what I need.

Glad you like it :-)


If you like this one, you might want to look at its companion, the SimpleFormInstanceTransformer, which basically allows to separate the form data from the form definition:

<form name="foo">
   <form-instance>
      <name>Doe</name>
      <firstname>John</firstname>
   </form-instance>

   <input name="foo/firstname" type="text"/>
   <input name="foo/name" type="text"/>
</form>

Unfortunately, I haven't come around providing a good sample for this -- a very small one is located in the simpleform directory (not accessible through the sample pages). I have a better one but that requires a java bibtex parser that is GPLed so I cannot provide that one from the Apache CVS.

Anyway, you still might want to look into the more powerful forms approaches in 2.1 like JXForms and Woody.

Chris.

--
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to