Commit 1ca3c925 1ca3c925280f944a930db933d726dea55991085b by root

save

1 parent 541a1351
......@@ -30,6 +30,7 @@
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
......
......@@ -42,25 +42,25 @@
<logger name="org.springframework.core">
<level value="info" />
<appender-ref ref="console" />
<appender-ref ref="file" />
</logger>
<logger name="org.springframework.beans">
<level value="info" />
<appender-ref ref="console" />
<appender-ref ref="file" />
</logger>
<logger name="org.springframework.context">
<level value="info" />
<appender-ref ref="console" />
<appender-ref ref="file" />
</logger>
<logger name="org.springframework.web">
<level value="info" />
<appender-ref ref="console" />
<appender-ref ref="file" />
</logger>
<!-- Root Logger -->
......
......@@ -16,6 +16,8 @@
<style>
textarea { overflow: auto; }
.new {
background-image:url(resources/img/new.png) !important;
}
......
......@@ -233,6 +233,7 @@ Ext.application({
items: [{
xtype : 'mvvm-LogView',
id:'formlog'
}
]
......
Ext.define('App.view.Log', {
extend : 'Ext.form.Panel',
xtype : 'mvvm-LogView',
width : 400,
height:300,
bodyPadding: 10,
bbar: {
items: [
{
xtype: 'button',
iconCls:'load',
itemId: 'LoadLogButton',
text: 'Обновить',
action: 'loadLog',
disabled:false
}
]
alias: 'widget.showPreview',
// renderTo: document.body,
/*
layout: {
type: 'vbox',
align: 'stretch'
},
*/
layout: 'fit',
height: 400,
// width : 600,
// title : 'MyPanel',
items: [{
xtype : 'textareafield',
grow : true,
id:'logResult',
readOnly : true,
allowBlank: false,
style:'overflow-y: scroll',
height: 100,
anchor: '95%'
}
]
initComponent: function() {
Ext.apply(this, {
bbar: {
items: [
{
xtype: 'button',
iconCls:'load',
itemId: 'LoadLogButton',
text: 'Обновить',
action: 'loadLog',
disabled:false
}
]
},
items: [
{
xtype : 'textareafield',
//grow : true,
id:'logResult',
readOnly : true,
// height: 300,
// anchor: '100%'
}
// {
// xtype: 'textareafield',
// itemId: 'txtFld',
// border: false,
//height: 660,
//width: 370,
//autoScroll: true,
// margin: '0 10 10 10',
//hidden: true
// }
],
});
this.callParent(arguments);
}
});
/*
Ext.application({
name: 'Fiddle',
launch: function() {
var textarea,
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";
var preview = Ext.create('Test.view.ShowPreview', {
renderTo: Ext.getBody()
});
textarea = preview.down('#txtFld');
textarea.setValue(ipsum+ipsum);
}
});
*/
......
......@@ -10,6 +10,7 @@ import java.util.logging.Logger;
import java.util.Vector;
import org.emercit.utilstools.config.Paths;
public class Reader {
public Vector<String> read() {
......