Websydian v6.1 online documentationOnline documentation - Websydian v6.1

WapEditDialog Entity

The WapEditDialog pattern corresponds to the WebEditDialog pattern specified for HTML applications, and the pattern implements full maintenance functionality (List, Create, Update, Delete) for an entity.

The functionality implemented by the WapEditDialog pattern is based on the SelectDeck, the InsertCard and the UpdateCard patterns.

See also the Limited Size of WML Decks section in the Other Uses of the Deck Template Generator page.

Example:

MyEntity is a ENT WapEditDialog
MyEntity.DeckEditDialog replaces FNC
...by FNC
ErrorDeck
MyErrorDeck

The InsertCard and UpdateCard functions scoped under the DeckEditDialog both contain calls to the ErrorDeck function.  In the example above, it is assumed that an application specific MyErrorDeck function have been specified based on the Websydian ErrorDeck pattern.

In addtion, the inherited WAP Event Handlers (Next, Position, Insert, Update, Delete) must be declared by calls-triples from the WAP Dispatcher function.