I think you have to change <form jwcid="@Form" listener="listeners.formSubmit">
to: <form jwcid="@Form" listener="ognl: listeners.formSubmit"> > -----Original Message----- > From: Travis Romney [mailto:[EMAIL PROTECTED] > Sent: Monday, May 02, 2005 6:38 PM > To: Tapestry users > Subject: Listener methods are not getting called > > I have a form with a listener method that never gets called > <form jwcid="@Form" listener="listeners.formSubmit"> > > I have a simple formSubmit method on the page > > public void formSubmit(IRequestCycle cycle) { > System.out.println("Submitting form"); // THIS NEVER PRINTS OUT > } > > The form has a simple submit button on it. > <input jwcid="@Submit" type="submit" value="Submit"/> > > I have encountered this problem before and fixed it but I could > never find out what was wrong. I may have just re-arranged > the html, I don't know! I don't receive any > error messages the page just reloads and nothing happens. > It is the most frustrating thing I have encountered with > Tapestry. Has anyone out there ever seen this or encountered > this problem before. I have two pages with this problem > and I cannot fix them. > > > --------------------------------------------------------------------- > 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]
