Hi,
the value of the will not be sent when it is already disabled
before Wicket serializes its value.
You should use #getBeforeSendHandler() instead.
Sven
Am 07.06.2018 um 19:55 schrieb sorinev:
Ok, so I found out what it appears to be. My full code for the DropDownChoice
I'm setting up
Ok, so I found out what it appears to be. My full code for the DropDownChoice
I'm setting up is this:
selectedAccountDropdown = new DropDownChoice("selectedAccount", new
PropertyModel(this, "selectedAccount"), accountList, new
ChoiceRenderer("name", "id"));
selectedAccountDropdown.add(new
It seems like nothing in that class is being called when I change the
selection in the DropDownChoice.
I'm setting it up like this:
new DropDownChoice("account", new PropertyModel(this, "selectedAccount"),
accountList, new ChoiceRenderer("name", "id"));
But I've tried several other ways too,
Hi,
Wicket doesn't need any special equals() implementations.
Debug AbstractSingleSelectChoice#getModelValue() and check what it does.
Have fun
Sven
Am 07.06.2018 um 17:12 schrieb sorinev:
I don't have an equals method for the class, and most of the classes I've
come across in our code that
I don't have an equals method for the class, and most of the classes I've
come across in our code that are being used in Wicket components don't. Is a
class supposed to? How does it work otherwise? Bit-by-bit comparison by the
JVM?
Anyhow, yeah debugging is what I've been doing but I've been
not working like it should, and like it does in other
projects. I made a quickstart, but it works there. What other debugging
options do I have besides plain Java debugging (short of sharing my repo
with a maintainer / expert, which I'm 100% open to)?
I have a DropDownChoice with a PropertyModel
I have some code that's not working like it should, and like it does in other
projects. I made a quickstart, but it works there. What other debugging
options do I have besides plain Java debugging (short of sharing my repo
with a maintainer / expert, which I'm 100% open to)?
I have