On Fri, Jun 19, 2009 at 12:06 AM, DH<ningd...@gmail.com> wrote: > Hi, Thiago
Hi! > Not sure about how special your case is, but I can confirm that @AfterRender > is invoked in my ajax request. > Maybe share more about the code and let us help you kind man. I know that I'm missing something. I just wasn't smart enough to figure out by myself yet. :) Relevant parts of my page class: @InjectComponent private TextField textField; @BeginRender public void initializeSearchType() { ... } @AfterRender public void inicializarJavascript() { renderSupport.addScript("initializeSearchField();"); renderSupport.addScript("Event.observe('%s', 'click', handleSearchEvent);", textField.getClientId()); } Template: <div t:type="Zone" t:id="zone"> <form autocomplete="off" t:type="Form" t:zone="zone"> ...... -- Thiago --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org