发明名称 Mechanism for automatic synchronization of scripting variables
摘要 The present invention defines a mechanism for automatic synchronization of scripting variables in an action tag extension facility. Attached to each action, there is a TagExtraInfo class that describes the action. The TagExtraInfo class knows the attributes of the class, including the names of the scripting variables introduced or modified by the action. At translation time, a tag handler accesses the information from the TagExtraInfo class for each tag in a page. At run time, a pageContext object is created containing a mapping of scripting variables to values. The values are visible to the scripting code, and the scripting code can modify the values. Also, the values are accessible by the action code. The action code can modify the values or create new values and assign the values to scripting variables so that the scripting code can modify them later. Thus, the present invention allows action tags to be created without explicit knowledge of the scripting language used to create a page.
申请公布号 US6961929(B1) 申请公布日期 2005.11.01
申请号 US19990471072 申请日期 1999.12.21
申请人 SUN MICROSYSTEMS, INC. 发明人 PELEGRI-LLOPART EDUARDO;CABLE LAURENCE P.G.
分类号 G06F9/54;G06F9/44;G06F9/45;(IPC1-7):G06F9/45 主分类号 G06F9/54
代理机构 代理人
主权项
地址