Skip to content

Commit f85da38

Browse files
committed
APF-1419: Removed comments causing line breaks in generated output.
1 parent f1f2b69 commit f85da38

File tree

1 file changed

+1
-15
lines changed
  • plugins/appfuse-maven-plugin/src/main/resources/appfuse/web/tapestry

1 file changed

+1
-15
lines changed

plugins/appfuse-maven-plugin/src/main/resources/appfuse/web/tapestry/form.ftl

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,6 @@ public class ${pojo.shortName}Form {
5252
@Persist
5353
private ${pojo.shortName} ${pojoNameLower};
5454

55-
<#--public ${pojo.shortName} get${pojo.shortName}() {-->
56-
<#--return ${pojoNameLower};-->
57-
<#--}-->
58-
5955
/**
6056
* Allows setting ${pojoNameLower} object from another class (i.e. ${pojo.shortName}List)
6157
*
@@ -93,21 +89,12 @@ public class ${pojo.shortName}Form {
9389
else {
9490
throw new IllegalStateException("Invalid Request");
9591
}
96-
9792
}
9893

99-
<#--void onActivate(${identifierType} ${pojo.identifierProperty.name}) {-->
100-
<#--if (${pojo.identifierProperty.name} != null) {-->
101-
<#--${pojoNameLower} = ${pojoNameLower}Manager.get(${pojo.identifierProperty.name});-->
102-
<#--}-->
103-
<#--}-->
104-
10594
Long onPassivate() {
106-
return ${pojoNameLower} != null ? ${pojoNameLower}.getId() : null;
95+
return ${pojoNameLower} != null ? ${pojoNameLower}.getId() : null;
10796
}
10897

109-
110-
11198
void onPrepare() {
11299
if (${pojoNameLower} == null) {
113100
${pojoNameLower} = new ${pojo.shortName}();
@@ -116,7 +103,6 @@ public class ${pojo.shortName}Form {
116103

117104
Object onException(Throwable cause) {
118105
log.error("Exception: " + cause.getMessage());
119-
120106
return this;
121107
}
122108

0 commit comments

Comments
 (0)