Ok, thanks for the tip.
Looks like all I needed was to call modelChanged() directly on the
TextField.
Cheers,
=David
On Aug 5, 2009, at 10:21 PM, Craig McIlwee wrote:
If a FormComponent has raw input (FormComponent.hasRawInput() ==
true) then it will use that value when rendering inst
If a FormComponent has raw input (FormComponent.hasRawInput() == true) then it
will use that value when rendering instead of its model object. I find that
pretty often (or more likely always) have to call FormComponent.clearInput()
when updating a component's model object during an ajax request
an example where I replace panels instead of updating:
dropDownExercise = new DropDownChoice("exercise", new Model(),
new PropertyModel(selectedCategory,
"exercises"),
new HasNameRender()) {
@Override
hmm what I have is this:
@Override
protected void onSelectionChanged(Object newSelection) {
// TODO Auto-generated method stub
super.onSelectionChanged(newSelection);