Revision 2

View differences:

hmi/trunk/README
1

  
2
  Eneraptor HMI
3
  README
4

  
5
  1) Install
6

  
7
    All the contents in the webapp/ directory should be copied to the proxy's tomcat's webapps directory.
8
	
9
	Example: cp -r ./webapp/* <Tomcat_home>/webapps
10
	(substitute <Tomcat_home> with your Tomcat's home dir. Usually /opt/tomcat or similar.)
hci/trunk/eneraptor-web-app/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>eneraptor-web-app</name>
4
	<comment></comment>
5
	<projects>
6
	</projects>
7
	<buildSpec>
8
		<buildCommand>
9
			<name>org.eclipse.jdt.core.javabuilder</name>
10
			<arguments>
11
			</arguments>
12
		</buildCommand>
13
	</buildSpec>
14
	<natures>
15
	    <nature>com.springsource.sts.grails.core.nature</nature>
16
		<nature>org.eclipse.jdt.groovy.core.groovyNature</nature>
17
		<nature>org.eclipse.jdt.core.javanature</nature>
18
	</natures>
19
</projectDescription>
hci/trunk/eneraptor-web-app/web-app/WEB-INF/applicationContext.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<beans xmlns="http://www.springframework.org/schema/beans"
3
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
       xsi:schemaLocation="
5
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
6

  
7
	<bean id="grailsApplication" class="org.codehaus.groovy.grails.commons.GrailsApplicationFactoryBean">
8
		<description>Grails application factory bean</description>
9
        <property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
10
        <property name="grailsResourceLoader" ref="grailsResourceLoader" />
11
	</bean>
12

  
13
	<bean id="pluginManager" class="org.codehaus.groovy.grails.plugins.GrailsPluginManagerFactoryBean">
14
		<description>A bean that manages Grails plugins</description>
15
        <property name="grailsDescriptor" value="/WEB-INF/grails.xml" />
16
        <property name="application" ref="grailsApplication" />
17
	</bean>
18

  
19
    <bean id="grailsConfigurator" class="org.codehaus.groovy.grails.commons.spring.GrailsRuntimeConfigurator">
20
        <constructor-arg>
21
            <ref bean="grailsApplication" />
22
        </constructor-arg>
23
        <property name="pluginManager" ref="pluginManager" />
24
    </bean>
25

  
26
    <bean id="grailsResourceLoader" class="org.codehaus.groovy.grails.commons.GrailsResourceLoaderFactoryBean">
27
        <property name="grailsResourceHolder" ref="grailsResourceHolder" />
28
    </bean>
29

  
30
    <bean id="grailsResourceHolder" scope="prototype" class="org.codehaus.groovy.grails.commons.spring.GrailsResourceHolder">
31
        <property name="resources">
32
              <value>classpath*:**/grails-app/**/*.groovy</value>
33
        </property>
34
    </bean>    
35
    
36
   <bean id="characterEncodingFilter"
37
      class="org.springframework.web.filter.CharacterEncodingFilter">
38
        <property name="encoding">
39
          <value>utf-8</value>
40
        </property>
41
   </bean>    	
42
</beans>
hci/trunk/eneraptor-web-app/web-app/WEB-INF/sitemesh.xml
1
<sitemesh>
2
    <page-parsers>
3
        <parser content-type="text/html"
4
            class="org.codehaus.groovy.grails.web.sitemesh.GrailsHTMLPageParser" />
5
        <parser content-type="text/html;charset=ISO-8859-1"
6
            class="org.codehaus.groovy.grails.web.sitemesh.GrailsHTMLPageParser" />
7
        <parser content-type="text/html;charset=UTF-8"
8
            class="org.codehaus.groovy.grails.web.sitemesh.GrailsHTMLPageParser" />            
9
    </page-parsers>
10

  
11
    <decorator-mappers>
12
        <mapper class="org.codehaus.groovy.grails.web.sitemesh.GrailsLayoutDecoratorMapper" />
13
    </decorator-mappers>
14
</sitemesh>
hci/trunk/eneraptor-web-app/web-app/WEB-INF/tld/grails.tld
1
<?xml version="1.0" encoding="UTF-8"?>
2
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
3
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
5
            http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
6
        version="2.0">
7
    <description>The Grails custom tag library</description>
8
    <tlib-version>0.2</tlib-version>
9
    <short-name>grails</short-name>
10
    <uri>http://grails.codehaus.org/tags</uri>
11

  
12
    <tag>
13
        <name>link</name>
14
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspLinkTag</tag-class>
15
        <body-content>JSP</body-content>
16
        <attribute>
17
            <name>action</name>
18
            <required>false</required>
19
            <rtexprvalue>true</rtexprvalue>
20
        </attribute>
