Hi everyone,
I'm a recent user of tapestry, using tapestry 5.2.4 and testify 1.0.3
through testNg. I found a lot of good advice on this forum, but now I have
to write my own subject :)

I want to test a component with this architecture:


 
  ${messageChangeWhenSubmit}
  
   
  
 


In this case, the event Validate of the form change the value of
"messageChangeWhenSubmit":
        
  @OnEvent(value = EventConstants.VALIDATE, component = "myForm")
  public void launchProcess(Object[] context) {
        messageChangeWhenSubmit = "!! UPDATE !!";
  }


I followed the architecture of testify website ( abstract class,
SHARED_TESTER,etc... ).

My problem : when I run a tester.clickSubmit(mySubmit , emptyMapParameters)
, the @SetupRender of my component is called. Is it the normal behavior
because I just wanted to get back and test the new zone and not a entire new
component.

Thanks if you take the time to give me an answer or a clue.

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-Testify-SetupRender-launched-instead-of-update-a-zone-tp4288081p4288081.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