Jump to content

Wikibooks:Dialog/do/test/data passing

From Wikibooks, open books for an open world

This page tests basic functionality of interactive dialog. It passes different kinds of data input fields through a button, with or without delegation.

Enter data into the following input fields, and use the buttons to pass the data. The data should come through intact.


new foo: size=&x; foo from previous pass: "{{{foo}}}"

new bar: checked=; bar from previous pass: "{{{bar}}}"

new quux:first&one&second&two&third&three&; quux from previous pass: "{{{quux}}}"

new baz: cols=&rows=&x baz from previous pass: "{{{baz}}}"

local parameter passed through button (should always be undefined): "{{{INCOMING-LOCAL-FOO}}}"

local parameter set locally (should be defined only if delegated): "{{{INCOMING-LOCAL-BAR}}}"

action=do&label=pass, non-delegating&verb:button-local-field-verb&page:button-local-field-page&foo&bar&quux&baz&test:button-local-field-test&local-foo:button-local-field-local-foo&cols=&rows=&viewxcols=&rows=&Wikibooks:Dialog/do/test/data passingxWikibooks:Dialog/do/test/data passingcols=&rows=&xcols=&rows=&local-foox

action=do&label=pass, delegating&verb:button-local-field-verb&page:button-local-field-page&foo&bar&quux&baz&local-foo:button-local-field-local-foo&cols=&rows=&viewxcols=&rows=&Wikibooks:Dialog/do/test/data passingxWikibooks:Dialog/do/test/data passingcols=&rows=&local-foox

pass, delegating

This should say "yes" if interactive dialog is supported: no