Hi,
Now that Ajax with forms is working for me in Tapestry 4.1 I found what
might be a bug. Consider this example:
<form jwcid="[EMAIL PROTECTED]" async="ognl:true"
updateComponents="ognl:{'myform'}" listener="listener:formListener">
<input jwcid="@TextField" value="ognl:val"/>
<input jwcid="@Submit" value="Submit"
listener="listener:submitListener"/>
<div jwcid="[EMAIL PROTECTED]">
<span jwcid="@Insert" value="ognl:val"/>
</div>
</form>
In this specific case I set updateComponents to update the form itself.
Whenever I submit something the following error appears on my page:
WARNING: 14:37:38: registerForm(myform) Form already registered.
The next time I click submit the form is submitted normally, without ajax.
Then it starts again.
If I wrap a div around my form and try to update it, the same thing happens.
What works is if I update "testajax" (in the example above) instead of
updating the entire form.
Anyway, I had noticed the same error message appear when I was doing some
tests with @EventListener. The problem seemed to occur whenever I got more
than one @EventListener to listen to an event that submits the same form.
Tried it with tapestry the latest 4.1.1-20060822.234809-20
Anyone else seen this? Is this really a bug?
Denis