Skip to Content
Former Member
May 25, 2004 at 07:09 PM

How to implement Getter-Setter-Pattern with context-model binding


Hello *,

suppose I have a web service (or any other compatible data source) with a getter and setter method for a simple string value.

How would I design the context and bind it to the model?

What are the general steps to retrieve the string from the model and write it back (e.g. after it has been changed by the user)?

Is a different approach necessary for multi-row data (i.e. a table)?

I'm a bit confused from the examples since there is only a single execute method and a 1-to-1 relationsship from context node/value to a model function.

Thanks for any help!