Patent ID: 8136043
Filing Date: 2012-03-13
Classification: G06F

Abstract:
1. A graphic user interface (GUI) generation apparatus for generating GUIs of WEB screens comprising: a storage unit adapted to store association information that associates an input/output GUI component relating to the input and output of data with a data model that is common to a plurality of screens and stores data, a screen definition file containing screen configuration information regarding the arrangement of the input/output GUI component and an instruction GUI component which accepts an instruction from a user, and a transition definition file which defines and associates a logic program executing an event corresponding to the instruction accepted via the instruction GUI component with a screen to be transited to in response to the execution of the logic program; a reflection unit adapted to, upon receiving an input of data through the input/output GUI component, reflect the inputted data in the data model that is associated with the input/output GUI component in the association information; a generation unit adapted to generate a screen including the input/output GUI component and the instruction GUI component by loading the transition definition file and the screen definition file from the storage unit; an event obtaining unit adapted to obtain an event corresponding to the instruction accepted via the instruction GUI component; an obtaining unit adapted to obtain a screen to be transited to and a logic program corresponding to the event based on the transition definition file; and a logic execution unit adapted to execute the logic program obtained by the obtaining unit, wherein the logic execution unit acquires the data of the data model reflected by the reflection unit, and stores, in the data model, the data of the processing result by the logic program with the use of the acquired data, based on the logic program without rewriting the logic program, wherein the generation unit updates a screen into a screen to be transited to based on both a screen to be transited to obtained by the obtaining unit and the data model in which the reflection unit has reflected the input data and which has stored processing result data executed by the logic execution unit, and wherein the reflection unit determines whether a data type of a first value of data input via the input/output GUI component matches a data type of a second value of a data field of the data model obtained based on a property value which has been set for the input/output GUI component or not, converts the data type of the first value into that of the second value if the data type of the first value does not match that of the second value, and reflects the input data into the data model by setting the second value into a data field of the data model if the first value is different from the second value.