21
        <attribute>
22
            <name>controller</name>
23
            <required>false</required>
24
            <rtexprvalue>true</rtexprvalue>
25
        </attribute>
26
        <attribute>
27
            <name>id</name>
28
            <required>false</required>
29
            <rtexprvalue>true</rtexprvalue>
30
        </attribute>
31
        <attribute>
32
            <name>url</name>
33
            <required>false</required>
34
            <rtexprvalue>true</rtexprvalue>
35
        </attribute>
36
        <attribute>
37
            <name>params</name>
38
            <required>false</required>
39
            <rtexprvalue>true</rtexprvalue>
40
        </attribute>
41
        <dynamic-attributes>true</dynamic-attributes>
42
    </tag>
43
    <tag>
44
        <name>form</name>
45
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspFormTag</tag-class>
46
        <body-content>JSP</body-content>
47
        <attribute>
48
            <name>action</name>
49
            <required>false</required>
50
            <rtexprvalue>true</rtexprvalue>
51
        </attribute>
52
        <attribute>
53
            <name>controller</name>
54
            <required>false</required>
55
            <rtexprvalue>true</rtexprvalue>
56
        </attribute>
57
        <attribute>
58
            <name>id</name>
59
            <required>false</required>
60
            <rtexprvalue>true</rtexprvalue>
61
        </attribute>
62
        <attribute>
63
            <name>url</name>
64
            <required>false</required>
65
            <rtexprvalue>true</rtexprvalue>
66
        </attribute>
67
        <attribute>
68
            <name>method</name>
69
            <required>true</required>
70
            <rtexprvalue>true</rtexprvalue>
71
        </attribute>
72
        <dynamic-attributes>true</dynamic-attributes>
73
    </tag>
74
    <tag>
75
        <name>select</name>
76
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspSelectTag</tag-class>
77
        <body-content>JSP</body-content>
78
        <attribute>
79
            <name>name</name>
80
            <required>true</required>
81
            <rtexprvalue>true</rtexprvalue>
82
        </attribute>
83
        <attribute>
84
            <name>value</name>
85
            <required>false</required>
86
            <rtexprvalue>true</rtexprvalue>
87
        </attribute>
88
        <attribute>
89
            <name>optionKey</name>
90
            <required>false</required>
91
            <rtexprvalue>true</rtexprvalue>
92
        </attribute>
93
        <attribute>
94
            <name>optionValue</name>
95
            <required>false</required>
96
            <rtexprvalue>true</rtexprvalue>
97
        </attribute>
98
        <dynamic-attributes>true</dynamic-attributes>
99
    </tag>
100
    <tag>
101
        <name>datePicker</name>
102
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspDatePickerTag</tag-class>
103
        <body-content>empty</body-content>
104
        <attribute>
105
            <name>name</name>
106
            <required>true</required>
107
            <rtexprvalue>true</rtexprvalue>
108
        </attribute>
109
        <attribute>
110
            <name>value</name>
111
            <required>false</required>
112
            <rtexprvalue>true</rtexprvalue>
113
        </attribute>
114
        <attribute>
115
            <name>precision</name>
116
            <required>false</required>
117
            <rtexprvalue>true</rtexprvalue>
118
        </attribute>
119
        <dynamic-attributes>false</dynamic-attributes>
120
    </tag>
121
    <tag>
122
        <name>currencySelect</name>
123
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspCurrencySelectTag</tag-class>
124
        <body-content>empty</body-content>
125
        <attribute>
126
            <name>name</name>
127
            <required>true</required>
128
            <rtexprvalue>true</rtexprvalue>
129
        </attribute>
130
        <attribute>
131
            <name>value</name>
132
            <required>false</required>
133
            <rtexprvalue>true</rtexprvalue>
134
        </attribute>
135
        <dynamic-attributes>true</dynamic-attributes>
136
    </tag>
137
    <tag>
138
        <name>localeSelect</name>
139
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspLocaleSelectTag</tag-class>
140
        <body-content>empty</body-content>
141
        <attribute>
142
            <name>name</name>
143
            <required>true</required>
144
            <rtexprvalue>true</rtexprvalue>
145
        </attribute>
146
        <attribute>
147
            <name>value</name>
148
            <required>false</required>
149
            <rtexprvalue>true</rtexprvalue>
150
        </attribute>
151
        <dynamic-attributes>true</dynamic-attributes>
152
    </tag>
153
    <tag>
154
        <name>timeZoneSelect</name>
155
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspTimeZoneSelectTag</tag-class>
156
        <body-content>empty</body-content>
157
        <attribute>
158
            <name>name</name>
159
            <required>true</required>
160
            <rtexprvalue>true</rtexprvalue>
161
        </attribute>
162
        <attribute>
