Hello,
Thank you all for the help.
Is there a way to only rerender the two components (inputtext fields) and
not all the page?
So submit should remain like this:
@Override
protected void onSubmit() {
//other stuff
}
The logic is that I should be able to commit changes only if both input
textfields are filled with data, or if both are empty. If both have data,
then components should become disabled, if both are empty, then the
components should remain editable, if only one of them has data then I
should not be let to submit any change.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Component-disabled-if-it-contains-data-tp4674313p4674321.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]