Confirm Action Element

Getting Started | API | Elements | Actions | Validators | Handlers | About

Table of Contents

1 Confirm Action - #confirm {}

This action tells Nitrogen to trigger a Javascript confirmation box. (ok/cancel).

1.1 Usage

wf:wire(#confirm { text="Do you want to continue?", postback=continue })

1.2 Attributes

text - (string)
The text of the confirm box.
postback - (Erlang term)
If 'ok' is clicked, Nitrogen will issue a postback with this term.

1.3 Callbacks

1.3.1 event(Tag)

Called when the ok button is clicked. Tag is specified in the 'postback' attribute.

Author: Rusty Klophaus (@rklophaus) <>

Date: 2010-06-14 18:35:33 EDT

HTML generated by org-mode 6.33f in emacs 22