Re: Keep the same form id after the zone refresh

2013-12-30 Thread Thai Tran
No, you misunderstood my answer. You need to keep the same id which is generated by tapestry in order to let tapestry processes underneath its hood. If you want to use javascript to handle the DOM elements, you need to use wildcard, regular expression to select the tapestry generated ID On 12/

Re: Keep the same form id after the zone refresh

2013-12-30 Thread Boris Horvat
Yea that was my idea, to use javascript code to modify the id in order for the java side to be able to process the correct form, however this seems like ugly solution :) On Mon, Dec 30, 2013 at 3:10 AM, Thai Tran wrote: > It is better to use class for CSS stuffs and $("form[id^=form]") (select

TAP54 implemnt an ACE editor component

2013-12-30 Thread Sven Homburg
Hi there, i want to implement en ACE editor component in my own library so i drop all ace dist files into META-INV/assets/mylib/ace classpath and wrote the module "editor" (function () { define(["jquery"], function ($) { var aceEditor; aceEditor = function (spec) { var textarea = $('#' + spec.te