Hi! I am facing some problems with an own component. This component renders some eventLinks with the use of componentResources and markupWriter. I have included this component in a page with a zone near it that must show some info based on the eventLink of the component clicked. I want only the zone to be updated in order that the component do not render again.
Does anybody knows how to update a zone in a page when any eventlink of the component is clicked? The eventLink created with markupWriter does not fire an ajax request, so it refresh the hole page instead of only de zone. Comments: I have used markupWriter because i had to make recursive methods in order to obtains eventLinks in diferent labels (like a Tree) I am using Tapestry 5.1 and i cannot update this project to the latest one. Here is some code: Part of Page.tml: <div class="test"> <h1>test Page</h1> <ems:EmsElementTree zoneToUpdate="elementBrowserZone"/> <t:zone t:id="elementBrowserZone" id="elementBrowserZone"> <div class="elementBrowser"> information here based on the eventlink clicked </div> </t:zone> </div> Part of Component.java: markupWriter.element("div", "class","row"); markupWriter.element("a", "class", "showElementBrowserLink", "href", componentResources.createEventLink("testLink",myData)); markupWriter.write(baseElement.getRootName()); markupWriter.end(); markupWriter.end(); public Object onTestLink(String element){ System.out.println("*****ES AJAX: "+request.isXHR()); return this.zoneToupdate.getBody(); } Thanks in advance. Leandro.