Re: Tapestry 5.2 Disable element id autogeneration

2011-01-19 Thread m!g
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.alloca

Re: Tapestry 5.2 Disable element id autogeneration

2011-01-19 Thread m!g
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. -

Re: Tapestry 5.2 Disable element id autogeneration

2011-01-19 Thread LLTYK
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. ---

Tapestry 5.2 Disable element id autogeneration

2011-01-19 Thread m!g
Hi everyone. How can I disable autogeneration of form ids? I have a form which is located inside zone. JAVA: @Component(parameters = { "id=literal:registrationFormZone", "update=show" }) private Zone registrationFormZone; @Component(id="registrationForm", parameters = { "id=literal:regis