View source: R/rk.XML.dialog.R
rk.XML.dialog | R Documentation |
This function will create a dialog section with optional child nodes "browser", "checkbox", "column", "copy", "dropdown", "embed", "formula", "frame", "include", "input", "insert", "preview", "radio", "row", "saveobject", "select", "spinbox", "stretch", "tabbook", "text", "valueselector", "valueslot", "varselector" and "varslot".
rk.XML.dialog(..., label = NULL, recommended = FALSE, i18n = NULL)
... |
Objects of class |
label |
Character string, a text label for this plugin element. |
recommended |
Logical, whether the dialog should be the recommended interface (unless the user has configured RKWard to default to a specific interface). This attribute currently has no effect, as it is implicitly "true", unless the wizard is recommended. |
i18n |
Either a character string or a named list with the optional elements |
An object of class XiMpLe.node
.
rk.XML.plugin
,
rk.plugin.skeleton
,
and the Introduction to Writing Plugins for RKWard
# define an input field and two checkboxes test.input <- rk.XML.input("Type some text") test.cbox1 <- rk.XML.cbox(label="Want to type?", val="true") test.cbox2 <- rk.XML.cbox(label="Are you shure?", val="true") test.dialog <- rk.XML.dialog(rk.XML.col(test.input, test.cbox1, test.cbox2)) cat(pasteXML(test.dialog))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.