◆ DescribeItCtrl()
org.turro.www.describeit.DescribeItCtrl.DescribeItCtrl |
( |
IConstructor |
constructor | ) |
|
◆ parseDescriptions()
String org.turro.www.describeit.DescribeItCtrl.parseDescriptions |
( |
String |
describeId, |
|
|
boolean |
container |
|
) |
| |
Definition at line 74 of file DescribeItCtrl.java.
75 Collection<DescribeIt> descriptions = Strings.isBlank(describeId) ?
76 DescribeItUtil.descriptions(entityPath) :
77 DescribeItUtil.descriptions(describeId, entityPath);
78 StringWriter sw =
new StringWriter();
79 if(!descriptions.isEmpty()) {
80 html =
new HTMLHelper(
new PrintWriter(sw));
81 String
id = container ?
"dic_" + IdGenerator.generate() : constructor.
getParameter(
"domid");
83 html.
startTag(
"div",
"id='" +
id +
"'");
85 for(DescribeIt ci : descriptions) {
86 html.
startTag(
"div",
"class='describeit'")
HTMLGenerator endAllTags()
HTMLGenerator write(String value)
HTMLGenerator startTag(String tag)
String getParameter(String param)
◆ renderDescriptions() [1/2]
void org.turro.www.describeit.DescribeItCtrl.renderDescriptions |
( |
boolean |
container | ) |
|
◆ renderDescriptions() [2/2]
void org.turro.www.describeit.DescribeItCtrl.renderDescriptions |
( |
String |
describeId, |
|
|
boolean |
container |
|
) |
| |
Definition at line 53 of file DescribeItCtrl.java.
54 Collection<DescribeIt> descriptions = Strings.isBlank(describeId) ?
55 DescribeItUtil.descriptions(entityPath) :
56 DescribeItUtil.descriptions(describeId, entityPath);
57 if(!descriptions.isEmpty()) {
58 html =
new HTMLHelper(constructor);
59 String
id = container ?
"dic_" + IdGenerator.generate() : constructor.
getParameter(
"domid");
61 html.
startTag(
"div",
"id='" +
id +
"'");
63 for(DescribeIt ci : descriptions) {
64 html.
startTag(
"div",
"class='describeit'")
◆ setEntityPath()
void org.turro.www.describeit.DescribeItCtrl.setEntityPath |
( |
String |
entityPath | ) |
|
The documentation for this class was generated from the following file: