Hi,
FormComponent#getInput() works only for the current submit, and disabled
components have no value in the request.
#getValue() is used for rendering and uses the model value *or* the last
submitted value if the last submit was not valid.
Hope this helps
Sven
On 08/21/2013 06:34 PM, eugenebalt wrote:
I just wanted to verify that getInput() doesn't work on a pre-disabled,
pre-populated DropDownChoice. getInput() only seems to work on enabled
dropdowns.
However, in my tests, getValue() works equally on both enabled/disabled
dropdowns. Is that true, or is there some other distinction?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/getInput-does-not-work-on-a-disabled-DropDownChoice-tp4660987.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]