On Jul 4, 2011, at 9:16 AM, Daniel Mejia wrote:
Hi all,
I have a very simple D2W edit form with some fields, some of them are
required in the model and are correctly validated, the problem happen when I
use the ERDEditHTMl component for one of those fields that are required. The
field
Ramsey,
I expect that behavior if the field is not marked as required in the EO Model
and in the database is defined as not null, but if it is marked as not null in
the EO model why is not validated? This only happened when the field is using
the ERDEditHTML component, if I left the field with
Hi Daniel,
I think it should still be validating in validateForSave() so that when you
click the save button, you should still get the error dialog demanding a value
for the field. Is it failing to do that?
Ramsey
On Jul 5, 2011, at 9:55 AM, Daniel Mejia wrote:
Ramsey,
I expect that
Ramsey,
That is exactly what is happening, never is displayed the dialog asking for a
value in that field after click the save button, then I get the exception error
because in the database is not null. If I disable the component ERDEditHTML in
the d2wmodel rules then everything works fine.
Can you post the stack trace?
Ramsey
On Jul 5, 2011, at 10:43 AM, Daniel Mejia wrote:
Ramsey,
That is exactly what is happening, never is displayed the dialog asking for a
value in that field after click the save button, then I get the exception
error because in the database is not
Hi all,
I have a very simple D2W edit form with some fields, some of them are required
in the model and are correctly validated, the problem happen when I use the
ERDEditHTMl component for one of those fields that are required. The field is
never validated and if the user left the field blank