Hello, I'm using the AjaxFormLoop component and I'd like to add a custom mixin to the removerowlink. When I use ClientElement to get the clientId it fails with the following exception.
Component Purchase_Request:removerowlink_1 (type org.apache.tapestry5.corelib.components.RemoveRowLink) is not assignable to field org.company.eprs.mixins.RemoveRow.element (of type org.apache.tapestry5.ClientElement). Could someone help me to get the clientId? current code @InjectContainer private ClientElement element; @Inject private JavaScriptSupport javaScriptSupport; @AfterRender public void finish(MarkupWriter w) { JSONObject jso = new JSONObject(); jso.put("id", element.getClientId()); javaScriptSupport.addInitializerCall("removeRow", jso); } -- View this message in context: http://tapestry.1045711.n5.nabble.com/AjaxFormLoop-RemoveRowLink-add-mixin-tp5160904p5160904.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org