163
            <name>value</name>
164
            <required>false</required>
165
            <rtexprvalue>true</rtexprvalue>
166
        </attribute>
167
        <dynamic-attributes>true</dynamic-attributes>
168
    </tag>
169
    <tag>
170
        <name>checkBox</name>
171
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspCheckboxTag</tag-class>
172
        <body-content>empty</body-content>
173
        <attribute>
174
            <name>name</name>
175
            <required>true</required>
176
            <rtexprvalue>true</rtexprvalue>
177
        </attribute>
178
        <attribute>
179
            <name>value</name>
180
            <required>true</required>
181
            <rtexprvalue>true</rtexprvalue>
182
        </attribute>
183
        <dynamic-attributes>true</dynamic-attributes>
184
    </tag>
185
    <tag>
186
        <name>hasErrors</name>
187
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspHasErrorsTag</tag-class>
188
        <body-content>JSP</body-content>
189
        <attribute>
190
            <name>model</name>
191
            <required>false</required>
192
            <rtexprvalue>true</rtexprvalue>
193
        </attribute>
194
        <attribute>
195
            <name>bean</name>
196
            <required>false</required>
197
            <rtexprvalue>true</rtexprvalue>
198
        </attribute>
199
        <attribute>
200
            <name>field</name>
201
            <required>false</required>
202
            <rtexprvalue>true</rtexprvalue>
203
        </attribute>
204
        <dynamic-attributes>false</dynamic-attributes>
205
    </tag>
206
    <tag>
207
        <name>eachError</name>
208
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspEachErrorTag</tag-class>
209
        <body-content>JSP</body-content>
210
        <attribute>
211
            <name>model</name>
212
            <required>false</required>
213
            <rtexprvalue>true</rtexprvalue>
214
        </attribute>
215
        <attribute>
216
            <name>bean</name>
217
            <required>false</required>
218
            <rtexprvalue>true</rtexprvalue>
219
        </attribute>
220
        <attribute>
221
            <name>field</name>
222
            <required>false</required>
223
            <rtexprvalue>true</rtexprvalue>
224
        </attribute>
225
        <dynamic-attributes>false</dynamic-attributes>
226
    </tag>
227
    <tag>
228
        <name>renderErrors</name>
229
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspEachErrorTag</tag-class>
230
        <body-content>JSP</body-content>
231
        <attribute>
232
            <name>model</name>
233
            <required>false</required>
234
            <rtexprvalue>true</rtexprvalue>
235
        </attribute>
236
        <attribute>
237
            <name>bean</name>
238
            <required>false</required>
239
            <rtexprvalue>true</rtexprvalue>
240
        </attribute>
241
        <attribute>
242
            <name>field</name>
243
            <required>false</required>
244
            <rtexprvalue>true</rtexprvalue>
245
        </attribute>
246
        <attribute>
247
            <name>as</name>
248
            <required>true</required>
249
            <rtexprvalue>true</rtexprvalue>
250
        </attribute>
251
        <dynamic-attributes>false</dynamic-attributes>
252
    </tag>
253
    <tag>
254
        <name>message</name>
255
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspMessageTag</tag-class>
256
        <body-content>JSP</body-content>
257
        <attribute>
258
            <name>code</name>
259
            <required>false</required>
260
            <rtexprvalue>true</rtexprvalue>
261
        </attribute>
262
        <attribute>
263
            <name>error</name>
264
            <required>false</required>
265
            <rtexprvalue>true</rtexprvalue>
266
        </attribute>
267
        <attribute>
268
            <name>default</name>
269
            <required>false</required>
270
            <rtexprvalue>true</rtexprvalue>
271
        </attribute>
272
        <dynamic-attributes>false</dynamic-attributes>
273
    </tag>
274
    <tag>
275
        <name>remoteFunction</name>
276
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspRemoteFunctionTag</tag-class>
277
        <body-content>empty</body-content>
278
        <attribute>
279
            <name>before</name>
280
            <required>false</required>
281
            <rtexprvalue>true</rtexprvalue>
282
        </attribute>
283
        <attribute>
284
            <name>after</name>
285
            <required>false</required>
286
            <rtexprvalue>true</rtexprvalue>
287
        </attribute>
288
        <attribute>
289
            <name>action</name>
290
            <required>false</required>
291
            <rtexprvalue>true</rtexprvalue>
292
        </attribute>
293
        <attribute>
294
            <name>controller</name>
295
            <required>false</required>
296
            <rtexprvalue>true</rtexprvalue>
297
        </attribute>
298
        <attribute>
299
            <name>id</name>
300
            <required>false</required>
301
            <rtexprvalue>true</rtexprvalue>
302
        </attribute>
303
        <attribute>
304
            <name>url</name>
