Seamless reflection of model updates in a visual page for a visual channel in a composite services delivery system
First Claim
1. A composite service enabling data processing system comprising:
- a plurality of channel servlets executing in an application server in a data processing system for storing and executing program code including at least one processor coupled to memory elements through a system bus, the servlets enabled to establish multiple different channels of access to a common session for a composite service;
a location registry comprising a table of entries associating the different channels of access with the common session for the composite service; and
,a model servlet configured for coupling to a model for the common session, for modifying state data in the model for the common session, and to synchronize views for each of the different channels of access to the common session responsive to changes detected in the model;
at least one of the views comprising a visible page coupled to a hidden page, the hidden page comprising both a refresh attribute specifying a refresh interval for the hidden page, rendering a form with a plurality of fields in the visible page;
configuring the visible page with a refresh script enabled to apply a value change to a selected one of the fields; and
also a complimentary update script exposed to the visible page and enabled to invoke a refresh script in the visible page responsive to detecting a value change in the model for a user interface element in the hidden page corresponding to the user interface element in the visible page.
2 Assignments
0 Petitions
Accused Products
Abstract
Embodiments of the present invention provide a method, system and computer program product for seamlessly updating a user interface element in a visible page for a visible channel of access to a common session in a composite services enablement environment can be provided. The method can include establishing a visible channel of access to a shared session shared commonly with other channels of access in the composite services enablement environment, rendering a visible page for the visible channel of access and a hidden page for the visible channel of access, reloading the hidden page at a determined interval to capture updates to a model for the shared session applied over the other channels of access, receiving in the hidden page a change in value for a user interface element reflecting an update for the model for the shared session, and causing the visible page to reflect the change in value for a corresponding user interface element in the visible page.
-
Citations
13 Claims
-
1. A composite service enabling data processing system comprising:
-
a plurality of channel servlets executing in an application server in a data processing system for storing and executing program code including at least one processor coupled to memory elements through a system bus, the servlets enabled to establish multiple different channels of access to a common session for a composite service; a location registry comprising a table of entries associating the different channels of access with the common session for the composite service; and
,a model servlet configured for coupling to a model for the common session, for modifying state data in the model for the common session, and to synchronize views for each of the different channels of access to the common session responsive to changes detected in the model; at least one of the views comprising a visible page coupled to a hidden page, the hidden page comprising both a refresh attribute specifying a refresh interval for the hidden page, rendering a form with a plurality of fields in the visible page; configuring the visible page with a refresh script enabled to apply a value change to a selected one of the fields; and also a complimentary update script exposed to the visible page and enabled to invoke a refresh script in the visible page responsive to detecting a value change in the model for a user interface element in the hidden page corresponding to the user interface element in the visible page. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for seamlessly updating a user interface element in a visible page for a visible channel of access to a common session in a composite services enablement environment, the method comprising:
-
establishing a visible channel of access to a shared session shared commonly with other channels of access in the composite services enablement environment; rendering a visible page for the visible channel of access and a hidden page for the visible channel of access; reloading the hidden page at a determined interval to capture updates to a model for the shared session applied over the other channels of access; receiving in the hidden page a change in value for a user interface element reflecting an update for the model for the shared session; causing the visible page to reflect the change in value for a corresponding user interface element in the visible page; rendering a form with a plurality of fields in the visible page; configuring the visible page with a refresh script enabled to apply a value change to a selected one of the fields; configuring the hidden page to refresh at a specified interval; and
,further configuring the hidden page with a complimentary refresh script enabled to call the refresh script in the visible page to apply a value change to the selected one of the fields corresponding to a field in the hidden page. - View Dependent Claims (11)
-
-
12. A computer program product comprising a non-transitory medium having computer usable program code for seamlessly updating a user interface element in a visible page for a visible channel of access to a common session in a composite services enablement environment, the computer program product including:
-
computer usable program code for establishing a visible channel of access to a shared session shared commonly with other channels of access in the composite services enablement environment; computer usable program code for rendering a visible page for the visible channel of access and a hidden page for the visible channel of access; computer usable program code for reloading the hidden page at a determined interval to capture updates to a model for the shared session applied over the other channels of access; computer usable program code for receiving in the hidden page a change in value for a user interface element reflecting an update for the model for the shared session; and
,computer usable program code for causing the visible page to reflect the change in value for a corresponding user interface element in the visible page; computer usable program code for rendering a form with a plurality of fields in the visible page; computer usable program code for configuring the visible page with a refresh script enabled to apply a value change to a selected one of the fields; computer usable program code for configuring the hidden page to refresh at a specified interval; and computer usable program code for further configuring the hidden page with a complimentary update script enabled to call the refresh script in the visible page to apply a value change to the selected one of the fields corresponding to a field in the hidden page. - View Dependent Claims (13)
-
Specification