[
https://issues.apache.org/jira/browse/WICKET-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Juergen Donnerstag resolved WICKET-2692.
----------------------------------------
Resolution: Duplicate
Assignee: Juergen Donnerstag
It has been fixed already
> DropDownChoice value may be lost after ajax submit call
> -------------------------------------------------------
>
> Key: WICKET-2692
> URL: https://issues.apache.org/jira/browse/WICKET-2692
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.3
> Reporter: Sławomir Zatorski
> Assignee: Juergen Donnerstag
> Fix For: 1.4.6
>
>
> It happens, when DropDownChoice is enabled, but not enabledInHierarchy
> (parent container is not enabled).
> Every component should update it's rawInput when it's visible and enabled (it
> means the browser sends it's state in POST).
> public final void inputChanged() method should check if the component is
> enabled on page using
> isEnabledInHierarchy() instead of isEnabled().
> Otherwise the method resets rawInput value for the component in that case.
> Similar situation occures for children of AbstractTextComponent.
> The inputChanged() method sets NO_RAW_INPUT value but getValue() method
> re-reads it's value from the model (and may loose it's temporary value).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.