You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2014/05/19 18:58:39 UTC

[jira] [Assigned] (WICKET-5596) DropDownChoice#wantsOnSelectionChangedNotifications(T) not being called on unmounted page

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

Andrea Del Bene reassigned WICKET-5596:
---------------------------------------

    Assignee: Andrea Del Bene

> 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, 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
>         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(&#039;form6_hf_0&#039;).value=&#039;../../page?2-1.IOnChangeListener-form-vegetable&#039;;document.getElementById(&#039;form6&#039;).submit();
> but should be something like: 
> document.getElementById(&#039;form6_hf_0&#039;).value=&#039;./wicket_issue_4.FormPage?2-1.IOnChangeListener-form-vegetable&#039;;document.getElementById(&#039;form6&#039;).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)