Claims
- 1. A method of handling messages in a Web application comprising:
inserting a message handler in a top level document of the Web application; inserting a writeable block in a window in a first page of the Web application, the writeable block for receiving a message generated by the Web application; and inserting a message script in a second page of the Web application, if a message is generated by the Web application for display in response to an execution of the second page, wherein the message handler is invoked in response to the message script.
- 2. The method of claim 1 wherein the message handler targets a preselected window in the second page of the Web application.
- 3. The method of claim 2 wherein the message handler is operable for writing a message string representing the message generated by the Web application in the writeable block, and wherein the writeable block is contained in the preselected window in the second page of the Web application.
- 4. The method of claim 2 wherein the message handler is operable for traversing a logical model of Web application documents, the message handler locating the writeable block in the preselected window in response to the traversing of the logical model.
- 5. The method of claim 4 wherein the logical model of the Web application documents comprises the Document Object Model.
- 6. The method of claim 1 further comprising returning the second page to a client, wherein the second page includes a response to a Web application request.
- 7. A computer program product embodied in a machine-readable storage medium for handling messages in a Web application, the program product comprising programming instructions for performing the steps of:
inserting a message handler in a top level document of the Web application; inserting a writeable block in a window in a first page of the Web application, the writeable block for receiving a message generated by the Web application; and inserting a message script in a second page of the Web application, if a message is generated by the Web application for display in response to an execution of the second page, wherein the message handler is invoked in response to the message script.
- 8. The program product of claim 7 wherein the message handler targets a preselected window in the second page of the Web application.
- 9. The program product of claim 8 wherein the message handler is operable for writing a message string representing the message generated by the Web application in the writeable block, and wherein the writeable block is contained in the preselected window in the second page of the Web application.
- 10. The program product of claim 8 wherein the message handler is operable for traversing a logical model of Web application documents, the message handler locating the writeable block in the preselected window in response to the traversing of the logical model.
- 11. The program product of claim 10 wherein the logical model of the Web application documents comprises the Document Object Model.
- 12. The program product of claim 7 further comprising programming instructions for performing the step of returning the second page to a client, wherein the second page includes a response to a Web application request.
- 13. A data processing system for handling messages in a Web application comprising:
circuitry operable for inserting a message handler in a top level document of the Web application; circuitry operable for inserting a writeable block in a window in a first page of the Web application, the writeable block for receiving a message generated by the Web application; and circuitry operable for inserting a message script in a second page of the Web application, if a message is generated by the Web application for display in response to an execution of the second page, wherein the message handler is invoked in response to the message script.
- 14. The system of claim 7 wherein the message handler targets a preselected window in the second page of the Web application.
- 15. The system of claim 14 wherein the message handler is operable for writing a message string representing the message generated by the Web application in the writeable block, and wherein the writeable block is contained in the preselected window in the second page of the Web application.
- 16. The system of claim 14 wherein the message handler is operable for traversing a logical model of Web application documents, the message handler locating the writeable block in the preselected window in response to the traversing of the logical model.
- 17. The system of claim 16 wherein the logical model of the Web application documents comprises the Document Object Model.
- 18. The system of claim 13 further comprising circuitry operable for returning the second page to a client, wherein the second page includes a response to a Web application request.
- 19. A method of handling messages in a Web application comprising:
inserting a message handler in a top level document of the Web application; inserting a writeable block in a window in a first page of the Web application, the writeable block for receiving a message generated by the Web application; and inserting a message script in a second page of the Web application, if a message is generated by the Web application for display in response to an execution of the second page, wherein the message handler is invoked in response to the message script, wherein the message handler targets a preselected window in the second page of the Web application, the message handler being operable for writing a message string representing the message generated by the Web application in the writeable block, and wherein the writeable block is contained in the preselected window in the second page of the Web application.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] Related subject matter may be found in the following commonly assigned, copending U.S. patent applications, which are hereby incorporated by reference herein:
[0002] Ser. No. ______ (AUS9-2002-0327-US1), entitled “SYSTEMS AND METHODS FOR TRANSPARENTLY ACCESSING WEB APPLICATIONS REMOTELY AND LOCALLY”;
[0003] Ser. No. ______ (AUS9-2002-0330-US1), entitled “SYSTEMS AND METHODS FOR ACCESSING WEB SERVICES USING A TAG LIBRARY”; and
[0004] Ser. No. ______ (AUS9-2002-0331-US1), entitled “SYSTEMS AND METHODS FOR DISPLAYING AND EXECUTING WEB SERVICES IN MULTIPLE CONTENT DOMAINS”.