On Thu, 19 Feb 2015 16:56:21 -0200, George Christman <gchrist...@cardaddy.com> wrote:

this should work perfectly for you


 public String getZonedId() {
        return resources.getId() + "-zone";
}

public void onUpdateCount() {
        count++;
        System.out.println(getCompId());
        ajaxResponseRenderer.addRender(getZonedId(), countZone);
    }

With the Zone's id being dynamically defined based on the component id, you can use ajaxResponseRenderer.addRender(countZone) directly, without needing to specify the zone id, because the Zone field will already provide the correct id when its getClientId() method is called by AjaxResponseRenderer(Impl).addRender(ClientBodyElement).

--
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to