Open aaloise opened 11 years ago
Component renderErrors is only working in MVVM if an Exceptions is thrown. Here some code for example:
if(!selected.save(flush:true)){ form.renderErrors(bean:selected) }
This doesn' do nothing to the view, but if I change to the following....
if(!selected.save(flush:true)){ form.renderErrors(bean:selected) throw new Exception("") }
Then I can see the message appearing next to the textbox with the wrong value
I don't think this is a normal behaviour.
renderErrors is not intended to be used in MVVM
Component renderErrors is only working in MVVM if an Exceptions is thrown. Here some code for example:
This doesn' do nothing to the view, but if I change to the following....
Then I can see the message appearing next to the textbox with the wrong value
I don't think this is a normal behaviour.