|Thanks Thiago,

When the Add Row works the following JSON is returned:

{"content":"<td><input value='H4sIAAAAAAAAAJWSQUtbQRDHV6lIya00H0BIqxZ9STQvRgUhrc0pBCHag7d5L/NeV/btrrsT83LxA3joRyj03voVpHjw5nfoB||+g19CCl+15CKAjRnJb5z85/fjPM999sabDB3mEKiRZoywRB9jTPIG0pk7SV0tU9cFHkIuEia9iBMrEHGsLP6BFotGSGvhcqg4IH7k20kijJev||+7lLpDGX4C0cerL60/p98O00W20GaFUHD3N08Qe9U+gwsoC5BxuUuGy3g/1U7e9Cv1Ss1v1Ld2636jUmtsDzy2MRva9oOEk1TEI47GYX94LnY3r||+xMKkvHhscxmo8XLrnyo7h383f0M2d/iZl0PNR4zi7ZQkZaeI8xl2ODwTpbnY0YcWNJQoKOzp9JF4BFrxk4EUJqcRS9Uhepr9+c3BZ||+Fe8eJrtUkowSHec4JSrmTTJps7q1U/fDarQTRvOxNedlOzIqRGvzPVjLlby97tWi0df7RcZSPVhjb2c3FzDpnY2xTOx1Jjya4dk2mUvh6ZEtgaEe0LRtMVcOnTLf7qZG48bznmpW9cLdUjMiNONb||+gcBEiTtqAMAAA==' name='t:formdata' type='hidden'><\/input><\/td>\n\t\t\t\t\t\t\t<td><input size='10'||  id='firstName-12765c1f7cf' name='firstName-12765c1f7cf' 
type='text'><\/input><img id='firstName-12765c1f7cf-icon'||  class='t-error-icon t-invisible' alt='' src='/jumpstart/assets/tapestry/5.1.0.5/spacer.gif'/><\/td>||\n\t\t\t\t\t\t\t<td><input size='10' id='lastName-12765c1f7cf' name='lastName-12765c1f7cf' type='text'||><\/input><img id='lastName-12765c1f7cf-icon' class='t-error-icon t-invisible' alt='' src='/jumpstart||/assets/tapestry/5.1.0.5/spacer.gif'/><\/td>\n\t\t\t\t\t\t\t<td><input size='10' value='' id='startDate-12765c1f7cf'||  name='startDate-12765c1f7cf' type='text'><\/input><img alt='[Show]' src='/jumpstart/assets/tapestry||/5.1.0.5/corelib/components/datefield.gif' class='t-calendar-trigger' id='startDate-12765c1f7cf-trigger'||/><img id='startDate-12765c1f7cf-icon' class='t-error-icon 
t-invisible' alt='' src='/jumpstart/assets||/tapestry/5.1.0.5/spacer.gif'/><\/td>\n\t\t\t\t\t\t\t<!-- If optimistic locking is needed then uncomment||  this next line.\n\t\t\t\t\t\t\t\t<t:hidden t:id=\"version\" value=\"personHolder.person.version\"/>||  -->\n\t\t\t\t\t\t\t<td><a id='removerowlink-12765c1f7cf' 
href='#'>remove<\/a><\/td>","scripts":["/jumpstart||/assets/datepicker/5.1.0.5/js/datepicker.js","/jumpstart/assets/tapestry/5.1.0.5/corelib/components/datefield||.js"],"elementId":"rowInjector-12765c1f7cf","script":"Tapestry.init({\"formLoopRemoveLink\":[{\"link||\":\"removerowlink-12765c1f7cf\",\"fragment\":\"rowInjector-12765c1f7cf\",\"url\":\"/jumpstart/examples||/tables/ajaxformloop1.ajaxformloop:triggerremoverow/-50604586296580483\"}],\"validate\":[[\"startDate-12765c1f7cf||\",[[\"required\",\"You must provide a value for Start Date.\"]]],[\"firstName-12765c1f7cf\",[[\"required||\",\"You must provide a 
value for First Name.\"],[\"maxlength\",\"You may provide at most 10 characters||  for First Name.\",10]]],[\"lastName-12765c1f7cf\",[[\"required\",\"You must provide a value for Last||  Name.\"],[\"maxlength\",\"You may provide at most 10 characters for Last 
Name.\",10]]]],\"dateField||\":[{\"field\":\"startDate-12765c1f7cf\",\"localization\":{\"firstDay\":6,\"months\":[\"January\",\"February||\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December||\",\"\"],\"days\":\"mtwtfss\"},\"formatURL\":\"/jumpstart/examples/tables/ajaxformloop1.startdate:format||\",\"parseURL\":\"/jumpstart/examples/tables/ajaxformloop1.startdate:parse\"}]});\n","stylesheets":[||{"href":"/jumpstart/assets/datepicker/5.1.0.5/css/datepicker.css"}]}

|

I'm not able to work out what is built just before the Hidden Field exception is thrown.

Regards,

Greg.


On 16/03/2010 12:10 PM, Thiago H. de Paula Figueiredo wrote:
On Mon, 15 Mar 2010 22:55:12 -0300, Greg Pagendam-Turner <g...@liftyourgame.com> wrote:

I'm stilling trying to trace this issue with AjaxFormLoop. I have a simple question. Does an Add Row event trigger the entire AjaxForm to be updated via Ajax or is just the new row returned?

Just the new row returned. Firebug will show you what is changed to the page DOM when an AJAX update is done.


Reply via email to