Project

General

Profile

« Previous | Next » 

Revision 48547

- Changes on csv servlet ( success case message )

View differences:

modules/uoa-goldoa-portal/branches/hibernate/uoa-goldoa-portal.iml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
3
  <component name="FacetManager">
4
    <facet type="web" name="Web">
5
      <configuration>
6
        <descriptors>
7
          <deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/src/main/webapp/WEB-INF/web.xml" />
8
        </descriptors>
9
        <webroots>
10
          <root url="file://$MODULE_DIR$/src/main/webapp" relative="/" />
11
        </webroots>
12
        <sourceRoots>
13
          <root url="file://$MODULE_DIR$/src/main/java" />
14
          <root url="file://$MODULE_DIR$/src/main/resources" />
15
          <root url="file://$MODULE_DIR$/target/generated-sources/gwt" />
16
        </sourceRoots>
17
      </configuration>
18
    </facet>
19
    <facet type="gwt" name="GWT">
20
      <configuration>
21
        <setting name="gwtSdkUrl" value="file://$MAVEN_REPOSITORY$/com/google/gwt/gwt-dev/2.7.0/" />
22
        <setting name="gwtSdkType" value="maven" />
23
        <setting name="webFacet" value="Web" />
24
      </configuration>
25
    </facet>
26
  </component>
27
  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_7">
28
    <output url="file://$MODULE_DIR$/target/uoa-goldoa-portal-1.0-SNAPSHOT/WEB-INF/classes" />
29
    <output-test url="file://$MODULE_DIR$/target/test-classes" />
30
    <content url="file://$MODULE_DIR$">
31
      <sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" />
32
      <sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" />
33
      <sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" />
34
      <sourceFolder url="file://$MODULE_DIR$/src/test/resources" type="java-test-resource" />
35
      <sourceFolder url="file://$MODULE_DIR$/target/generated-sources/gwt" isTestSource="false" generated="true" />
36
      <excludeFolder url="file://$MODULE_DIR$/target" />
37
    </content>
38
    <orderEntry type="inheritedJdk" />
39
    <orderEntry type="sourceFolder" forTests="false" />
40
    <orderEntry type="library" scope="RUNTIME" name="Maven: com.google.gwt:gwt-servlet:2.7.0" level="project" />
41
    <orderEntry type="library" scope="PROVIDED" name="Maven: com.google.gwt:gwt-user:2.7.0" level="project" />
42
    <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.7" level="project" />
43
    <orderEntry type="library" scope="TEST" name="Maven: javax.validation:validation-api:1.0.0.GA" level="project" />
44
    <orderEntry type="library" scope="TEST" name="Maven: javax.validation:validation-api:sources:1.0.0.GA" level="project" />
45
    <orderEntry type="library" name="Maven: com.github.gwtbootstrap:gwt-bootstrap:2.3.2.1-SNAPSHOT" level="project" />
46
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-goldoa-service:1.0.0-SNAPSHOT" level="project" />
47
    <orderEntry type="library" name="Maven: postgresql:postgresql:9.1-901.jdbc4" level="project" />
48
    <orderEntry type="library" name="Maven: org.springframework:spring-tx:4.0.0.RELEASE" level="project" />
49
    <orderEntry type="library" name="Maven: aopalliance:aopalliance:1.0" level="project" />
50
    <orderEntry type="library" name="Maven: org.springframework:spring-aop:4.0.0.RELEASE" level="project" />
51
    <orderEntry type="library" name="Maven: org.springframework:spring-orm:4.0.0.RELEASE" level="project" />
52
    <orderEntry type="library" name="Maven: org.aspectj:aspectjweaver:1.7.3" level="project" />
53
    <orderEntry type="library" name="Maven: org.aspectj:aspectjtools:1.7.3" level="project" />
54
    <orderEntry type="library" name="Maven: org.springframework:spring-context-support:4.0.0.RELEASE" level="project" />
55
    <orderEntry type="library" name="Maven: org.springframework:spring-jdbc:4.0.0.RELEASE" level="project" />
56
    <orderEntry type="library" name="Maven: org.springframework:spring-test:4.0.0.RELEASE" level="project" />
57
    <orderEntry type="library" name="Maven: commons-dbcp:commons-dbcp:1.4" level="project" />
58
    <orderEntry type="library" name="Maven: commons-pool:commons-pool:1.5.4" level="project" />
59
    <orderEntry type="library" name="Maven: javax.mail:mail:1.4" level="project" />
60
    <orderEntry type="library" name="Maven: javax.activation:activation:1.1" level="project" />
61
    <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-core:2.5.1" level="project" />
62
    <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-databind:2.5.1" level="project" />
63
    <orderEntry type="library" name="Maven: com.fasterxml.jackson.core:jackson-annotations:2.5.0" level="project" />
64
    <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.10" level="project" />
