commented console.log
This commit is contained in:
parent
1844c32a4b
commit
3e01fba65a
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -78,7 +79,8 @@
|
||||||
|
|
||||||
|
|
||||||
<wb-module deploy-name="geoportal-data-entry-app-3.0.1">
|
<wb-module deploy-name="geoportal-data-entry-app-3.0.1">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -157,7 +159,8 @@
|
||||||
|
|
||||||
|
|
||||||
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
|
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -236,7 +239,8 @@
|
||||||
|
|
||||||
|
|
||||||
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -315,7 +319,8 @@
|
||||||
|
|
||||||
|
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -346,7 +351,8 @@
|
||||||
|
|
||||||
|
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -425,7 +431,8 @@
|
||||||
|
|
||||||
|
|
||||||
<property name="context-root" value="geoportal-data-entry-app"/>
|
<property name="context-root" value="geoportal-data-entry-app"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -504,7 +511,8 @@
|
||||||
|
|
||||||
|
|
||||||
<property name="java-output-path" value="/geoportal-data-entry-app/target/geoportal-data-entry-app-2.0.0-SNAPSHOT/WEB-INF/classes"/>
|
<property name="java-output-path" value="/geoportal-data-entry-app/target/geoportal-data-entry-app-2.0.0-SNAPSHOT/WEB-INF/classes"/>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -583,7 +591,8 @@
|
||||||
|
|
||||||
|
|
||||||
</wb-module>
|
</wb-module>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ public class JSONEditorWrapper extends JavaScriptObject {
|
||||||
console.log("JSONEditorWrapper error: " + error)
|
console.log("JSONEditorWrapper error: " + error)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
console.log("container is: " + container);
|
//console.log("container is: " + container);
|
||||||
return new $wnd.JSONEditor(container, options);
|
return new $wnd.JSONEditor(container, options);
|
||||||
}-*/;
|
}-*/;
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ public class JSONEditorWrapper extends JavaScriptObject {
|
||||||
public final native void set(String json) /*-{
|
public final native void set(String json) /*-{
|
||||||
var toJSONObject = JSON.parse(json);
|
var toJSONObject = JSON.parse(json);
|
||||||
// set json
|
// set json
|
||||||
console.log("displayng JSON: " + toJSONObject);
|
//console.log("displayng JSON: " + toJSONObject);
|
||||||
this.set(toJSONObject);
|
this.set(toJSONObject);
|
||||||
this.refresh();
|
this.refresh();
|
||||||
}-*/;
|
}-*/;
|
||||||
|
@ -58,7 +58,7 @@ public class JSONEditorWrapper extends JavaScriptObject {
|
||||||
* @return the text
|
* @return the text
|
||||||
*/
|
*/
|
||||||
public final native String getText() /*-{
|
public final native String getText() /*-{
|
||||||
console.log("this.get(): " +this.getText());
|
//console.log("this.get(): " +this.getText());
|
||||||
return this.getText();
|
return this.getText();
|
||||||
}-*/;
|
}-*/;
|
||||||
|
|
||||||
|
|
|
@ -71,6 +71,7 @@ public class MongoServiceUtil {
|
||||||
// Prepare request
|
// Prepare request
|
||||||
RegisterFileSetRequest fsRequest = FileSets.prepareRequest(new StorageUtils(), parentPath, fieldName,
|
RegisterFileSetRequest fsRequest = FileSets.prepareRequest(new StorageUtils(), parentPath, fieldName,
|
||||||
fieldDefinition, files);
|
fieldDefinition, files);
|
||||||
|
|
||||||
project = client.registerFileSet(project.getId(), fsRequest);
|
project = client.registerFileSet(project.getId(), fsRequest);
|
||||||
LOG.trace("Resulting Project : " + project);
|
LOG.trace("Resulting Project : " + project);
|
||||||
LOG.debug("Resulting Project as JSON: " + Serialization.write(project));
|
LOG.debug("Resulting Project as JSON: " + Serialization.write(project));
|
||||||
|
|
Loading…
Reference in New Issue