[
https://issues.apache.org/jira/browse/WICKET-2692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sławomir Zatorski updated WICKET-2692:
--------------------------------------
Description:
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 browsers 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 childs 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).
was:
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
meand the browsers 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 childs 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).
> DropDonwChoice 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
> 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 browsers 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 childs 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.