Patent ID: 6961929

Claim:
A computer system for automatic synchronization of scripting variables between a page including action tags and a tag library, the computer system comprising: a page suitable for building an application with dynamic web content, the page including one or more action tags that are provided as text in a mark-up language; a tag library; a translator suitable for translating the action tags from the mark-up language to an executable programming code that is executed at runtime to perform actions intended by the action tags; a TagExtraInfo object for each action tag in the page, the TagExtraInfo object providing a method that is accessed by the translator at translation time, the method returning, at translation time, information that includes a list of available scripting variables, and a variable type and scope associated with each scripting variable that is defined or modified by its associated action tag, thereby allowing the translator at translation time to use the information provided by the method to generate code that when executed at runtime will assign each of the scripting variables with appropriate runtime values with respect to the type and scope of each of the scripting variables; a pageContext object for the page, the pageContext object including a runtime mapping of at least one scripting variable in the list of available scripting variables to a runtime value that is represented or can be represented in the tag library, a tag handler that creates at runtime one or more objects that the page requires, the tag handler further operating to store the one or more created objects into the pageContext object; thereby allowing the one or more objects to be retrieved at runtime when the generated code is executed, the one or more objects being assigned at runtime to each of the scripting variables in the list of scripting variables that is returned by the method at translation time.