Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Event Set 2: The corresponding Form shows when the "Edit" button is clicked.

CRUD Component

Form LabelValue
Handle Component with AJAX?

(Checked)

Info
titleNote
Checking this label will enable the following sub-properties.
Event Triggering
Row 1
Event Name *load_form
Trigger Method *Link Clicked

Parameters Changed Rules

RowParameter Name *OperatorValue
1_modeEquals Toedit
 
When Not Match Trigger Event Namehide_form
Info
titleExplanation

When the Edit button is clicked, the "_mode" parameter becomes equal to "edit", which triggers the "load_form" event.

When the Trigger Event name doesn't match "load_form", then the "hide_form" event is called.

Image Removed


Image Added

Figure 16:The Ajax & Events configuration of the CRUD Component in the Event Triggering section.

Form Component

Form LabelValue
Event Listening
Row 1Component Object
Manage Meeting
Event Name *load_form
Matched ActionShow and Change Component URL Parameters

Parameters *

RowParameter Name *Parameter Value
1id{id}
2closefalse
3_modeedit
4_actionedit
Info
titleExplanation

Upon receiving a call for this event, the Manage Meeting Component Object will Show and Change its Component URL Parameters to the set values.


Image Modified

Figure 17: The Ajax & Events configuration of the Form Component in the Event Listening section.


Event Set 3(a): When the "Save" button is clicked - The table reloads with the new data.

Form Component

Form LabelValue
Event Triggering
Row 1
Event Name *reload_table
Trigger Method *POST Request
Info
titleExplanation

The Form triggers a "reload_table" event via a POST Request.


Image Modified

Figure

16

18: The Ajax & Events configuration of the

CRUD

Form Component in the Event Triggering section.

...


CRUD Component

Form LabelValue
Handle Component with AJAX?

(Checked)

Info
titleNote
Checking this label will enable the following sub-properties.
Event Listening
Row 1Component Object
Main Menu Component
Form
Event Name *
page
reload_
loaded
table
Matched Action
Hide
Show and Change Reload Component
Info
titleExplanation

The

Main Menu Component

CRUD component listens for a

'page_loaded' event. When the event is triggered, it hides the Main Menu Component component object.

"reload_table" event from the Form, and then Shows and Reloads the CRUD Component, which in turns reloads the List and includes the newly updated values.


Image Added

Figure 19

Image Removed

Figure 15

: The Ajax & Events configuration of the

Form

CRUD Component in the Event Listening section.


Event Set 3(b): When the "Save" button is clicked - The Form becomes hidden.

Form Component

Form LabelValue
Event Triggering
Row 1
Event Name *
load
hide_form
Trigger Method *
Link Clicked
GET Request
Info
titleExplanation

The Form checks the value of the 'close' parameter on any GET Request.

If the value is true, then the 'hide_form' event is triggered.


Image Added

Figure 20: The Ajax & Events configuration of the Form Component in the Event Triggering section.

Event Listening

Row 1Component Object
Form
Event Name *hide_form
Matched ActionHide Component
Info
titleExplanation

When the "hide_form" event is heard, the Form Component Object is hidden.


Image Added

Figure 21: The Ajax & Events configuration of the Form Component in the Event Listening section.

Row 2Component Object
Manage Meeting
Event Name *hide_form
Matched ActionHide Component
Info
titleExplanation

When the "hide_form" event is heard, the Manage Meeting Object is hidden.


Image Added

Figure 22: The Ajax & Events configuration of the Form Component in the Event Listening section.


CRUD Component

Parameters Changed Rules

RowParameter Name *OperatorValue1_modeEquals Toedit
Info

These parameters are required to trigger the "Link Clicked" Trigger Method.

For instance, in this context, when the parameter name "_mode" is equals to "edit", then the "Link Clicked" Trigger Method is triggered.

Form LabelValue
Event Triggering
Row 1
When Not Match Trigger Event Namehide_form
Info
titleExplanation

When the

"Link Clicked" trigger method is activated, it initiates the "load_form" event

Trigger Event name doesn't match "load_form", then the "hide_form" event is called.


Image Added

Figure 23: The Ajax & Events configuration of the CRUD Component in the Event Triggering section.