View source: R/rk.XML.valueslot.R
rk.XML.valueslot | R Documentation |
Create a XML node "valueslot" for RKWard plugins
rk.XML.valueslot( label, source, property = NULL, required = FALSE, multi = FALSE, duplicates = FALSE, min = 1, any = 1, max = 0, id.name = "auto", help = NULL, component = rk.get.comp(), i18n = NULL )
label |
Character string, a text label for the valueslot. |
source |
Either a character string (the |
property |
Character string,
valid property for a XiMpLe node defined by |
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 |
id.name |
Character vector, unique ID for the valueslot.
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 |
i18n |
Either a character string or a named list with the optional elements |
An object of class XiMpLe.node
.
rk.XML.values
,
rk.XML.valueselector
,
and the Introduction to Writing Plugins for RKWard
## Not run: test.valueselector <- rk.XML.valueselector("Select some values") test.valueslot <- rk.XML.valueslot("Vars go here", source=test.valueselector) cat(pasteXML(test.valueslot)) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.