Announcement Announcement Module
Collapse
No announcement yet.
How to save new object without receiving the value a field and copying that value? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to save new object without receiving the value a field and copying that value?

    Hi all,
    I am new to Grails. I am working on a legacy system. My issue is I have column names as name, desc, cdate and udate in the table. For this cdate is the date taken from user in create view while udate is not but at the time of inserting new row in the database we need to insert udate also. udate should be the current date for that time. While in future when the row is updated using edit view, the udate field should be updated with that current date.

    Thanks,
    Devesh
Working...
X