[
https://issues.apache.org/jira/browse/WICKET-5596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Del Bene reopened WICKET-5596:
-------------------------------------
> DropDownChoice#wantsOnSelectionChangedNotifications(T) not being called on
> unmounted page
> -----------------------------------------------------------------------------------------
>
> Key: WICKET-5596
> URL: https://issues.apache.org/jira/browse/WICKET-5596
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 6.14.0, 7.0.0-M1, 6.15.0
> Environment: Windows 7, Jetty, Wicket 6.14.0 & Wicket 6.15.0 Java 1.6
> Reporter: Simon Botting
> Assignee: Andrea Del Bene
> Fix For: 6.16.0, 7.0.0-M2
>
> Attachments: wicket_issue_4.tar.gz
>
>
> I posted on nabble about this here:
> http://apache-wicket.1842946.n4.nabble.com/wantsOnSelectionChangedNotifications-RadioGroup-Radio-vs-DropDownChoice-td4665927.html
> Essentially on an unmounted bookmarkable page (one that you access directly
> through: wicket/bookmarkable/package.name.ClassName)
> the DropDownChoice#wantsOnSelectionChangedNotifications(T) does not seem to
> be called.
> Having looked at the internals a bit, it seems that the onchange handler is
> not setting a variable that resolves properly to any
> ListenerInterfaceRequestHandler
> e.g.:
> the onchange is:
> document.getElementById('form6_hf_0').value='../../page?2-1.IOnChangeListener-form-vegetable';document.getElementById('form6').submit();
> but should be something like:
> document.getElementById('form6_hf_0').value='./wicket_issue_4.FormPage?2-1.IOnChangeListener-form-vegetable';document.getElementById('form6').submit();
> That's just my initial thought, I'm no expert.
> Please look at the posting on nabble // Wicket Users Forum for more
> contextual information
--
This message was sent by Atlassian JIRA
(v6.2#6252)