yes currently this is a link that get's generated not a submit
this is on the planning for 1.2 right after 1.1 is released


On 10/29/05, Dariusz Wojtas <[EMAIL PROTECTED]> wrote:
Hi,

I have a simple form with 3 fields:
  a Date field  (TextField) with attached DatePicker
  a DropDownChoice with a list of some elements typeA
  a DropDownChoice with a list of some elements typeB

When I set/select some values for all 3 fields and press Submit,
then all values are nicely remembered by the form.
I print them in onSubmit, also the page renders itself after submit
and all valuesare correct.

When I select all 3 values, but change selecion in any of these
DropDownChoice elements
(they both have onSelectionChanged and
wantOnSelectionChangedNotifications overriden),
then the behaviorr is different.
a) If the form was already submitted - all values are correctly re-rendered
b) If the form was not submitted yet with 'Save' button, then both
DropDownChoice elements do remember their state, but the date field is
nullified.

I have looked at the HTTP requests with "Live HTTP headers" for Firefox,
and it looks like selection change listener only generates GET request
with single field being submitted.
What about the other fields?
If I have 10 fields, fill them and just change single combo ... - do
all other values disappear?

I am using the latest Wicket souces from CVS.

Dariusz Wojtas

Reply via email to