Inherited by ModalDialogOpenerExample.

Public Member Functions | |
| WOActionResults | cancelEdit () |
| String | confirmationMessage () |
| WOActionResults | deleteIt () |
| WOActionResults | deleteIt2 () |
| WOActionResults | editEmployee () |
| Employee | employee () |
| String | errorMessages () |
| String | firstName () |
| String | lastName () |
| ModalDialogExample (WOContext context) | |
| WOActionResults | saveEdit () |
| void | setEmployee (Employee person) |
| void | setFirstName (String name) |
| void | setLastName (String name) |
Public Attributes | |
| NSMutableArray< Company > | companies = new NSMutableArray<Company>() |
| final NSArray< String > | companyNames |
Protected Attributes | |
| String | errorMessages |
Private Attributes | |
| Employee | employee |
| boolean | isSecondConfirmation |
| ModalDialogExample | ( | WOContext | context | ) |
| WOActionResults cancelEdit | ( | ) |
Shows the use of an AjaxSubmitButton to cancel a dialog.
Reimplemented in ModalDialogOpenerExample.
| String confirmationMessage | ( | ) |
Binding for WOString that is in AjaxUpdateContainer "ConfirmationMessage". Returns an initial or repeated confirmation message.
| WOActionResults deleteIt | ( | ) |
Ajax method that is called when deletion is confirmed in the Ajax Dialog with the Yes hyperlink
| WOActionResults deleteIt2 | ( | ) |
Ajax method that is called when deletion is confirmed in the Ajax Dialog with the Yes2 hyperlink. This shows how to update the dialog contents and how to close the box from Java.
| WOActionResults editEmployee | ( | ) |
Shows how to bind the action method to a component that needs initialization before being shown in the dialog. This component contains form elements.
| String errorMessages | ( | ) |
Binding for WOString that is in AjaxUpdateContainer "ValidationMessage". Returns any error messages from trying to save employee().
| String firstName | ( | ) |
| String lastName | ( | ) |
| WOActionResults saveEdit | ( | ) |
Shows the use of an AjaxSubmitButton to submit a form, validate the contents, and either update or close the dialog.
Reimplemented in ModalDialogOpenerExample.
| void setEmployee | ( | Employee | person | ) |
| person | the employee to set |
| void setFirstName | ( | String | name | ) |
This is used instead of employee.firstName so that we can see which method is called
| void setLastName | ( | String | name | ) |
This is used instead of employee.lastName so that we can see which method is called
| NSMutableArray<Company> companies = new NSMutableArray<Company>() |
| final NSArray<String> companyNames |
Initial value:
new NSArray<String>(new String[]{ "Acme Ajax, Inc.", "Betty's Baubles, LLC", "Gimcrack, Intl.", "Sally's Seashore Seashells", "The Fu Bar" })
String errorMessages [protected] |
boolean isSecondConfirmation [private] |
1.5.8