NEVER MIND
it turns out that a co-worker had touched validate() method:
public void validate(){
MapString, ListString fieldError = new HashedMap();
setFieldErrors(fieldError);
}
what i didn´t know is that (calling save action) after validateSave,
Struts 2 continues executing validate,
2013/3/27 lucas owen sr.ilus...@gmail.com:
NEVER MIND
it turns out that a co-worker had touched validate() method:
public void validate(){
MapString, ListString fieldError = new HashedMap();
setFieldErrors(fieldError);
}
what i didn´t know is that (calling save action) after
On Tue, Mar 26, 2013 at 1:42 PM, Alejandro apar...@gmail.com wrote:
you don't put validate to true in the form
That's only for client-side validation.
Dave
I could be wrong, but if you don't return true on submit event, the
form will never get submitted.
Twitter :http://www.twitter.com/m_cucchiara
G+ :https://plus.google.com/107903711540963855921
Linkedin:http://www.linkedin.com/in/mauriziocucchiara
VisualizeMe:
Correct. Return true to submit; false to cancel the event.
On Tue, Mar 26, 2013 at 1:10 PM, Maurizio Cucchiara
mcucchi...@apache.orgwrote:
I could be wrong, but if you don't return true on submit event, the
form will never get submitted.
Twitter :http://www.twitter.com/m_cucchiara
G+
he used onclick, cancel the click event
2013/3/26 Paul Benedict pbened...@apache.org
Correct. Return true to submit; false to cancel the event.
On Tue, Mar 26, 2013 at 1:10 PM, Maurizio Cucchiara
mcucchi...@apache.orgwrote:
I could be wrong, but if you don't return true on submit event,
6 matches
Mail list logo