Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

setXXX method not called if empty values are entered

843842Jul 29 2003 — edited Nov 9 2003
Hi All!

I am busy in creating some form which allows the user to alter personal data (e.g first name, last name, etc.) Most of the input fields are mandatory but nevertheless there are still some, which doesn't require any value.

At the first time, the user fills out the form completely and saves his data. All things works fine. When he now tries to edit his data and erases some not required values, the setXXX methods of my bean are not called. So my application logic is not able to recognize that the values has been deleted and the old values remains unchanged. ;-(

Is there a possibility to keep track that data of input fields has been deleted by the user?

I would be very glad for any suggestion

kind regards
Markus Jessenitschnig
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 7 2003
Added on Jul 29 2003
4 comments
906 views