seen from France
seen from France

seen from United States

seen from United States

seen from United States

seen from Malaysia
seen from United States

seen from China
seen from China

seen from United States

seen from Malaysia
seen from United States
seen from United States

seen from Malaysia
seen from China
seen from Brazil
seen from United States
seen from United States

seen from United States
seen from United States
Saving a Domain class
Here's a way to get data from UI compoments, assign them to a Grails domain class and save. If there's an error the first error message will be displayed by the notification block. $('#save').on('click', { def product = new Product( name: $('#name' ).val(), category: $('#category').val(), unit: $('#unit' ).val() ) if(product.save(flush: true)) { notify("New Product ${product.name}: ${product.id} Saved") $('#name, #category, #unit').val(null) $('#name').focus() } else { def e = product.errors.allErrors[0] def comp = $("#${e.field}") notify(message(error:e), comp) comp.focus() } })