JavascriptExample Class Reference
[Javascript - Wt interaction example]

An example showing how to interact custom JavaScript with Wt stuff. More...

#include <JavascriptExample.h>

Inheritance diagram for JavascriptExample:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 JavascriptExample (const WEnvironment &env)
 Create the example application.

Private Member Functions

void confirmed ()
 The user has confirmed the payment.
void setAmount (std::string amount)
 Set the amount to be payed.

Private Attributes

PopuppromptAmount_
 Popup for changing the amount.
PopupconfirmPay_
 Popup for paying.
WTextcurrentAmount_
 WText for showing the current amount.


Detailed Description

An example showing how to interact custom JavaScript with Wt stuff.

Definition at line 24 of file JavascriptExample.h.


Constructor & Destructor Documentation

JavascriptExample::JavascriptExample ( const WEnvironment env  ) 

Create the example application.

Definition at line 19 of file JavascriptExample.C.


Member Function Documentation

void JavascriptExample::confirmed (  )  [private]

The user has confirmed the payment.

Definition at line 88 of file JavascriptExample.C.

void JavascriptExample::setAmount ( std::string  amount  )  [private]

Set the amount to be payed.

Definition at line 76 of file JavascriptExample.C.


Member Data Documentation

Popup for changing the amount.

Definition at line 42 of file JavascriptExample.h.

Popup for paying.

Definition at line 46 of file JavascriptExample.h.

WText for showing the current amount.

Definition at line 50 of file JavascriptExample.h.


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

Generated on Fri Sep 12 16:53:53 2008 for Wt by doxygen 1.5.6