View source: R/rk.XML.values.R
rk.XML.values | R Documentation |
This function will create a <frame> node including a <valueselector> and a <valueslot> node. It is
actually a wrapper for rk.XML.valueslot
and
rk.XML.valueselector
,
since you usually won't define one
without the other.
rk.XML.values( label, slot.text, options = list(label = c(val = NULL, chk = FALSE, i18n = NULL)), required = FALSE, multi = FALSE, duplicates = FALSE, min = 1, any = 1, max = 0, horiz = TRUE, add.nodes = NULL, frame.label = NULL, id.name = "auto", help = NULL, component = rk.get.comp() )
label |
Character string, a text label for the value browser. |
slot.text |
Character string, a text label for the value selection slot. |
options |
A named list with string values to choose from. The names of the list elements will become
labels of the options, |
required |
Logical, whether the selection of values is mandatory or not. |
multi |
Logical, whether the valueslot holds only one or several objects. |
duplicates |
Logical,
if |
min |
If |
any |
If |
max |
If |
horiz |
Logical. If |
add.nodes |
A list of objects of class |
frame.label |
Character string, a text label for the whole frame. |
id.name |
Character vector, unique IDs for the frame (first entry),
the valueselector (second entry)
and valueslot (third entry). If |
help |
Character string or list of character values and XiMpLe nodes,
will be used as the |
component |
Character string,
name of the component this node belongs to. Only needed if you
want to use the scan features for automatic help file generation; needs |
An object of class XiMpLe.node
.
rk.XML.valueslot
,
rk.XML.valueselector
,
and the Introduction to Writing Plugins for RKWard
test.values <- rk.XML.values("Select some values", "Vars go here") cat(pasteXML(test.values))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.