65
    <orderEntry type="library" name="Maven: org.apache.commons:commons-lang3:3.3.2" level="project" />
66
    <orderEntry type="library" name="Maven: com.opencsv:opencsv:3.5" level="project" />
67
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-core:4.3.11.Final" level="project" />
68
    <orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging:3.1.3.GA" level="project" />
69
    <orderEntry type="library" name="Maven: org.jboss.logging:jboss-logging-annotations:1.2.0.Beta1" level="project" />
70
    <orderEntry type="library" name="Maven: org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:1.0.0.Final" level="project" />
71
    <orderEntry type="library" name="Maven: dom4j:dom4j:1.6.1" level="project" />
72
    <orderEntry type="library" name="Maven: xml-apis:xml-apis:1.0.b2" level="project" />
73
    <orderEntry type="library" name="Maven: org.hibernate.common:hibernate-commons-annotations:4.0.5.Final" level="project" />
74
    <orderEntry type="library" name="Maven: org.hibernate.javax.persistence:hibernate-jpa-2.1-api:1.0.0.Final" level="project" />
75
    <orderEntry type="library" name="Maven: org.javassist:javassist:3.18.1-GA" level="project" />
76
    <orderEntry type="library" name="Maven: antlr:antlr:2.7.7" level="project" />
77
    <orderEntry type="library" name="Maven: org.jboss:jandex:1.1.0.Final" level="project" />
78
    <orderEntry type="library" name="Maven: javassist:javassist:3.12.1.GA" level="project" />
79
    <orderEntry type="library" name="Maven: org.aspectj:aspectjrt:1.5.4" level="project" />
80
    <orderEntry type="library" name="Maven: org.springframework:spring-context:4.0.0.RELEASE" level="project" />
81
    <orderEntry type="library" name="Maven: org.springframework:spring-beans:4.0.0.RELEASE" level="project" />
82
    <orderEntry type="library" name="Maven: org.springframework:spring-core:4.0.0.RELEASE" level="project" />
83
    <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
84
    <orderEntry type="library" name="Maven: org.springframework:spring-expression:4.0.0.RELEASE" level="project" />
85
    <orderEntry type="library" name="Maven: org.springframework:spring-webmvc:4.0.0.RELEASE" level="project" />
86
    <orderEntry type="library" name="Maven: org.springframework:spring-web:4.0.0.RELEASE" level="project" />
87
    <orderEntry type="library" name="Maven: log4j:log4j:1.2.17" level="project" />
88
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-runtime:1.0.1-SNAPSHOT" level="project" />
89
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-api:2.7.8" level="project" />
90
    <orderEntry type="library" name="Maven: org.codehaus.woodstox:woodstox-core-asl:4.2.0" level="project" />
91
    <orderEntry type="library" name="Maven: org.codehaus.woodstox:stax2-api:3.1.1" level="project" />
92
    <orderEntry type="library" name="Maven: org.apache.ws.xmlschema:xmlschema-core:2.0.3" level="project" />
93
    <orderEntry type="library" name="Maven: org.apache.geronimo.specs:geronimo-javamail_1.4_spec:1.7.1" level="project" />
94
    <orderEntry type="library" name="Maven: wsdl4j:wsdl4j:1.6.3" level="project" />
95
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-core:2.7.8" level="project" />
96
    <orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-impl:2.1.13" level="project" />
97
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-bindings-soap:2.7.8" level="project" />
98
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-databinding-jaxb:2.7.8" level="project" />
99
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-transports-http:2.7.8" level="project" />
100
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-frontend-jaxws:2.7.8" level="project" />
101
    <orderEntry type="library" name="Maven: xml-resolver:xml-resolver:1.2" level="project" />
102
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-bindings-xml:2.7.8" level="project" />
103
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-frontend-simple:2.7.8" level="project" />
104
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-ws-addr:2.7.8" level="project" />
105
    <orderEntry type="library" name="Maven: org.apache.cxf:cxf-rt-ws-policy:2.7.8" level="project" />
106
    <orderEntry type="library" name="Maven: org.apache.neethi:neethi:3.0.2" level="project" />
107
    <orderEntry type="library" name="Maven: commons-lang:commons-lang:2.6" level="project" />
108
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-utils:1.2.3-SNAPSHOT" level="project" />
109
    <orderEntry type="library" name="Maven: javax.servlet:javax.servlet-api:3.0.1" level="project" />
110
    <orderEntry type="library" name="Maven: org.antlr:antlr-runtime:3.0.1" level="project" />
111
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-service-utils:1.0.2-SNAPSHOT" level="project" />
112
    <orderEntry type="library" name="Maven: apache:oro:2.0.8" level="project" />
113
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-service-common:2.0.0-SNAPSHOT" level="project" />
114
    <orderEntry type="library" name="Maven: org.antlr:stringtemplate:3.2" level="project" />
