Re: Event to trigger zone refresh

"Christopher Dodunski" <[email protected]> Sat, 15 Dec 2018 22:49:50 +1300 (NZDT)
Newsgroups gmane.comp.java.tapestry.user
Message-ID <[email protected]>
Hi all,

Thanks for the pointers.  In the end I switched to AjaxResponseRenderer
rather than returning the zone's body, and all seems to work well.  I'm
not sure why I didn't do it this way to begin with.  You can see the old
line of code now commented out.

    public void onFilter(){
        expand();  //Effectively re-query database

        //return request.isXHR() ? operationChildZone.getBody() : this;
        ajaxResponseRenderer.addRender(operationChildZone);
    }

Thanks & regards,

Chris.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]