Hi all, I'm having the same issue with ajax submited forms. Jesse, you said that you have added the ajax logic to the form but not the submit. The parameters (async, updateComponents) are on the form so, it sould work right? Or since the Submit is the one that triggers the result it is the responsible for not implementing the ajax way yet? I'm confused. Does this work for forms or not just yet?
On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
Oh...I added the updateComponents/async/etc to the Form component the other day. Documentation has been updated as well.. (Still haven't done it to the submit type components yet) On 8/16/06, Denis Souza <[EMAIL PROTECTED]> wrote: > > While, on the topic, I don't know if this might be related but I'm still > having trouble with ajax forms. Take the following example: > > <form jwcid="[EMAIL PROTECTED]" listener="listener:myListener" async="true" > updateComponents="ognl:{'testajax'}"> > > <input jwcid="@TextField" value="ognl:val"/> > <button label="submit here" jwcid="@Submit"/> > </form> > > <div jwcid="[EMAIL PROTECTED]" id="testajax"> > <span jwcid="@Insert" value="ognl:val"/> > </div> > > The page is still fully reloaded but the listener gets called as it > should. > Same thing with the listener/action parameter on the submit button. > It only happens with forms. DirecLink works great. > > Am I forgetting something? Any ideas? > > Thanks, > Denis > > -----Original Message----- > From: Josh Long [mailto:[EMAIL PROTECTED] > Sent: quarta-feira, 16 de agosto de 2006 16:54 > To: Tapestry users > Subject: Re: Submit doesnt tag or select when the form is submitted via > ajax > > Yay JIRA and Jesse! > > Um... the bug URL is https://issues.apache.org/jira/browse/TAPESTRY-1069 > > Thanks again, > > Josh > > On 8/16/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > Hmm....Sounds like a JIRA worthy bug. (The fix is very easy though..I > think? > > ...will know later) > > > > On 8/16/06, Josh Long <[EMAIL PROTECTED]> wrote: > > > > > > Im noticing that the @Submit doesnt tag or select anything when the > > > form is submitted via ajax (ie, async = true, updateComponents = > > > "foo", etc).. > > > > > > Anyone else have this problem? > > > > > > Any workarounds? > > > > > > Peace, > > > Josh > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > -- > > Jesse Kuhnert > > Tapestry/Dojo/(and a dash of TestNG), team member/developer > > > > Open source based consulting work centered around > > dojo/tapestry/tacos/hivemind. > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jesse Kuhnert Tapestry/Dojo/(and a dash of TestNG), team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind.
-- Pedro Viegas