- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 31 of file AttachParser.java.
◆ doExecute()
boolean org.turro.parser.AttachParser.doExecute |
( |
| ) |
|
|
protected |
Reimplemented from org.turro.parser.AbstractParser.
Definition at line 39 of file AttachParser.java.
46 Entities.getController(
getToken(1)).configureCtrl(ac, contact);
47 ac.setPublicOnly(
true);
52 ac.renderAttachments();
58 if(contact !=
null && contact.isValid()) {
60 ac.setPublicOnly(
true);
62 ac.setEntityPath(
"/contact/" + contact.getId());
63 ac.setReadOnly(!
"self-attachments".equals(
getMacroName()));
64 ac.renderAttachments();
String getToken(String name)
Object findAttribute(String key)
◆ explainMacros()
void org.turro.parser.AttachParser.explainMacros |
( |
ParserMacroSet |
macros | ) |
|
|
protected |
Reimplemented from org.turro.parser.AbstractParser.
Definition at line 72 of file AttachParser.java.
73 macros.addMacro(
"attachment")
74 .addParameter(
"entityPath",
false)
75 .addParameter(
"template",
true,
"tree")
76 .addPossibleValue(
"editableTree");
77 macros.addMacro(
"attachment-ro")
78 .addParameter(
"entityPath",
false)
79 .addParameter(
"template",
true,
"tree-ro");
80 macros.addMacro(
"attachment-rot")
81 .addParameter(
"entityPath",
false)
82 .addParameter(
"template",
true,
"tree-rot");
83 macros.addMacro(
"self-attachments")
84 .addParameter(
"template",
true,
"tree");
85 macros.addMacro(
"self-attachments-ro")
86 .addParameter(
"template",
true,
"tree-ro");
87 macros.addMacro(
"self-attachments-rot")
88 .addParameter(
"template",
true,
"tree-rot");
◆ getParserName()
String org.turro.parser.AttachParser.getParserName |
( |
| ) |
|
The documentation for this class was generated from the following file: