Wt examples
3.3.6
|
An example showing how to interact custom JavaScript with Wt stuff. More...
#include <JavascriptExample.h>
Public Member Functions | |
JavascriptExample (const WEnvironment &env) | |
Create the example application. More... | |
Private Member Functions | |
void | confirmed () |
The user has confirmed the payment. More... | |
void | setAmount (std::string amount) |
Set the amount to be payed. More... | |
Private Attributes | |
Popup * | promptAmount_ |
Popup for changing the amount. More... | |
Popup * | confirmPay_ |
Popup for paying. More... | |
WText * | currentAmount_ |
WText for showing the current amount. More... | |
An example showing how to interact custom JavaScript with Wt stuff.
Definition at line 24 of file JavascriptExample.h.
JavascriptExample::JavascriptExample | ( | const WEnvironment & | env | ) |
Create the example application.
Definition at line 19 of file JavascriptExample.C.
|
private |
The user has confirmed the payment.
Definition at line 88 of file JavascriptExample.C.
|
private |
Set the amount to be payed.
Definition at line 76 of file JavascriptExample.C.
|
private |
Popup for paying.
Definition at line 46 of file JavascriptExample.h.
|
private |
WText for showing the current amount.
Definition at line 50 of file JavascriptExample.h.
|
private |
Popup for changing the amount.
Definition at line 42 of file JavascriptExample.h.