Patent ID: 7774702

Claim:
A method for maintaining a layout of a user interface between multiple accesses, the method comprising: providing a layout template and a data description; instantiating a data instance from the data description by complementing the data description with runtime dependent data including status parameters; merging the data instance with the layout template into a user interface description; displaying, on a display device, a first display comprising a first plurality of layout elements arranged in an expandable and collapsible hierarchy and having the status parameters reflecting a hierarchical state, the first display being generated in accordance with the user interface description; receiving user input to collapse or expand at least one of the first layout elements; determining, by executing a function in the user interface description on at least one processor, a status of the changed first layout elements; updating a status parameter value of the status parameters in a hidden input field of the user interface description to reflect the expansion or collapse of the at least one of the first layout elements; receiving data, from the user, into a data input field for processing after the at least one of the first layout elements is expanded or collapsed; forwarding the data with the status parameter value in the hidden input field to a server computer; displaying, on a display device, a second display, after forwarding the data to the server, comprising a second plurality of layout elements arranged in an expandable and collapsible hierarchy, the second display being generated in accordance with the user interface description and the second plurality of layout elements being arranged in the hierarchical state of the first layout elements by using the updated determined status parameter value.