Hi all,

I had mistakenly thought that any event handler method could render a
response through return type, whereas seemingly this is unique to events
triggered by Tapestry's actionlink, eventlink and form components.

I developed a filter pane component for limiting the number and (date)
range of hibernate results displayed.  The idea was for this pane to
trigger a "filter" event - componentResources.triggerEvent("filter", null,
null) - causing the container to refresh the zone that contains the
results.  But invoking onFilter() produces the error: "This type of event
does not support return values from event handler methods."

What is the usual method for triggering events so that a handler method
renders a response based on return type (zone body in my case)?

I guess my handler method could rather respond to the "success" event that
bubbles up from the filter pane's internal form, as with beaneditform, but
this isn't an ideal or elegant approach in all situations.

Regards,

Chris.


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

Reply via email to