DropDownChoice with wantOnSelectionChangedNotifications fails without Form
--------------------------------------------------------------------------

                 Key: WICKET-3331
                 URL: https://issues.apache.org/jira/browse/WICKET-3331
             Project: Wicket
          Issue Type: Bug
          Components: wicket
            Reporter: Major Peter


If you have a DDC without a form, then in onSelectionChanged the new selection 
will be always null. As soon as you put a Form around the DDC, it just starts 
to work.
Although the HTML 4 DTD does not allow a select tag outside a form, Wicket 
supported this behaviour, and this feature also worked with 1.5-M3 too.
See the attached project showing that the newSelection is null if the DDC is 
not inside a form.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to