Re: Tapestry 5.2 Disable element id autogeneration
I've made a little fix in Form component: /** * Id parameter */ @Parameter private String id; void beginRender(MarkupWriter writer) { if (null != id && !"".equals(id.trim())) { clientId = id; } else { clientId = javascriptSupport.allocateClientId(resources); } and it works fine now. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-2-Disable-element-id-autogeneration-tp3347539p3347966.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
Re: Tapestry 5.2 Disable element id autogeneration
Entire form is inside the zone component, including submit button. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-2-Disable-element-id-autogeneration-tp3347539p3347955.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
Re: Tapestry 5.2 Disable element id autogeneration
Put the submit button inside the zone as well, then it will link to the new id. -- View this message in context: http://tapestry-users.832.n2.nabble.com/Tapestry-5-2-Disable-element-id-autogeneration-tp5938959p5939355.html Sent from the Tapestry Users 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