Claims
- 1. A system comprising:
a model; a first controller and at least a second controller for manipulating the model; a first view and at least a second view for presenting the model; and at least a first context, a second context and a third context, wherein: the first and second views relate to the first and second controllers, respectively; a user interface (UI) element of the first view binds to a first structure element of the first context and a UI element of the second view binds to a second structure element of the second context; and the first structure element and the second structure element reference a third structure element of the third context.
- 2. The system of claim 1, wherein the third structure element is selected from the group of model node, value node and attribute.
- 3. The system of claim 2, wherein the first, second and third structure elements are type compatible.
- 4. The system of claim 1, wherein the third structure element references a further structure element of a further context.
- 5. The system of any one of the claims 1 to 4, wherein the third context relates to a third controller.
- 6. The system of claim 5, wherein each context and controller has a lifetime and the lifetimes of the first context and of the second context correspond to the lifetimes of the first controller and the second controller, respectively, and the lifetime of the third context corresponds to the lifetime of the third controller.
- 7. The system of claim 1, wherein the first and second structure elements derive their state from the third structure element.
- 8. The system of claim 1, wherein runtime instances of the third structure elements include a record set.
- 9. The system of claim 1, wherein the first, second and third structure elements include at least one attribute.
- 10. The system of claim 1, wherein the first, second and third structure elements include at least one child node.
- 11. A method for storing an interaction status of an application, wherein the application comprises a model, a view for presenting the model, a controller for manipulating the model; the view relating to the controller; the method comprising:
providing at least a first context and a second context, wherein each context has a lifetime and the lifetime of the second context spans the lifetime of the first context and wherein a user interface element of the view binds to a first structure element of the first context and the first structure element references a second structure element of the second context; receiving from the UI element a modification of application data; and modifying at least one runtime instance of the second structure element in accordance with the modification.
- 12. The method of claim 11, wherein the first and second structure elements are selected from the group of model node, value node and attribute.
- 13. The method of claim 11 or 12, wherein the first structure element derives its state from the second structure element.
- 14. A plurality of contexts for storing an interaction status of an application, wherein the application comprises a model, a view for presenting the model and a controller for manipulating the model; the view relating to the controller, the plurality of contexts comprising:
a first context; and a second context, wherein: a user interface element of the view binds to a first structure element of the first context and the first structure element references a second structure element of the second context; the first context relates to the controller and the second context relates to a further controller of the application, wherein the further controller is for manipulating the model without requiring a related view; and the second structure element declares application data to be instantiated at runtime in at least one runtime instance of the second structure element and to be presented by the UI element.
- 15. The plurality of contexts of claim 14, wherein the declared application data have a type selected from the group of scalar data type, table data type or structure data type.
- 16. A computer program product, tangibly embodied in an information carrier, the computer program product being operable to cause data processing apparatus to:
establish a model; establish a first controller and at least a second controller for manipulating the model; establish a first view and at least a second view for presenting the model; and establish at least a first context, a second context and a third context, wherein: the first and second views relate to the first and second controllers, respectively; a user interface (UI) element of the first view binds to a first structure element of the first context and a UI element of the second view binds to a second structure element of the second context; and the first structure element and the second structure element reference a third structure element of the third context.
- 17. A computer program product, tangibly embodied in an information carrier, the computer program product being operable to cause data processing apparatus to:
provide at least a first context and a second context, wherein each context has a lifetime and the lifetime of the second context spans the lifetime of the first context and wherein a user interface element of the view binds to a first structure element of the first context and the first structure element references a second structure element of the second context; receive from the UI element a modification of application data; and modify at least one runtime instance of the second structure element in accordance with the modification.
Priority Claims (1)
Number |
Date |
Country |
Kind |
02024243.4 |
Oct 2002 |
EP |
|
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application claims the benefit of U.S. Provisional Application Serial No. 60/414,985, filed on Sep. 30, 2002 and a foreign priority application filed in the European Patent Office on Oct. 31, 2002 (our docket no. 13913-T2002-220-EP2).
Provisional Applications (1)
|
Number |
Date |
Country |
|
60414985 |
Sep 2002 |
US |