305
            <required>false</required>
306
            <rtexprvalue>true</rtexprvalue>
307
        </attribute>
308
        <attribute>
309
            <name>params</name>
310
            <required>false</required>
311
            <rtexprvalue>true</rtexprvalue>
312
        </attribute>
313
        <attribute>
314
            <name>asynchronous</name>
315
            <required>false</required>
316
            <rtexprvalue>true</rtexprvalue>
317
        </attribute>
318
        <attribute>
319
            <name>method</name>
320
            <required>false</required>
321
            <rtexprvalue>true</rtexprvalue>
322
        </attribute>
323
        <attribute>
324
            <name>update</name>
325
            <required>false</required>
326
            <rtexprvalue>true</rtexprvalue>
327
        </attribute>
328
        <attribute>
329
            <name>onSuccess</name>
330
            <required>false</required>
331
            <rtexprvalue>true</rtexprvalue>
332
        </attribute>
333
        <attribute>
334
            <name>onFailure</name>
335
            <required>false</required>
336
            <rtexprvalue>true</rtexprvalue>
337
        </attribute>
338
        <attribute>
339
            <name>onComplete</name>
340
            <required>false</required>
341
            <rtexprvalue>true</rtexprvalue>
342
        </attribute>
343
        <attribute>
344
            <name>onLoading</name>
345
            <required>false</required>
346
            <rtexprvalue>true</rtexprvalue>
347
        </attribute>
348
        <attribute>
349
            <name>onLoaded</name>
350
            <required>false</required>
351
            <rtexprvalue>true</rtexprvalue>
352
        </attribute>
353
        <attribute>
354
            <name>onInteractive</name>
355
            <required>false</required>
356
            <rtexprvalue>true</rtexprvalue>
357
        </attribute>
358
        <dynamic-attributes>true</dynamic-attributes>
359
    </tag>
360
    <tag>
361
        <name>remoteLink</name>
362
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspRemoteLinkTag</tag-class>
363
        <body-content>JSP</body-content>
364
        <attribute>
365
            <name>before</name>
366
            <required>false</required>
367
            <rtexprvalue>true</rtexprvalue>
368
        </attribute>
369
        <attribute>
370
            <name>after</name>
371
            <required>false</required>
372
            <rtexprvalue>true</rtexprvalue>
373
        </attribute>
374
        <attribute>
375
            <name>action</name>
376
            <required>false</required>
377
            <rtexprvalue>true</rtexprvalue>
378
        </attribute>
379
        <attribute>
380
            <name>controller</name>
381
            <required>false</required>
382
            <rtexprvalue>true</rtexprvalue>
383
        </attribute>
384
        <attribute>
385
            <name>id</name>
386
            <required>false</required>
387
            <rtexprvalue>true</rtexprvalue>
388
        </attribute>
389
        <attribute>
390
            <name>url</name>
391
            <required>false</required>
392
            <rtexprvalue>true</rtexprvalue>
393
        </attribute>
394
        <attribute>
395
            <name>params</name>
396
            <required>false</required>
397
            <rtexprvalue>true</rtexprvalue>
398
        </attribute>
399
        <attribute>
400
            <name>asynchronous</name>
401
            <required>false</required>
402
            <rtexprvalue>true</rtexprvalue>
403
        </attribute>
404
        <attribute>
405
            <name>method</name>
406
            <required>false</required>
407
            <rtexprvalue>true</rtexprvalue>
408
        </attribute>
409
        <attribute>
410
            <name>update</name>
411
            <required>false</required>
412
            <rtexprvalue>true</rtexprvalue>
413
        </attribute>
414
        <attribute>
415
            <name>onSuccess</name>
416
            <required>false</required>
417
            <rtexprvalue>true</rtexprvalue>
418
        </attribute>
419
        <attribute>
420
            <name>onFailure</name>
421
            <required>false</required>
422
            <rtexprvalue>true</rtexprvalue>
423
        </attribute>
424
        <attribute>
425
            <name>onComplete</name>
426
            <required>false</required>
427
            <rtexprvalue>true</rtexprvalue>
428
        </attribute>
429
        <attribute>
430
            <name>onLoading</name>
431
            <required>false</required>
432
            <rtexprvalue>true</rtexprvalue>
433
        </attribute>
434
        <attribute>
435
            <name>onLoaded</name>
436
            <required>false</required>
437
            <rtexprvalue>true</rtexprvalue>
438
        </attribute>
439
        <attribute>
440
            <name>onInteractive</name>
441
            <required>false</required>
442
            <rtexprvalue>true</rtexprvalue>
443
        </attribute>
444
        <dynamic-attributes>true</dynamic-attributes>
445
    </tag>
446
    <tag>
447
        <name>formRemote</name>
