I'm sorry Vineet, I've read your previous message unattentively and used
AjaxEventBehavior("onkeyup").
ajaxformcomponentupdatingbehavior("onkeyup") and
ajaxformcomponentupdatingbehavior("onchange") work perfect!
Huge thanks for you help
just add
ajaxformcomponentupdatingbehavior with
onkeyup event to your autocompletetextfield ,it will work...
2010/5/24 Katherine
> Thanks for idea, but unfortunately onrequest is a final method.
> I tried to add my Label to the target used in respond method, but
nothing
> happens in
you
can do the label update in onrequest if the size is greater than what
you
want,you will also have to write a dao method that returns the count
of
items returned so that you can
check with the size you want.
2010/5/24 Katherine
> There is no problem in how many items returned, the proble
not more than n numbers of rows are
returned
from your dao itself
where n is the maximum number of choices you want to process in
getchoices() but it may be not what you want.
2010/5/24 Katherine
>
> As I've wrote there is no AjaxRequestTarget in getChoices that means
> AjaxReq
n the getChoices callback and you should be fine.
On Sun, May 23, 2010 at 8:17 PM, Katherine wrote:
> Hello,
>
> Can anybody help newbie with following question:
> I'm using AutocompletText field with
> AjaxFormComponentUpdatingBehavior("onchange"), which catches
o
Hello,
Can anybody help newbie with following question:
I'm using AutocompletText field with
AjaxFormComponentUpdatingBehavior("onchange"), which catches onchange
event, when user selects item from the list.
It appeared so that sometimes I get too many items for DropDownList,
and I don't
quot;" :
myNameDTO.getNummer());
number.setModelObject(myO.getNummer());
number.modelChanged();
target.addComponent(number);
}
});
name.setOutputMarkupId(true);
return name;
}
} //