You should be able to implement Preparable and re-fetch the object from the database before the request parameters are applied. This is what we do in UserAction.java.

http://tinyurl.com/256shb

Matt

On Nov 28, 2007, at 10:16 AM, BruceLee wrote:


Dear Team,

If a JSP page doesn't include all columns in a table, saving back to
database will cause data lose. e.g.
In appfuse userForm.jsp, if I comment out "phoneNumber" edit box, when I
change lastName on editProfile page and save the form, the previous
phone_number in app_user table is gone.

Is any good solutions for this, except putting all these columns on JSP with
hidden?

My env: appfuse 1.9.4 with WW2
Thanks in advance for your advice!
-Bruce
--
View this message in context: http://www.nabble.com/Model-driven- problem-in-userForm--tf4889625s2369.html#a13996028
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
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