My apologies, there was a problem in my code that for some reason only started playing up after the latest commits. I mixed in both the Autocomplete and my own ForceAutocomplete which extends Autocomplete. This caused the problem and for some reason worked in the previous versions.

Thank you for you help,
Joost

PS: I am about to go live with yet another T5 app. Thank you to the whole community!

Joost Schouten (ml) wrote:
Thanks for fixing this so quickly. I'll try to dive into the problem of generateResponseMarkup(MarkupWriter writer, List matches)) no longer being called and report back on it.

Cheers,
Joost

Howard Lewis Ship wrote:
On Fri, Mar 5, 2010 at 7:39 PM, Joost Schouten (ml)
<joost...@jsportal.com> wrote:
Hi,

I have found another problem when extending the Autocomplete Mixin which has
been introduced by recent changes on the 5.2.0-SNAPSHOT version.

- The @Override methods (eg. generateResponseMarkup(MarkupWriter writer,
List matches)) are no longer called on the extending class

I don't remember changing that.
On the dev list I have already raised the following:
- The mixin will try to load the autocomplete.js from the classpath location
of the extending class, in stead of the Autocomplete.class

I think I know what's causing this, I need to capture the base
resource for Autocomplete at transformation time, rather than get the
base resource from the ComponentModel at runtime, since it sees the
subclass's model and base resource.

I have submitted a bug in jira [1] for this. Please let me know if I am
mistaken and have previously used the mixin inappropriately.

Cheers,
Joost

[1]: https://issues.apache.org/jira/browse/TAP5-1047

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








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

Reply via email to