I figured out what I was doing wrong.
Wow! this was sure hard to find.
I have a ListEditMap on the page and the ListEditMap
was not set to persistent. For some strange reason
my formSubmit method was not getting called.



Travis Romney wrote:

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]



Reply via email to