It is starting to look like something 'funny' with the Autocomplete class Relevant tml code: ... <input t:id="fieldName" t:mixins="autocomplete" t:type="TextField" /> ...
Without the mixin i am able to create 2 exceptions, both pointing to the Autocomplete class. When i start without the t:mixin all is fine. Insert the t:mixin and refresh (the browser) gives the exception below. - org.apache.tapestry5.ioc.internal.util.TapestryExceptionFailure creating embedded component 'fieldName' of dcg.nl.demo.pages.Index: java.lang.ClassNotFoundException: caught an exception while obtaining a class file for org.apache.tapestry5.corelib.mixins.Autocomplete locationcontext:Index.tml, line 116 7 <p>${message:greeting}</p>8 9 <form t:type="form" t:id="formMixinID">10 Type in your search arguments:11 <input t:id="fieldName" t:mixins="autocomplete" t:type="TextField" />12 <br/>13 <input type="submit" value="Search"/>14</form> 15 16 <table t:type="grid" t:source="results" t:rowsPerPage="10" t:pagerPosition="top">[Grid here]</table><br/> - java.lang.ClassNotFoundExceptioncaught an exception while obtaining a class file for org.apache.tapestry5.corelib.mixins.Autocomplete exceptionjava.lang.RuntimeException: Class org.apache.tapestry5.corelib.mixins.Autocomplete contains field(s) (_$assetSource, _$baseResource, _$environment, _$operation, _$resources, _$type) that are not private. You should change these fields to private, and add accessor methods if needed. Restart the server (Tomcat 6.0.20) with the mixin and the 'normal' exception occurs: java.lang.ClassFormatErrorInvalid length 112 in LocalVariableTable in class file org/apache/tapestry5/corelib/mixins/Autocomplete Hide uninteresting stack frames Stack trace - java.lang.ClassLoader.defineClass1(Native Method) ... Unless anybody has another suggestion i'm starting to lean towards the idea that the autocompleter is not entirely happy about something. Tia, Fermin DCG