You can accomplish this by extending Autocomplete mixin and overiding the
configure() method but I think we should enhance the mixin. Please post a
jira issue.

On Sun, May 16, 2010 at 3:41 AM, Paul Stanton <p...@mapshed.com.au> wrote:

> there's no way to add a client side callback for this event without
> overriding the provided mixin (that i can see).
>
> I propose the following is added to the implementation:
>
> new field :
>
>   @Parameter(defaultPrefix = BindingConstants.LITERAL)
>   private String afterUpdateElement;
>
> and in the method 'afterRender':
>
>       if (resources.isBound("afterUpdateElement"))
>           config.put("afterUpdateElement", new
> JSONLiteral(afterUpdateElement));
>
> this would add the necessary functionality.
>
> I also think it would be handy to have a simple way of including a
> ajax/server side callback for this event but don't yet know the best way to
> do this.
>
> should i add this to jira or is there a better way?
>
> p.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>


-- 
Best regards,

Igor Drobiazko
http://tapestry5.de/blog

Reply via email to