You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Major Peter (JIRA)" <ji...@apache.org> on 2011/01/13 20:37:46 UTC

[jira] Updated: (WICKET-3331) DropDownChoice with wantOnSelectionChangedNotifications fails without Form

     [ https://issues.apache.org/jira/browse/WICKET-3331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Major Peter updated WICKET-3331:
--------------------------------

    Attachment: wicket-3331.tar.gz

Quickstart project demonstrating the problem.

> 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
>    Affects Versions: 1.5-RC1
>            Reporter: Major Peter
>         Attachments: wicket-3331.tar.gz
>
>
> 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.