On 27/05/2010 14:29, David Rosenstark wrote:
> I mean like a dataprovider for any control -- that "backs" the value so
> that when you change the value in the control and submit the field value
> of this class is updated. 


Sounds more like data binding than data provider? Regardless Click doesn't 
support the concept of
implicit binding. It does however support explicit binding through 
copyTo/copyFrom or
field.setValue/field.getValue.

If you are interested in GUI patterns here are some interesting reads:

Presentation Model - http://martinfowler.com/eaaDev/PresentationModel.html 
(which relies heavily on
implicit Binding)

Passive Screen - http://martinfowler.com/eaaDev/PassiveScreen.html (uses 
explicit binding)

Kind regards

Bob

Reply via email to