File tree Expand file tree Collapse file tree 15 files changed +10
-39
lines changed
plugins/appfuse-maven-plugin/src/main/resources/appfuse/web
resources/org/appfuse/webapp/components Expand file tree Collapse file tree 15 files changed +10
-39
lines changed Original file line number Diff line number Diff line change 10
10
${pojoNameLower} .added=${pojo.shortName} has been added successfully.
11
11
${pojoNameLower} .updated=${pojo.shortName} has been updated successfully.
12
12
${pojoNameLower} .deleted=${pojo.shortName} has been deleted successfully.
13
- ${pojoNameLower} .missing=${pojo.shortName} has been deleted successfully .
13
+ ${pojoNameLower} .missing=${pojo.shortName} cannot be found with specified id .
14
14
15
15
# -- ${pojoNameLower} list page --
16
16
${pojoNameLower} List.title=${pojo.shortName} List
Original file line number Diff line number Diff line change 1
1
<#assign pojoNameLower = pojo.shortName.substring(0,1).toLowerCase()+pojo.shortName.substring(1) >
2
- <html t:type =" layout" title =" message:${pojoNameLower}Detail.title"
3
- heading =" message:${pojoNameLower}Detail.heading" menu =" ${pojo.shortName}Menu"
2
+ <html t:type =" layout" title =" message:${pojoNameLower}Detail.title" menu =" ${pojo.shortName}Menu"
4
3
xmlns:t =" http://tapestry.apache.org/schema/tapestry_5_4.xsd" >
5
4
6
5
<div class =" col-sm-3" >
Original file line number Diff line number Diff line change @@ -14,9 +14,7 @@ import org.apache.tapestry5.annotations.InjectPage;
14
14
import org.apache.tapestry5.annotations.Property;
15
15
import org.apache.tapestry5.annotations.Persist;
16
16
import org.apache.tapestry5.annotations.Service;
17
- import org.apache.tapestry5.corelib.components.EventLink;
18
17
import org.apache.tapestry5.corelib.components.Form;
19
- import org.apache.tapestry5.PersistenceConstants;
20
18
import org.apache.tapestry5.EventContext;
21
19
22
20
<#if genericcore >
@@ -28,8 +26,6 @@ import ${pojo.packageName}.${pojo.shortName};
28
26
29
27
import org.slf4j.Logger;
30
28
31
- import java.util.List;
32
-
33
29
public class ${pojo.shortName} Form {
34
30
@Inject
35
31
private Logger log;
@@ -145,4 +141,4 @@ public class ${pojo.shortName}Form {
145
141
Object onCancel() {
146
142
return ${pojoNameLower} List;
147
143
}
148
- }
144
+ }
Original file line number Diff line number Diff line change 11
11
import org .appfuse .model .User ;
12
12
import org .appfuse .service .RoleManager ;
13
13
import org .appfuse .webapp .AppFuseEventConstants ;
14
- import org .appfuse .webapp .pages .PasswordUpdate ;
15
14
import org .appfuse .webapp .services .CountryService ;
16
15
import org .appfuse .webapp .services .impl .RoleEncoder ;
17
16
import org .slf4j .Logger ;
Original file line number Diff line number Diff line change 28
28
import javax .servlet .http .HttpServletRequest ;
29
29
import java .io .IOException ;
30
30
import java .util .ArrayList ;
31
- import java .util .HashSet ;
32
31
import java .util .List ;
33
32
34
33
/**
@@ -286,6 +285,4 @@ Object onUpdatePassword() {
286
285
public void setFrom (String from ) {
287
286
this .from = from ;
288
287
}
289
-
290
-
291
288
}
Original file line number Diff line number Diff line change 49
49
</t : menu >
50
50
</div >
51
51
<t : header />
52
-
53
-
54
52
</nav >
55
53
56
54
<div class =" container" >
Original file line number Diff line number Diff line change 196
196
197
197
<a t : type =" eventlink" id =" cancel" event =" canceled" class =" btn btn-default" >${message:button.cancel}
198
198
</a >
199
-
200
199
</div >
201
-
202
200
</fieldset >
203
-
204
201
</form >
205
-
206
202
</div >
207
203
</t : container >
Original file line number Diff line number Diff line change 10
10
</h2 >
11
11
12
12
<t : if test =" ${errorMessage}" >
13
- <div class =" alert alert-danger fade in " >
13
+ <div class =" alert alert-danger alert-dismissable " >
14
14
${message:errors.password.mismatch}
15
15
</div >
16
16
</t : if >
Original file line number Diff line number Diff line change 19
19
<form t : type =" form" t : id =" passwordUpdate" class =" well form-horizontal" >
20
20
21
21
<input t : type =" textfield" t : id =" username" value =" username" validate =" required"
22
- t : mixins =" formgroup" t : label =" ${message:user.username}" />
22
+ t : mixins =" formgroup" t : label =" ${message:user.username}" />
23
23
24
24
<t : if test =" token" >
25
25
<input t : type =" hidden" t : id =" token" value =" token" />
Original file line number Diff line number Diff line change 98
98
<param-value >springSecurityFilterChain</param-value >
99
99
</init-param >
100
100
</filter >
101
- <!--
102
- <filter>
103
- <filter-name>sitemesh</filter-name>
104
- <filter-class>com.opensymphony.module.sitemesh.filter.PageFilter</filter-class>
105
- </filter>
106
- -->
107
-
101
+
108
102
<!-- T5/Spring Filter -->
109
103
<filter >
110
104
<filter-name >app</filter-name >
131
125
<filter-name >rewriteFilter</filter-name >
132
126
<url-pattern >/*</url-pattern >
133
127
</filter-mapping >
134
- <!--
135
- <filter-mapping>
136
- <filter-name>sitemesh</filter-name>
137
- <url-pattern>/*</url-pattern>
138
- <dispatcher>REQUEST</dispatcher>
139
- <dispatcher>FORWARD</dispatcher>
140
- </filter-mapping>
141
- -->
142
128
<!-- T5 Filter Mapping -->
143
129
<filter-mapping >
144
130
<filter-name >app</filter-name >
Original file line number Diff line number Diff line change 3
3
xmlns : t =" http://tapestry.apache.org/schema/tapestry_5_4.xsd" xmlns : p =" tapestry:parameter" >
4
4
5
5
<t : if test =" errorMessage" >
6
- <div class =" alert alert-error fade in " >
6
+ <div class =" alert alert-error alert-dismissable " >
7
7
<a href =" #" data-dismiss =" alert" class =" close" >× </a >
8
8
${errorMessage}
9
9
</div >
17
17
<div id =" search" class =" input-group" >
18
18
<input t : type =" textfield" size =" 20" name =" q" t : id =" q" placeholder =" ${message:search.enterTerms}"
19
19
class =" form-control" />
20
- <span class =" input-group-btn" >
21
- <button type =" submit" class =" btn btn-default" >${message:button.search}</button >
22
- </span >
20
+ <span class =" input-group-btn" >
21
+ <button type =" submit" class =" btn btn-default" >${message:button.search}</button >
22
+ </span >
23
23
</div >
24
24
</form >
25
25
</div >
You can’t perform that action at this time.
0 commit comments