On Fri, 24 Jun 2011 14:17:43 -0300, Tony Nelson <tnel...@starpoint.com> wrote:

Thank you very much for your help. I was able to get my form to display properly using the Environmental Service and adding the following to my base class:

    void beginRender() {
        environment.push(SearchParameters.class, getSearchParameters());
    }

    void afterRender() {
        environment.pop(SearchParameters.class);
    }

They're only invoked in render requests, not action (including form submission) ones. You can use @PageAttached and @PageDetached, as they're invoked in all requests.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

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

Reply via email to