Commit 1ca3c925 1ca3c925280f944a930db933d726dea55991085b by root

save

1 parent 541a1351
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
30 <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> 30 <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
31 <attributes> 31 <attributes>
32 <attribute name="maven.pomderived" value="true"/> 32 <attribute name="maven.pomderived" value="true"/>
33 <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
33 </attributes> 34 </attributes>
34 </classpathentry> 35 </classpathentry>
35 <classpathentry kind="output" path="target/classes"/> 36 <classpathentry kind="output" path="target/classes"/>
......
...@@ -42,25 +42,25 @@ ...@@ -42,25 +42,25 @@
42 <logger name="org.springframework.core"> 42 <logger name="org.springframework.core">
43 <level value="info" /> 43 <level value="info" />
44 <appender-ref ref="console" /> 44 <appender-ref ref="console" />
45 <appender-ref ref="file" /> 45
46 </logger> 46 </logger>
47 47
48 <logger name="org.springframework.beans"> 48 <logger name="org.springframework.beans">
49 <level value="info" /> 49 <level value="info" />
50 <appender-ref ref="console" /> 50 <appender-ref ref="console" />
51 <appender-ref ref="file" /> 51
52 </logger> 52 </logger>
53 53
54 <logger name="org.springframework.context"> 54 <logger name="org.springframework.context">
55 <level value="info" /> 55 <level value="info" />
56 <appender-ref ref="console" /> 56 <appender-ref ref="console" />
57 <appender-ref ref="file" /> 57
58 </logger> 58 </logger>
59 59
60 <logger name="org.springframework.web"> 60 <logger name="org.springframework.web">
61 <level value="info" /> 61 <level value="info" />
62 <appender-ref ref="console" /> 62 <appender-ref ref="console" />
63 <appender-ref ref="file" /> 63
64 </logger> 64 </logger>
65 65
66 <!-- Root Logger --> 66 <!-- Root Logger -->
......
...@@ -16,6 +16,8 @@ ...@@ -16,6 +16,8 @@
16 16
17 <style> 17 <style>
18 18
19 textarea { overflow: auto; }
20
19 .new { 21 .new {
20 background-image:url(resources/img/new.png) !important; 22 background-image:url(resources/img/new.png) !important;
21 } 23 }
......
...@@ -234,6 +234,7 @@ Ext.application({ ...@@ -234,6 +234,7 @@ Ext.application({
234 xtype : 'mvvm-LogView', 234 xtype : 'mvvm-LogView',
235 id:'formlog' 235 id:'formlog'
236 236
237
237 } 238 }
238 ] 239 ]
239 240
......
1 1
2
3 Ext.define('App.view.Log', { 2 Ext.define('App.view.Log', {
4 extend : 'Ext.form.Panel', 3 extend : 'Ext.form.Panel',
5 xtype : 'mvvm-LogView', 4 xtype : 'mvvm-LogView',
5 alias: 'widget.showPreview',
6 // renderTo: document.body,
7 /*
8 layout: {
9 type: 'vbox',
10 align: 'stretch'
11 },
12 */
13
14 layout: 'fit',
15
16 height: 400,
17 // width : 600,
18
19 // title : 'MyPanel',
6 20
21 initComponent: function() {
22 Ext.apply(this, {
7 23
8 width : 400,
9 height:300,
10 bodyPadding: 10,
11 bbar: { 24 bbar: {
12 25
13 items: [ 26 items: [
...@@ -25,25 +38,60 @@ Ext.define('App.view.Log', { ...@@ -25,25 +38,60 @@ Ext.define('App.view.Log', {
25 }, 38 },
26 39
27 40
41 items: [
28 42
29 43 {
30 items: [{
31 xtype : 'textareafield', 44 xtype : 'textareafield',
32 grow : true, 45 //grow : true,
33 id:'logResult', 46 id:'logResult',
34 readOnly : true, 47 readOnly : true,
35 allowBlank: false, 48 // height: 300,
36 style:'overflow-y: scroll', 49 // anchor: '100%'
37 height: 100, 50
38 anchor: '95%' 51 }
52
53
54 // {
55 // xtype: 'textareafield',
56 // itemId: 'txtFld',
57 // border: false,
58 //height: 660,
59 //width: 370,
60 //autoScroll: true,
61 // margin: '0 10 10 10',
62 //hidden: true
63 // }
64
65 ],
66
67
68
69 });
70 this.callParent(arguments);
39 } 71 }
40 ] 72 });
73
74 /*
75 Ext.application({
76 name: 'Fiddle',
77
78 launch: function() {
41 79
80 var textarea,
81 ipsum = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum";
42 82
83 var preview = Ext.create('Test.view.ShowPreview', {
84 renderTo: Ext.getBody()
85 });
43 86
87 textarea = preview.down('#txtFld');
88 textarea.setValue(ipsum+ipsum);
89 }
44 }); 90 });
45 91
46 92
93 */
94
47 95
48 96
49 97
......
...@@ -10,6 +10,7 @@ import java.util.logging.Logger; ...@@ -10,6 +10,7 @@ import java.util.logging.Logger;
10 import java.util.Vector; 10 import java.util.Vector;
11 11
12 import org.emercit.utilstools.config.Paths; 12 import org.emercit.utilstools.config.Paths;
13
13 public class Reader { 14 public class Reader {
14 15
15 public Vector<String> read() { 16 public Vector<String> read() {
......