448
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspFormRemoteTag</tag-class>
449
        <body-content>JSP</body-content>
450
        <attribute>
451
            <name>before</name>
452
            <required>false</required>
453
            <rtexprvalue>true</rtexprvalue>
454
        </attribute>
455
        <attribute>
456
            <name>after</name>
457
            <required>false</required>
458
            <rtexprvalue>true</rtexprvalue>
459
        </attribute>
460
        <attribute>
461
            <name>action</name>
462
            <required>false</required>
463
            <rtexprvalue>true</rtexprvalue>
464
        </attribute>
465
        <attribute>
466
            <name>controller</name>
467
            <required>false</required>
468
            <rtexprvalue>true</rtexprvalue>
469
        </attribute>
470
        <attribute>
471
            <name>id</name>
472
            <required>false</required>
473
            <rtexprvalue>true</rtexprvalue>
474
        </attribute>
475
        <attribute>
476
            <name>url</name>
477
            <required>false</required>
478
            <rtexprvalue>true</rtexprvalue>
479
        </attribute>
480
        <attribute>
481
            <name>params</name>
482
            <required>false</required>
483
            <rtexprvalue>true</rtexprvalue>
484
        </attribute>
485
        <attribute>
486
            <name>asynchronous</name>
487
            <required>false</required>
488
            <rtexprvalue>true</rtexprvalue>
489
        </attribute>
490
        <attribute>
491
            <name>method</name>
492
            <required>false</required>
493
            <rtexprvalue>true</rtexprvalue>
494
        </attribute>
495
        <attribute>
496
            <name>update</name>
497
            <required>false</required>
498
            <rtexprvalue>true</rtexprvalue>
499
        </attribute>
500
        <attribute>
501
            <name>onSuccess</name>
502
            <required>false</required>
503
            <rtexprvalue>true</rtexprvalue>
504
        </attribute>
505
        <attribute>
506
            <name>onFailure</name>
507
            <required>false</required>
508
            <rtexprvalue>true</rtexprvalue>
509
        </attribute>
510
        <attribute>
511
            <name>onComplete</name>
512
            <required>false</required>
513
            <rtexprvalue>true</rtexprvalue>
514
        </attribute>
515
        <attribute>
516
            <name>onLoading</name>
517
            <required>false</required>
518
            <rtexprvalue>true</rtexprvalue>
519
        </attribute>
520
        <attribute>
521
            <name>onLoaded</name>
522
            <required>false</required>
523
            <rtexprvalue>true</rtexprvalue>
524
        </attribute>
525
        <attribute>
526
            <name>onInteractive</name>
527
            <required>false</required>
528
            <rtexprvalue>true</rtexprvalue>
529
        </attribute>
530
        <dynamic-attributes>true</dynamic-attributes>
531
    </tag>
532
    <tag>
533
        <name>invokeTag</name>
534
        <tag-class>org.codehaus.groovy.grails.web.taglib.jsp.JspInvokeGrailsTagLibTag</tag-class>
535
        <body-content>JSP</body-content>
536
        <variable>
537
            <name-given>it</name-given>
538
            <variable-class>java.lang.Object</variable-class>
539
            <declare>true</declare>
540
            <scope>NESTED</scope>
541
        </variable>
542
        <attribute>
543
            <name>tagName</name>
544
            <required>true</required>
545
            <rtexprvalue>true</rtexprvalue>
546
        </attribute>
547
        <dynamic-attributes>true</dynamic-attributes>
548
    </tag>
549
</taglib>
550

  
hci/trunk/eneraptor-web-app/web-app/WEB-INF/tld/spring.tld
1
<?xml version="1.0" encoding="ISO-8859-1" ?>
2
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN" "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
3

  
4
<taglib>
5

  
6
	<tlib-version>1.1.1</tlib-version>
7

  
8
	<jsp-version>1.2</jsp-version>
9

  
10
	<short-name>Spring</short-name>
11

  
12
	<uri>http://www.springframework.org/tags</uri>
13

  
14
	<description>Spring Framework JSP Tag Library. Authors: Rod Johnson, Juergen Hoeller</description>
15

  
16

  
17
	<tag>
18

  
19
		<name>htmlEscape</name>
20
		<tag-class>org.springframework.web.servlet.tags.HtmlEscapeTag</tag-class>
21
		<body-content>JSP</body-content>
22

  
23
		<description>
24
			Sets default HTML escape value for the current page.
25
			Overrides a "defaultHtmlEscape" context-param in web.xml, if any.
26
		</description>
27

  
28
		<attribute>
29
			<name>defaultHtmlEscape</name>
30
			<required>true</required>
31
			<rtexprvalue>true</rtexprvalue>
32
		</attribute>
33

  
34
	</tag>
