Maybe i'm wrong too , but if the form is linked with a zone, the
@SetupRender of the conponent is not called?
In my case, the @SetupRender initialize the value of my param
"messageChangeWhenSubmit".
When I submit, I change the value of this param and update the zone to apply
the new value.. so if the @SetupRender is called, the value is re-initialize
... and my test still red :(

I correct my first post with the method called when validate the form (
return the zone ):
        
 @OnEvent(value = EventConstants.VALIDATE, component = "myForm")
  public Object launchProcess() {
   something = "!! UPDATE !!";
   return myZone;
  }

I have a Warning code too:
[WARN ][12:08:21][o.a.t.s.T.ComponentInstanceResultProcessor] - Component
demo/dummy:dummy.myzone was returned from an event handler method, but is
not a page component. The page containing the component will render the
client response.


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-Testify-SetupRender-launched-instead-of-update-a-zone-tp4288081p4288139.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

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

Reply via email to