Hello, Im having some trouble with the EventListener annotation and PropertySelection component. I am using Tap 4.1.3. Here is the mappings.
@Component(id="reportTypeSelect", type="PropertySelection", bindings={ "displayName=literal:Report Type", "[EMAIL PROTECTED]@REPORT_TYPE_MODEL", "value=reportType" }) public abstract PropertySelection getReportTypeSelect(); @EventListener(events={"onchange"}, targets="reportTypeSelect", submitForm="reportForm") public void onChangeReportType(IRequestCycle cycle) { System.out.println("HERE"); } On the page, the JS is loaded and the event is mapped via dojo but when I change the select from one value to another i get this JS exception. DEBUG: [Error: buildTargetProperties() Unknown target type:[object HTMLSelectElement], file: http://localhost:8081/assets/static/dojo-0.4.3/dojo.js, line: 96] when calling formEvent1730950492$joinpoint$method on [object Object] with arguments [object Object] FATAL exception raised: buildTargetProperties() Unknown target type:[object HTMLSelectElement] What am I missing? -- View this message in context: http://www.nabble.com/EventListener-and-PropertySelection-tf4699964.html#a13436151 Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]