摘要:
A method operative at a server for generating a table having dynamic data. According to the method, a page developer may specify a given table cell in the table for conditional treatment. In response to a request for the table received from a client browser, the table is populated with dynamic data, preferably by instantiating a table format object. If the dynamic data in the table cell meets a given condition, the table cell is highlighted. Using this technique, the page developer may conditionally highlight a particular cell based on the characteristics of the dynamic data to be presented in the cell.
摘要:
A method, operative at a web server, for generating an HTML table having dynamic data, wherein the table can be oriented in any horizontal or vertical orientation. The method preferably utilizes a table format page object to format the table. To facilitate selective rotation of the dynamic table, the method begins by associating together given attribute characteristics of each individual cell in the table. The page developer then sets a table style rotation property on the table format page object. In response to a client request, the table format page object is then instantiated with the dynamic data. The table style rotation property is applied to the table to control the table's orientation. The resulting table is then served back to the requesting client browser.
摘要:
A table format object is used to format a dynamic HTML table at a web server. To facilitate the development of a dynamic server page for use in serving the dynamic table, first and second representations are created and made available for display to a page developer, e.g., in a web browser. The first representation illustrates how the HTML table will appear when formatted on a page by the table format object. The first representation includes given table attribute elements. The second representation is preferably online documentation for the table format object that includes, for each table attribute element, a set of methods that are available on the table format object. According to the invention, a given table attribute in the first representation is bidirectionally linked to its corresponding set of methods in the second representation to enable the developer to easily identify how given attributes in the table behave and how to resolve potential conflicts between these attributes.
摘要:
A method operative at a server in response to a client browser request for generating a table having dynamic data. The method begins by instantiating a table format object with dynamic data extracted from one of a set of data objects through a common interface. The common interface enables page developers to author customized data getter objects that are used to access data in the set of data objects. The dynamic data extracted from the given data object through the common interface is formatted into the table according to the table format object. The resulting table with dynamic data is then served back to the requesting client browser.
摘要:
Different scripting languages may reside side-by-side or nested within each other on the same web page. Thus, a new author may add code to the page, and he or she is not tied to any given subset of languages supported by the web server. Multiple scripting languages are supported by identifying a start and an end of each scripting language code block authored into the web page markup language. When the web page is later compiled into an XML Document Object Model (DOM) tree, the routine examines the DOM to identify any nodes that identify a given code block. Upon encountering a node that identifies a given code block, the DOM is adjusted to account for the script code within the given code block.
摘要:
A method for serving a web page uses eXtensible Markup Language (XML) server pages. The first time a page is accessed, a given flat file is parsed into an XML Document Object Model (DOM), and required tag libraries are loaded. The DOM tree is then traversed, preferably in a depth-first, inside-out manner to locate custom tags. Upon locating a custom tag, if the tag is registered as a Java object, the object is loaded. A process method is then called on the object, passing the custom tag's tree node. The Java object then examines the custom tag and replaces it with an object, e.g., script code. Alternatively, if the tag is registered as an XSL stylesheet, the stylesheet is loaded and passed, together with the DOM, to an XSL processor. The processor applies the template to the custom tag and replaces it with given script code. Once all custom tags are reduced to HTML and script code, the DOM is compiled into a Java servlet to service the client request.
摘要:
The format of an output file from a compiler is altered using two new objects, a template definition file for specifying the desired formats for the sections of the output file and a template facility for formatting output from the compiler according to the template definition file. The desired formats are specified by patterned sets of symbol names in the template definition file. A symbol table which is maintained by the template facility stores a set of symbol values corresponding to the symbol names. The template facility outputs the section by placing symbol values from the symbol table in the output file according to the positions of the corresponding symbol names in the patterned sets of symbol names.
摘要:
A method and apparatus for subclassing System Object Model (SOM) class objects for a dynamic object-oriented language. A proxy class object is created using the dynamic language that points to the SOM class object. Next, a dynamic language subclass is created. This is followed by the creation of a SOM class object using the SOM interface, which causes certain SOM methods to be overridden by dynamic language redispatch stubs. The dynamic language overrides the SOM dispatch procedures and replaces the dispatcher with its own procedures. The new dispatch procedure will search for a method in the dynamic language class object method table first in response to a message, and if not found, redirects the message to the SOM environment.
摘要:
A method for a first process in a first address space to communicate with an object in a second address space including the steps of determining, during runtime of the first process, that a communication link is needed between the first process and a target object in the second address space, generating a proxy object in the first address space corresponding to the target object, and establishing the communication link between the first process and the target object through the proxy object. In addition, an apparatus for a first process in a first address space to communicate with an object in a second address space including apparatus for determining, during runtime of the first process, that a communication link is needed between the first process and a target object in the second address space, apparatus for generating a proxy object in the first address space corresponding to the target object, and apparatus for establishing the communication link between the first process and the target object through the proxy object.
摘要:
A mechanism for passing a request from a calling object in a first address space to a target object in a second address space. First, the request is passed from the calling object to an object request broker (more general term?) to which the calling object is written which normally handles requests to remote objects for the calling object. Responsive to a determination that the target object is foreign to the object request broker, a foreign object request broker to which the target object is written is located. A proxy object is generated according to the protocol of the foreign object request broker and stored in the first address space. A pointer is returned to calling object so that communication from the calling object to the target object may be established through the proxy object.