Re: A problem occur at loop of zone

2011-07-12 Thread dick_hu
when I a create a new project and try it ,it runs right. I explore the problem,It's my mistake,I destroy the tapestry.js. I am sorry to cost everyone a lot of time for the stupid mistake. Thank you ! -- View this message in context: http://tapestry.1045711.n5.nabble.com/A-problem-occur-at

Re: A problem occur at loop of zone

2011-07-12 Thread Taha Hafeez
; > > > > I works on IE 8, > first click is right,but second click the page reflesh,the actionlink is not > return a zone. > you alway is right? > > I want to create a new project try it, heihei :) > > -- > View this message in context: > http://tapestry.104571

Re: A problem occur at loop of zone

2011-07-12 Thread Thiago H. de Paula Figueiredo
On Tue, 12 Jul 2011 23:42:02 -0300, dick_hu wrote: Block onActionFromDelete() { return testZone.getBody(); } } but occur the exception like this A component event handler method returned the value Block[Body of test/Test:testzone, at classpath:com/lai2/pages/tes

Re: A problem occur at loop of zone

2011-07-12 Thread dick_hu
/Test:testzone, at classpath:com/lai2/pages/test/Test.tml, line 21]. Return type org.apache.tapestry5.internal.structure.BlockImpl can not be handled. -- View this message in context: http://tapestry.1045711.n5.nabble.com/A-problem-occur-at-loop-of-zone-tp4577377p4581320.html Sent from the Ta

Re: A problem occur at loop of zone

2011-07-12 Thread dick_hu
? I want to create a new project try it, heihei :) -- View this message in context: http://tapestry.1045711.n5.nabble.com/A-problem-occur-at-loop-of-zone-tp4577377p4581312.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: A problem occur at loop of zone

2011-07-12 Thread Taha Hafeez
.java > public class Test { > @InjectComponent >private Zone testZone; > >Zone onActionFromDelete() { >return testZone; >} > } > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/A-problem-occur-a

Re: A problem occur at loop of zone

2011-07-12 Thread Thiago H. de Paula Figueiredo
On Tue, 12 Jul 2011 23:04:55 -0300, dick_hu wrote: Zone onActionFromDelete() { return testZone; } Return testZone.getBody() instead. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner,

Re: A problem occur at loop of zone

2011-07-12 Thread dick_hu
t.tml delete test.java public class Test { @InjectComponent private Zone testZone; Zone onActionFromDelete() { return testZone; } } -- View this message in context: http://tapestry.1045711.n5.nabble.com/A-problem-occur-at-lo

Re: A problem occur at loop of zone

2011-07-11 Thread Taha Hafeez
; > ajax > > based. > > > > > the Test.tml > > > > ${str} > > delete > > > > > > > -- > View this message in context: > http://tapestry.1045711.n5.nabble.com/A-proble

Re: A problem occur at loop of zone

2011-07-11 Thread dick_hu
delete -- View this message in context: http://tapestry.1045711.n5.nabble.com/A-problem-occur-at-loop-of-zone-tp4577377p4577397.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To un

Re: A problem occur at loop of zone

2011-07-11 Thread Taha Hafeez
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.

A problem occur at loop of zone

2011-07-11 Thread dick_hu
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-oc