On Wed, Apr 1, 2009 at 8:33 AM, Peter Kanze <peterka...@gmail.com> wrote: > * Maybe the onActivate is not a could place to do my doSearch(), but how can > I do this better? Because now my search query is called twice. > That is not what I want!
I do not use event handler methods for that: if I'm using a Grid, for example, I do the following: <table t:type="Grid" t:source="objects"> public List getObjects() { return doSearch(); } I just use event handler methods for doing searches when its result is used in more than once. Then I use the @SetupRender event. -- Thiago --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org