doc.display
scripting API.@Deprecated public class FieldMacro extends org.radeox.macro.BaseLocaleMacro
Document.display(String, String)
method: view, rendered, edit, search, hidden. If missing, the current
default mode is used.title
field of the first object of the type defined in the current
document.email
field of the first object of the
XWiki.XWikiUsers
type.content
field of the third
XWiki.XWikiComment
type in edit mode.Constructor and Description |
---|
FieldMacro()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(Writer writer,
org.radeox.macro.parameter.MacroParameter params)
Deprecated.
Main macro execution method, replaces the macro instance with the generated output.
|
String |
getLocaleKey()
Deprecated.
|
public String getLocaleKey()
public void execute(Writer writer, org.radeox.macro.parameter.MacroParameter params) throws IllegalArgumentException, IOException
execute
in interface org.radeox.macro.Macro
execute
in class org.radeox.macro.BaseMacro
writer
- the place where to write the outputparams
- the parameters this macro is called withIllegalArgumentException
- if the mandatory argument (text
) is missingIOException
- if the output cannot be writtenBaseMacro.execute(Writer, MacroParameter)
Copyright © 2004–2014 XWiki. All rights reserved.