Thanks! Here is my .tml snippet:
<t:eventlink t:id="eventlink" t:event="graphRefresh" zone="updateZone" class="btn">Click me</t:eventlink> <t:zone t:id="updateZone"></t:zone> Here is my handler: public Object onGraphRefresh () { GraphData graphData = TestPieChart.setupTestGraph(); updateManager.refresh(testPieChart1.getClientId(), graphData ); updateManager.refresh(testPieChart3.getClientId(), graphData); // return Zone so that there is no full page refresh return updateZone; } UpdateManager essentially causes this to happen (very similar to Tapestry's AlertManager): ... ajaxResponseRenderer.addCallback(new JavaScriptCallback() { public void run(JavaScriptSupport javascriptSupport) { String jsonString = JsonUtil.toJSON(update); JSONObject jsonObject = new JSONObject(jsonString); javascriptSupport.addInitializerCall("updateCharts", jsonObject); } }); ... As I mentioned before, I would like to get rid of the "Zone" since it serves no purpose (in my application). However, I don't want a full page refresh either (I actually only want the "Initializer Calls" to fire, nothing else needs to happen). Does this make sense? Jochen On Jan 4, 2012, at 3:05 AM, Thiago H. de Paula Figueiredo wrote: > ROn Wed, 04 Jan 2012 05:55:04 -0200, Jochen Frey <joc...@jochenfrey.com> > wrote: > >> Hi! > > Hi! > >> I am somewhat new to Tapestry (loving it). > > Yay! :) Welcome to the mailing list. > >> I am simply calling functions that I registered with Tapestry.init. But >> unless I am mistaken, it seems that having a t:zone is the only way to cause >> the initializer calls to be executed ... > > You haven't provided the code you wrote, so I cannot provide a sure answer, > but I think your wrong: you don't need to have a zone set for initializer > calls to be executed. How are you invoking them in your Java code? > > -- > Thiago H. de Paula Figueiredo > Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and > instructor > Owner, Ars Machina Tecnologia da Informação Ltda. > http://www.arsmachina.com.br --- joc...@jochenfrey.com +1.415.366.0450 @jochen_frey --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org