Claims
- 1. A method of rendering a page, the method comprising the computer-implemented steps of:
establishing a page parameter for the page; mapping the page parameter to a portlet parameter associated with a component of the page; and in response to receiving a request to display the page, performing the steps of
inspecting a mapping to determine that the page parameter is mapped to the portlet parameter; passing a value associated with the page parameter as a value of the portlet parameter to a routine responsible for rendering the component; and the routine generating the component based upon the value associated with the portlet parameter.
- 2. The method of claim 1, wherein the step of mapping the page parameter, further comprises the steps of:
mapping the page parameter to a second portlet parameter associated with a second component of the page; and passing the value associated with the page parameter as the value of the second portlet parameter to a routine responsible for rendering the second component.
- 3. The method of claim 1, wherein:
the step of establishing the page parameter for the page further comprises the step of establishing a plurality of page parameters for the page; the step of mapping the page parameter to the portlet parameter further comprises the step of establishing a mapping of the plurality of page parameters to a plurality of portlet parameters associated with the component of the web page; the step of inspecting the mapping further comprises the step of inspecting the mapping to determine which the page parameters of the plurality of page parameters are mapped to each of the plurality of portlet parameters; the step of passing the value further comprises the step of passing, based on the mapping, values associated with the plurality of page parameters as the values of the plurality of portlet parameters to the routine responsible for rendering the component; and the step of the routine generating further comprises the step of the routine generating the component based upon the values associated with the plurality of portlet parameters.
- 4. The method of claim 1, wherein the step of mapping further comprises the step of mapping the page parameter to the portlet parameter associated with the component of the page without mapping the page parameter to portlet parameters associated with any other components of the page.
- 5. The method of claim 1, wherein the step of mapping further comprises the step of mapping a first page parameter to a first portlet parameter associated with the component of the page and mapping a second page parameter to a second portlet parameter associated with the component of the page.
- 6. The method of claim 1, further comprising the step of establishing for the page parameter a default value, and wherein the step of passing the value associated with the page parameter further comprises the step of passing the default value as the value of the portlet parameter to the routine responsible for rendering the component.
- 7. The method of claim 1, wherein the request to display the page includes a URL and the URL includes the value associated with the page parameter, and wherein the step of passing the value associated with the page parameter is performed by passing the value contained in the URL as the value of the portlet parameter.
- 8. The method of claim 1, further comprising the steps of:
presenting to a user a user interface for customizing the page; in response to the user interacting with the user interface, obtaining a user specified value for the page parameter; and wherein the step of passing the value associated with the page parameter is performed by passing the user specified value as the value of the portlet parameter to the routine responsible for rendering the component.
- 9. The method of claim 1, wherein a plurality of values are specified for the page parameter and wherein:
the method further comprises the step of determining a selected value from the plurality of values based on an override hierarchy; and the step of passing further comprises the step of passing the selected value as the value of the portlet parameter to the routine responsible for rendering the component.
- 10. The method of claim 1, wherein the plurality of values includes a URL page parameter value and a customize page parameter value and the override hierarchy specifies that the URL page parameter value is the selected value.
- 11. The method of claim 1, wherein the plurality of values includes a default page parameter value and a customize page parameter value and the override hierarchy specifies that the customize page parameter value is the selected value.
- 12. The method of claim 1, wherein the plurality of values includes a default page parameter value and a portlet specified value and the override hierarchy specifies that the default page parameter value is the selected value.
- 13. The method of claim 1, further comprising the step of presenting to a page designer a user interface for specifying the mapping between the page parameter and the portlet parameter.
- 14. The method of claim 1, further comprising the step of registering the routine with a portal repository, wherein the process of registering the routine causes data associated with the routine to be stored in the portal repository.
- 15. The method of claim 14, wherein the data associated with the routine is communicated to the portal repository as an XML document.
- 16. The method of claim 1, further comprising the step of a page designer interacting with a user interface to create the mapping between the portlet parameter and the page parameter.
- 17. The method of claim 1, wherein the value associated with the page parameter is stored in memory and wherein:
the method further comprises the step of retrieving the stored value; and the step of the routine generating the component further comprises the step of the routine generating the component based upon the retrieved value.
- 18. A method of causing an action to be performed, the method comprising the computer-implemented steps of:
in response to a user manipulating a component associated with a page, causing logic associated with the page to generate a particular event; passing data that represents the particular event to the logic associated with the page; the logic associated with the component inspecting mapping data that maps events to actions; determining, based on the mapping data, an action to perform in response to the particular event; and causing the action to be performed.
- 19. The method of claim 18, wherein the page is a first page and wherein the step of causing the action to be performed further comprises the step of passing at least part of the data that represents the particular event to logic responsible for rendering a second page.
- 20. The method of claim 18, wherein the step of causing the action to be performed further comprises the step of generating a request that specifies a URL, wherein at least part of the data about the particular event is included in the URL.
- 21. The method of claim 20, wherein:
the step of generating the request further comprises the step of generating a request for executable code; and the step of causing the action to be performed further comprises the step of invoking the executable code.
- 22. The method of claim 21, wherein the executable code is a web service.
- 23. The method of claim 18, wherein:
the step of passing the data that represents the particular event further comprises the step of passing a value of an event output parameter associated with the particular event; the step of inspecting mapping data further comprises the step of inspecting mapping data that maps the event output parameter to a target parameter that is passed as part of performing the action; and the step of causing the action to be performed further comprises the step of passing the value of the event output parameter to the target parameter.
- 24. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 1.
- 25. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 2.
- 26. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 3.
- 27. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 4.
- 28. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 5.
- 29. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 6.
- 30. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 7.
- 31. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 8.
- 32. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 9.
- 33. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 10.
- 34. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 11.
- 35. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 12.
- 36. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 13.
- 37. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 14.
- 38. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 15.
- 39. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 16.
- 40. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 17.
- 41. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 18.
- 42. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 19.
- 43. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 20.
- 44. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 21.
- 45. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 22.
- 46. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform the method recited in claim 23.
RELATED APPLICATION AND CLAIM OF PRIORITY
[0001] This application claims benefit of U.S. Provisional Application entitled “Web Page Communications Using Parameters and Events”, No. 60/430,525, filed Dec. 2, 2002. The entire contents of this prior application are hereby incorporated by reference in its entirety for all purposes.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60430525 |
Dec 2002 |
US |