Custom components which accept multiple models

2008-01-30 Thread Sam Barnum
I'm writing an settings admin page for editing a bunch of Boolean settings. I'm using a custom component to edit the boolean values. This custom component needs access to two settings objects (masterSettings, customSettings) to determine if a custom setting is overridden by a master

Re: Custom components which accept multiple models

2008-01-30 Thread Igor Vaynberg
you can make a model that wraps both and returns result { boolean master, object value } then you bind your textfield with (setting.value) and your checkbox/flag with setting.master -igor On Jan 30, 2008 4:49 PM, Sam Barnum [EMAIL PROTECTED] wrote: I'm writing an settings admin page for