hi there,

please see inline comments.

[EMAIL PROTECTED] schrieb:
http://issues.apache.org/bugzilla/show_bug.cgi?id=34077





------- Additional Comments From [EMAIL PROTECTED]  2005-03-19 14:25 -------
You missed some items I haven't been able to fix yet:


- URL http://localhost:8888/samples/blocks/forms/binding-01value-XML.flow

The calendar widget is not working, it has a funny blue rectangle around it. JS Error: forms_calendar is not defined

the problem here is that the markup generated and fed to the styling xsl is not valid html (containing head and body) but only a form instance from the forms generator. now forms-samples-styling.xsl expects at least a <head> element to have scripts (e.g. the calendar stuff) loaded there. so, to solve the problem have the form instance wrapped in minimal html.


- URL http://localhost:8888/samples/blocks/forms/form2simpleXML.flow

Cannot set value of field "data.drinks" with an object of type java.lang.String

the problem here is o.a.c.forms.util.XMLAdapter.characters(). it checks the type of the current widget against DataWidget, BooleanField and MultiValueField and correspondingly sets the widget's value. since the last commited changes to o.a.c.forms.formmodel.MultiValueField it implements DataWidget. so now the code for a DataWidget is executed which assumes a single valued widget; MultiValueField's setValue is called which gives the error message.


the error message would've been more useful if it had told the field's type and why the value('s type) wasn't okay for this field.

- URL http://localhost:8888/samples/blocks/forms/carselector

after selecting the model, make and type are reset


Actually, in my version I get an error when I change the model.

probably already fixed? didn't occur here.

Reply via email to