35

  
36

  
37
	<tag>
38

  
39
		<name>escapeBody</name>
40
		<tag-class>org.springframework.web.servlet.tags.EscapeBodyTag</tag-class>
41
		<body-content>JSP</body-content>
42

  
43
		<description>
44
			Escapes its enclosed body content, applying HTML escaping and/or JavaScript escaping.
45
			The HTML escaping flag participates in a page-wide or application-wide setting
46
			(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
47
		</description>
48

  
49
		<attribute>
50
			<name>htmlEscape</name>
51
			<required>false</required>
52
			<rtexprvalue>true</rtexprvalue>
53
		</attribute>
54

  
55
		<attribute>
56
			<name>javaScriptEscape</name>
57
			<required>false</required>
58
			<rtexprvalue>true</rtexprvalue>
59
		</attribute>
60

  
61
	</tag>
62

  
63

  
64
	<tag>
65

  
66
		<name>message</name>
67
		<tag-class>org.springframework.web.servlet.tags.MessageTag</tag-class>
68
		<body-content>JSP</body-content>
69

  
70
		<description>
71
			Retrieves the message with the given code, or text if code isn't resolvable.
72
			The HTML escaping flag participates in a page-wide or application-wide setting
73
			(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
74
		</description>
75

  
76
		<attribute>
77
			<name>code</name>
78
			<required>false</required>
79
			<rtexprvalue>true</rtexprvalue>
80
		</attribute>
81

  
82
		<attribute>
83
			<name>arguments</name>
84
			<required>false</required>
85
			<rtexprvalue>true</rtexprvalue>
86
		</attribute>
87

  
88
		<attribute>
89
			<name>text</name>
90
			<required>false</required>
91
			<rtexprvalue>true</rtexprvalue>
92
		</attribute>
93

  
94
		<attribute>
95
			<name>var</name>
96
			<required>false</required>
97
			<rtexprvalue>true</rtexprvalue>
98
		</attribute>
99

  
100
		<attribute>
101
			<name>scope</name>
102
			<required>false</required>
103
			<rtexprvalue>true</rtexprvalue>
104
		</attribute>
105

  
106
		<attribute>
107
			<name>htmlEscape</name>
108
			<required>false</required>
109
			<rtexprvalue>true</rtexprvalue>
110
		</attribute>
111

  
112
		<attribute>
113
			<name>javaScriptEscape</name>
114
			<required>false</required>
115
			<rtexprvalue>true</rtexprvalue>
116
		</attribute>
117

  
118
	</tag>
119

  
120

  
121
	<tag>
122

  
123
		<name>theme</name>
124
		<tag-class>org.springframework.web.servlet.tags.ThemeTag</tag-class>
125
		<body-content>JSP</body-content>
126

  
127
		<description>
128
			Retrieves the theme message with the given code, or text if code isn't resolvable.
129
			The HTML escaping flag participates in a page-wide or application-wide setting
130
			(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
131
		</description>
132

  
133
		<attribute>
134
			<name>code</name>
135
			<required>false</required>
136
			<rtexprvalue>true</rtexprvalue>
137
		</attribute>
138

  
139
		<attribute>
140
			<name>arguments</name>
141
			<required>false</required>
142
			<rtexprvalue>true</rtexprvalue>
143
		</attribute>
144

  
145
		<attribute>
146
			<name>text</name>
147
			<required>false</required>
148
			<rtexprvalue>true</rtexprvalue>
149
		</attribute>
150

  
151
		<attribute>
152
			<name>var</name>
153
			<required>false</required>
154
			<rtexprvalue>true</rtexprvalue>
155
		</attribute>
156

  
157
		<attribute>
158
			<name>scope</name>
159
			<required>false</required>
160
			<rtexprvalue>true</rtexprvalue>
161
		</attribute>
162

  
163
		<attribute>
164
			<name>htmlEscape</name>
165
			<required>false</required>
166
			<rtexprvalue>true</rtexprvalue>
167
		</attribute>
168

  
169
		<attribute>
170
			<name>javaScriptEscape</name>
171
			<required>false</required>
172
			<rtexprvalue>true</rtexprvalue>
173
		</attribute>
174

  
175
	</tag>
176

  
177

  
178
	<tag>
179

  
180
		<name>hasBindErrors</name>
181
		<tag-class>org.springframework.web.servlet.tags.BindErrorsTag</tag-class>
182
		<body-content>JSP</body-content>
183

  
184
		<description>
185
			Provides Errors instance in case of bind errors.
186
			The HTML escaping flag participates in a page-wide or application-wide setting
187
			(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
188
		</description>
189

  
190
		<variable>
191
			<name-given>errors</name-given>
192
			<variable-class>org.springframework.validation.Errors</variable-class>
193
		</variable>
194

  
195
		<attribute>
196
			<name>name</name>
197
			<required>true</required>
198
			<rtexprvalue>true</rtexprvalue>
199
		</attribute>
200

  
201
		<attribute>
202
			<name>htmlEscape</name>
203
			<required>false</required>
204
			<rtexprvalue>true</rtexprvalue>
205
		</attribute>
206

  
207
	</tag>
208

  
209

  
210
	<tag>
211

  
212
		<name>nestedPath</name>
213
		<tag-class>org.springframework.web.servlet.tags.NestedPathTag</tag-class>
214
		<body-content>JSP</body-content>
215

  
216
		<description>
217
			Sets a nested path to be used by the bind tag's path.
218
		</description>
219

  
220
		<variable>
221
			<name-given>nestedPath</name-given>
222
			<variable-class>java.lang.String</variable-class>
223
		</variable>
224

  
225
		<attribute>
226
			<name>path</name>
227
			<required>true</required>
228
			<rtexprvalue>true</rtexprvalue>
229
		</attribute>
230

  
231
	</tag>
232

  
233

  
234
	<tag>
235

  
236
		<name>bind</name>
237
		<tag-class>org.springframework.web.servlet.tags.BindTag</tag-class>
238
		<body-content>JSP</body-content>
239

  
240
		<description>
241
			Provides BindStatus object for the given bind path.
242
			The HTML escaping flag participates in a page-wide or application-wide setting
243
			(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
244
		</description>
245

  
246
		<variable>
247
			<name-given>status</name-given>
248
			<variable-class>org.springframework.web.servlet.support.BindStatus</variable-class>
249
		</variable>
250

  
251
		<attribute>
252
			<name>path</name>
253
			<required>true</required>
254
			<rtexprvalue>true</rtexprvalue>
255
		</attribute>
256

  
257
		<attribute>
258
			<name>ignoreNestedPath</name>
259
			<required>false</required>
260
			<rtexprvalue>true</rtexprvalue>
261
		</attribute>
262

  
263
		<attribute>
264
			<name>htmlEscape</name>
265
			<required>false</required>
266
			<rtexprvalue>true</rtexprvalue>
267
		</attribute>
268

  
269
	</tag>
270

  
271

  
272
	<tag>
273

  
274
		<name>transform</name>
275
		<tag-class>org.springframework.web.servlet.tags.TransformTag</tag-class>
276
		<body-content>JSP</body-content>
277

  
278
		<description>
279
			Provides transformation of variables to Strings, using an appropriate
280
			custom PropertyEditor from BindTag (can only be used inside BindTag).
281
			The HTML escaping flag participates in a page-wide or application-wide setting
282
			(i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).
283
		</description>
284

  
285
		<attribute>
286
			<name>value</name>
287
			<required>true</required>
288
			<rtexprvalue>true</rtexprvalue>
289
		</attribute>
290

  
291
		<attribute>
292
			<name>var</name>
293
			<required>false</required>
294
			<rtexprvalue>true</rtexprvalue>
295
		</attribute>
296

  
297
		<attribute>
298
			<name>scope</name>
299
			<required>false</required>
300
			<rtexprvalue>true</rtexprvalue>
301
		</attribute>
302

  
303
		<attribute>
304
			<name>htmlEscape</name>
305
			<required>false</required>
306
			<rtexprvalue>true</rtexprvalue>
307
		</attribute>
308

  
309
	</tag>
310

  
311
</taglib>
hci/trunk/eneraptor-web-app/web-app/css/main.css
1
html * {
2
    margin: 0;
3
    /*padding: 0; SELECT NOT DISPLAYED CORRECTLY IN FIREFOX */
4
}
5

  
6
/* GENERAL */
7

  
8
.spinner {
9
    padding: 5px;
10
    position: absolute;
11
    right: 0;
12
}
13

  
14
body {
15
    background: #fff;
16
    color: #333;
17
    font: 11px verdana, arial, helvetica, sans-serif;
18
}
19
#grailsLogo {
20
	padding:20px;
21
}
22

  
23
a:link, a:visited, a:hover {
24
    color: #666;
25
    font-weight: bold;
26
    text-decoration: none;
27
}
28

  
29
h1 {
30
    color: #48802c;
31
    font-weight: normal;
32
    font-size: 16px;
33
    margin: .8em 0 .3em 0;
34
}
35

  
36
ul {
37
    padding-left: 15px;
38
}
39

  
40
input, select, textarea {
41
    background-color: #fcfcfc;
42
    border: 1px solid #ccc;
43
    font: 11px verdana, arial, helvetica, sans-serif;
44
    margin: 2px 0;
45
    padding: 2px 4px;
46
}
47
select {
48
   padding: 2px 2px 2px 0;
49
}
50
textarea {
51
	width: 250px;
52
	height: 150px;
53
	vertical-align: top;
54
}
55

  
56
input:focus, select:focus, textarea:focus {
57
    border: 1px solid #b2d1ff;
58
}
59

  
60
.body {
61
    float: left;
62
    margin: 0 15px 10px 15px;
63
}
64

  
65
/* NAVIGATION MENU */
66

  
67
.nav {
68
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
69
    border: 1px solid #ccc;
70
    border-style: solid none solid none;
71
    margin-top: 5px;
72
    padding: 7px 12px;
73
}
74

  
75
.menuButton {
76
    font-size: 10px;
77
    padding: 0 5px;
78
}
79
.menuButton a {
80
    color: #333;
81
    padding: 4px 6px;
82
}
83
.menuButton a.home {
84
    background: url(../images/skin/house.png) center left no-repeat;
85
    color: #333;
86
    padding-left: 25px;
87
}
88
.menuButton a.list {
89
    background: url(../images/skin/database_table.png) center left no-repeat;
90
    color: #333;
91
    padding-left: 25px;
92
}
93
.menuButton a.create {
94
    background: url(../images/skin/database_add.png) center left no-repeat;
95
    color: #333;
96
    padding-left: 25px;
97
}
98

  
99
/* MESSAGES AND ERRORS */
100

  
101
.message {
102
    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
103
    border: 1px solid #b2d1ff;
104
    color: #006dba;
105
    margin: 10px 0 5px 0;
106
    padding: 5px 5px 5px 30px
107
}
108

  
109
div.errors {
110
    background: #fff3f3;
111
    border: 1px solid red;
112
    color: #cc0000;
113
    margin: 10px 0 5px 0;
114
    padding: 5px 0 5px 0;
115
}
116
div.errors ul {
117
    list-style: none;
118
    padding: 0;
119
}
120
div.errors li {
121
	background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
122
    line-height: 16px;
123
    padding-left: 30px;
124
}
125

  
126
td.errors select {
127
    border: 1px solid red;
128
}
129
td.errors input {
130
    border: 1px solid red;
131
}
132
td.errors textarea {
133
    border: 1px solid red;
134
}
135

  
136
/* TABLES */
137

  
138
table {
139
    border: 1px solid #ccc;
140
    width: 100%
141
}
142
tr {
143
    border: 0;
144
}
145
td, th {
146
    font: 11px verdana, arial, helvetica, sans-serif;
147
    line-height: 12px;
148
    padding: 5px 6px;
149
    text-align: left;
150
    vertical-align: top;
151
}
152
th {
153
    background: #fff url(../images/skin/shadow.jpg);
154
    color: #666;
155
    font-size: 11px;
156
    font-weight: bold;
157
    line-height: 17px;
158
    padding: 2px 6px;
159
}
160
th a:link, th a:visited, th a:hover {
161
    color: #333;
162
    display: block;
163
    font-size: 10px;
164
    text-decoration: none;
165
    width: 100%;
166
}
167
th.asc a, th.desc a {
168
    background-position: right;
169
    background-repeat: no-repeat;
170
}
171
th.asc a {
172
    background-image: url(../images/skin/sorted_asc.gif);
173
}
174
th.desc a {
175
    background-image: url(../images/skin/sorted_desc.gif);
176
}
177

  
178
.odd {
179
    background: #f7f7f7;
180
}
181
.even {
182
    background: #fff;
183
}
184

  
185
/* LIST */
186

  
187
.list table {
188
    border-collapse: collapse;
189
}
190
.list th, .list td {
191
    border-left: 1px solid #ddd;
192
}
193
.list th:hover, .list tr:hover {
194
    background: #b2d1ff;
195
}
196

  
197
/* PAGINATION */
198

  
199
.paginateButtons {
200
    background: #fff url(../images/skin/shadow.jpg) bottom repeat-x;
201
    border: 1px solid #ccc;
202
    border-top: 0;
203
    color: #666;
204
    font-size: 10px;
205
    overflow: hidden;
206
    padding: 10px 3px;
207
}
208
.paginateButtons a {
209
    background: #fff;
210
    border: 1px solid #ccc;
211
    border-color: #ccc #aaa #aaa #ccc;
212
    color: #666;
213
    margin: 0 3px;
214
    padding: 2px 6px;
215
}
216
.paginateButtons span {
217
    padding: 2px 3px;
218
}
219

  
220
/* DIALOG */
221

  
222
.dialog table {
223
    padding: 5px 0;
224
}
225

  
226
.prop {
227
    padding: 5px;
228
}
229
.prop .name {
230
    text-align: left;
231
    width: 15%;
232
    white-space: nowrap;
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff