Ok, my app runs nice and for my widget too. Handlers clicks, etc...
Below...The update logic refuses to update, specifically updateComponent.
Any ideas?
T-4.1.6 warning: Scary thing about my logic for this is that outside of this
issue... if I continue to operate DirectLink listeners off of this custom
widget... the whole app comes down. And needs restart.
My repo is fresh... I have not see anything like this before.
@EventListener(events =
{ "onchange" }, targets =
{ "itemsPerPageSelect" }, submitForm = "galleryForm", async = true)
public void itemsPerPageChangeListener(IRequestCycle cycle)
{
// (events="onchange") Just keep all of your event names in lowercase
// and you'll be ok. - jesse kunhert
LOG.info("In itemsPerPageChangeListener : ");
if ( getItemsPerPage() < getTableColumns() )
{
setTableColumns(getItemsPerPage());
//cycle.getResponseBuilder().updateComponent("tableColumnsSelect");
cycle.getResponseBuilder().updateComponent(getComponent("tableColumnsSelect").getClientId());
}
}
Best regards
Ken in nashua
_________________________________________________________________
Back to work after baby–how do you know when you’re ready?
http://lifestyle.msn.com/familyandparenting/articleNW.aspx?cp-documentid=5797498&ocid=T067MSN40A0701A