# US 2023/0273777 A1 · Composable context menus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0273777 A1
- Document ID: US20230273777A1
- Status: Published application
- Kind: A1
- Application number: 18/313,908
- Filed: 2023-05-08
- Published: 2023-08-31
- Earliest claimed: 2013-12-20
- Assignees: Open Text Corporation
- Applicants: Open Text Corporation
- Inventors: Sachin G. Totale; Deepak Michael; Saif Ali Ansari; Shubha Ravi
- Web page: https://patentgrep.com/patent/US20230273777A1

## CPC

- G06F 8/38: for implementing user interfaces
- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 3/04845: for image manipulation, e.g. dragging, rotation, expansion or change of colour
- G06F 9/451: Execution arrangements for user interfaces
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes displaying an application page at a client system, the application page including a context menu container object that is not visibly displayed as part of the application page. During the display of the application page, the context menu container object holds a current set of context menu options and is responsive to a prescribed input to display the context menu as having the current set of context menu options. Further, during display of the application page, the context menu container object consumes events, evaluates logic to determine context menu options to display based on the first event, updates the current set of context menu options and displays the context menu as having the current set of context menu options.

## Claims

### Claim 1

A computer program product comprising a non-transitory, computer-readable medium storing therein a set of computer-executable instructions, the set of computer-executable instructions comprising instructions for:
providing an application page for display by a client system, the application page comprising:
a visible page element;
a context menu container object that is not initially visibly displayed as part of the application page, the context menu container object comprising a first expression to be evaluated to determine a first context menu option to provide, the context menu container object is configured to consume events and evaluate the first expression and is responsive to prescribed inputs to display a context menu having a current set of context menu options;
consuming, by the context menu container object, a first event during display of the application page, the first event comprising a payload;
during display of the application page, evaluating, by the context menu container object, the first expression to update the current set of context menu options to include the first context menu option based on the event payload of the first event; and
displaying the context menu.

### Claim 2 (depends on 1)

The computer program product of claim 1, wherein the set of computer-executable instructions comprises instructions for initializing the context menu container object with a default set of menu options as the current set of context menu options.

### Claim 3 (depends on 1)

The computer program product of claim 1, wherein the context menu container object comprises an action bound to the first context menu option, and wherein the context menu container object is configured to perform the action based on a user selection of the first context menu option in the context menu.

### Claim 4 (depends on 1)

The computer program product of claim 1, wherein the context menu container object comprises a second expression defining an action to perform in response to a user selection of the first context menu option, and wherein the set of computer-executable comprises instructions for:
evaluating at runtime, by the context menu container object, the second expression to determine the action to perform upon selection of the first context menu option and binding the action to the first context menu option.

### Claim 5 (depends on 4)

The computer program product of claim 4, wherein the action comprises publishing an application user interface.

### Claim 6 (depends on 4)

The computer program product of claim 4, wherein the action comprises publishing a second event to an event bus.

### Claim 7 (depends on 1)

The computer program product of claim 1, wherein the first expression includes the payload of the first event as an argument.

### Claim 8 (depends on 1)

The computer program product of claim 1, wherein the first expression includes an application context data as an argument.

### Claim 9 (depends on 1)

The computer program product of claim 1, wherein the first expression includes a value from a data source as an argument.

### Claim 10 (depends on 1)

The computer program product of claim 1, wherein the set of computer-executable instructions comprises instructions for:
providing a set of action elements associated with the context menu;
receiving a selection of a first context menu option while the context menu is displayed;
performing chained actions while the context menu is displayed; and
maintaining a binding to action elements in the set of action elements to continue processing of the chained actions after the context menu is no longer displayed.

### Claim 11

A context menu method, the method comprising:
providing an application page for display by a client system, the application page comprising:
a visible page element;
a context menu container object that is not initially visibly displayed as part of the application page, the context menu container object comprising a first expression to be evaluated to determine a first context menu option to provide, the context menu container object is configured to consume events and evaluate the first expression and is responsive to prescribed inputs to display a context menu having a current set of context menu options;
consuming, by the context menu container object, a first event during display of the application page, the first event comprising a payload;
during display of the application page, evaluating, by the context menu container object, the first expression to update the current set of context menu options to include the first context menu option based on the event payload of the first event; and
displaying the context menu.

### Claim 12 (depends on 1)

The method of claim 1, further comprising initializing the context menu container object with a default set of menu options as the current set of context menu options.

### Claim 13 (depends on 1)

The method of claim 1, wherein the context menu container object comprises an action bound to the first context menu option, and wherein the context menu container object is configured to perform the action based on a user selection of the first context menu option in the context menu.

### Claim 14 (depends on 1)

The method of claim 1, wherein the context menu container object comprises a second expression defining an action to perform in response to a user selection of the first context menu option, and wherein the set of computer-executable comprises instructions for:
evaluating at runtime, by the context menu container object, the second expression to determine the action to perform upon selection of the first context menu option and binding the action to the first context menu option.

### Claim 15 (depends on 14)

The method of claim 14, wherein the action comprises publishing an application user interface.

### Claim 16 (depends on 14)

The method of claim 14, wherein the action comprises publishing a second event to an event bus.

### Claim 17 (depends on 11)

The method of claim 11, wherein the first expression includes the payload of the first event as an argument.

### Claim 18 (depends on 11)

The method of claim 11, wherein the first expression includes an application context data as an argument.

### Claim 19 (depends on 11)

The method of claim 11, wherein the first expression includes a value from a data source as an argument.

### Claim 20 (depends on 11)

The method of claim 11, wherein the set of computer-executable instructions comprises instructions for:
providing a set of action elements associated with the context menu;
receiving a selection of a first context menu option while the context menu is displayed;
performing chained actions while the context menu is displayed; and
maintaining a binding to action elements in the set of action elements to continue processing of the chained actions after the context menu is no longer displayed.
