7273747576777879808182
public void doInsert(RunData data, Context context) throws Exception { Country entry = new Country(); data.getParameters().setProperties(entry); entry.save(); } /** * Update a record in the database with the * information present in the web form.
90919293949596979899100
{ Country entry = new Country(); data.getParameters().setProperties(entry); entry.setModified(true); entry.setNew(false); entry.save(); } /** * Delete a record from the database using * the unique id gleaned from the web form.