ModalDialogOpenerExample Class Reference

Inherits ModalDialogExample.

Collaboration diagram for ModalDialogOpenerExample:

Collaboration graph
[legend]

List of all members.

Public Member Functions

WOActionResults cancelEdit ()
void cleanupAfterCompanyEdit ()
void deleteCompany ()
String editCompanyTitle ()
 ModalDialogOpenerExample (WOContext context)
void rememberCurrentCompany ()
void saveCompanyChanges ()
WOActionResults saveEdit ()
void selectCompany ()
void selectCompanyToEdit ()
void updatePage ()
void willOpen ()

Public Attributes

Company aCompany
int companyIndex
Company companyToEdit
Company selectedCompany
String validationMessage


Detailed Description

Example usage of AjaxModalDialogOpener. Not intended as a best practice example of WO coding...

See also:
AjaxModalDialog

Constructor & Destructor Documentation

ModalDialogOpenerExample ( WOContext  context  ) 


Member Function Documentation

WOActionResults cancelEdit (  ) 

Shows the use of an AjaxSubmitButton to cancel a dialog.

Reimplemented from ModalDialogExample.

void cleanupAfterCompanyEdit (  ) 

void deleteCompany (  ) 

String editCompanyTitle (  ) 

void rememberCurrentCompany (  ) 

void saveCompanyChanges (  ) 

WOActionResults saveEdit (  ) 

Shows the use of an AjaxSubmitButton to submit a form, validate the contents, and either update or close the dialog.

Reimplemented from ModalDialogExample.

void selectCompany (  ) 

Ajax action method to select the company from the modal dialog.

void selectCompanyToEdit (  ) 

void updatePage (  ) 

Updates the editor forms when the dialog is closed.

void willOpen (  ) 


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Sat May 26 06:42:12 2012 for Project Wonder by  doxygen 1.5.8