The template is not visible, are you using zone parameter of actionlink(you should prefer eventlink over actionlink). Only then will the request be ajax based.
regards Taha On Tue, Jul 12, 2011 at 7:32 AM, dick_hu <dickan...@gmail.com> wrote: > First show my test code > test.tml > > > ${str} > > delete > > > > > > > test.java > public class Test { > @Property > @Persist(PersistenceConstants.SESSION) > private List strs; > > @Property > private String str; > > @Property > private int index; > > @InjectComponent > private Zone testZone; > > void setupRender() { > strs = new ArrayList(); > strs.add("1"); > strs.add("2"); > strs.add("3"); > strs.add("4"); > strs.add("5"); > } > > Zone onActionFromDelete(int index) { > System.out.println(index); > strs.remove(index); > return testZone; > } > } > > I click the "delete" actionlink is right,the Zone updated, > but I click the "delete" actionlink,the page refreshed,and my console show > the warn log > > "2011-07-12 09:54:55,265 [ComponentInstanceResultProcessor] WARN > [31761534@qtp0-4] (ComponentInstanceResultProcessor.java:49) - Component > test/Test:testzone was returned from an event handler method, but is not a > page component. The page containing the component will render the client > response." > > I spend a lot of time,and can not sovle the problem,any one can help me. > Thanks a lot. > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/A-problem-occur-at-loop-of-zone-tp4577377p4577377.html > Sent from the Tapestry - User mailing list archive at Nabble.com.