> 2 - override the Form.copyTo and copyFrom and exclude fields that 
> should not be copied:

I find myself quite often overriding these methods :(.
I think a much better approach would be to have an additional parameter to 
these methods, e.g. "excluded" (e.g. an array string), that would just exclude 
those desired field names from copyTo and copyFrom.

Simple examples might not need it, but in most real cases I had to exclude 
fields, since the model is not 100% in sync with the UI.

thanks,
Joseph.

-- 
View this message in context: 
http://n2.nabble.com/Click-%3C-%3E-Cayenne---multiselect-%3C-%3E-many-to-many-relation-tp2620830p2624705.html
Sent from the click-user mailing list archive at Nabble.com.

Reply via email to