115
    <orderEntry type="library" name="Maven: org.antlr:antlr:2.7.7" level="project" />
116
    <orderEntry type="library" name="Maven: opensymphony:quartz:1.6.6" level="project" />
117
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-misc-utils:1.0.4-SNAPSHOT" level="project" />
118
    <orderEntry type="library" name="Maven: jaxen:jaxen:1.1.6" level="project" />
119
    <orderEntry type="library" name="Maven: saxonica:saxon:9.1.0.8" level="project" />
120
    <orderEntry type="library" name="Maven: saxonica:saxon-dom:9.1.0.8" level="project" />
121
    <orderEntry type="library" name="Maven: jgrapht:jgrapht:0.7.2" level="project" />
122
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-rmi-api:2.6.1-SNAPSHOT" level="project" />
123
    <orderEntry type="library" name="Maven: eu.dnetlib:cnr-spring-utils:1.0.1-SNAPSHOT" level="project" />
124
    <orderEntry type="library" name="Maven: com.google.guava:guava:18.0" level="project" />
125
    <orderEntry type="library" name="Maven: jparsec:jparsec:2.0" level="project" />
126
    <orderEntry type="library" name="Maven: net.sf.ehcache:ehcache:2.8.0" level="project" />
127
    <orderEntry type="library" name="Maven: org.slf4j:slf4j-api:1.6.6" level="project" />
128
    <orderEntry type="library" name="Maven: runcc:runcc:0.7" level="project" />
129
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-api:1.2.2-SNAPSHOT" level="project" />
130
    <orderEntry type="library" name="Maven: eu.dnetlib:dnet-actionmanager-api:3.1.2-SNAPSHOT" level="project" />
131
    <orderEntry type="library" name="Maven: eu.dnetlib:uoa-domain:1.3.2-SNAPSHOT" level="project" />
132
    <orderEntry type="library" name="Maven: org.hibernate:hibernate-entitymanager:3.5.6-Final" level="project" />
133
    <orderEntry type="library" name="Maven: cglib:cglib:2.2" level="project" />
134
    <orderEntry type="library" name="Maven: com.googlecode.gwt-crypto:gwt-crypto:2.3.0" level="project" />
135
    <orderEntry type="library" name="Maven: com.googlecode.gwtquery:gwtquery:1.4.3" level="project" />
136
    <orderEntry type="library" name="Maven: com.google.gwt:gwt-elemental:2.7.0" level="project" />
137
    <orderEntry type="library" name="Maven: commons-fileupload:commons-fileupload:1.3" level="project" />
138
    <orderEntry type="library" name="Maven: commons-io:commons-io:2.4" level="project" />
139
    <orderEntry type="library" name="Maven: com.claudiushauptmann:gwt-recaptcha:1.0.0.Beta2" level="project" />
140
    <orderEntry type="library" name="Maven: com.google.code.maven-play-plugin.net.tanesha.recaptcha4j:recaptcha4j:0.0.8" level="project" />
141
    <orderEntry type="library" name="Maven: com.sencha.gxt:gxt:3.1.1" level="project" />
142
    <orderEntry type="library" name="Maven: org.json:json:20090211" level="project" />
143
    <orderEntry type="library" name="Maven: org.moxieapps.gwt:org.moxieapps.gwt.highcharts:1.5.0" level="project" />
144
    <orderEntry type="library" name="Maven: com.googlecode.gwt-charts:gwt-charts:0.9.10" level="project" />
145
  </component>
146
</module>
modules/uoa-goldoa-portal/branches/hibernate/src/main/java/eu/dnetlib/server/CSVServlet.java
89 89
				String csv = IOUtils.toString(is, "UTF-8");
90 90
				requestManager.importCSV(csv);
91 91
			}
92
			String resp = "";
93
			response.setContentType("text/plain");
94
			response.setContentLength(resp.length()+6);
95
			response.getOutputStream().print("###" + resp + "###");
92 96
		} catch (Exception e){
93 97
			response.setContentType("text/plain");
94 98
			response.setContentLength(e.getMessage().length()+6);
modules/uoa-goldoa-portal/branches/hibernate/src/main/java/eu/dnetlib/client/fundingrequest/bulkimport/BulkImportWidget.java
150 150
                uploadInvoiceSuccessLabel.setVisible(false);
151 151
                uploadInvoiceErrorLabel.setVisible(false);
152 152

  
153
                Window.alert(submitCompleteEvent.getResults().split("###")[1]);
153
                Window.alert(submitCompleteEvent.getResults());
154 154
                if ( submitCompleteEvent.getResults().split("###")[1].equals("") ){
155 155
                    uploadInvoiceSuccessLabel.setText(goldOAConstants.invoiceUploadedSuccessfully());
156 156
                    uploadInvoiceSuccessLabel.setVisible(true);

Also available in: Unified diff