Working on [Feature #13074] integration with 'openlayer-basic-widgets'
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace@177244 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
da60691476
commit
5d06d96a4f
|
@ -5,12 +5,6 @@
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/generated-sources/gwt"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/generated-sources/gwt"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
|
||||||
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
|
||||||
<dependent-module archiveName="workspace-tree-widget-6.25.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-tree-widget/workspace-tree-widget">
|
|
||||||
<dependency-type>uses</dependency-type>
|
|
||||||
</dependent-module>
|
|
||||||
<dependent-module archiveName="workspace-sharing-widget-1.9.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/workspace-sharing-widget/workspace-sharing-widget">
|
|
||||||
<dependency-type>uses</dependency-type>
|
|
||||||
</dependent-module>
|
|
||||||
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
|
||||||
<property name="context-root" value="workspace"/>
|
<property name="context-root" value="workspace"/>
|
||||||
</wb-module>
|
</wb-module>
|
||||||
|
|
|
@ -1,17 +1 @@
|
||||||
{
|
{"plugins":{"aui":{},"liferay":{},"yui":{}},"libs":["ecma5","browser"],"ide":{"scriptPaths":[]}}
|
||||||
"plugins": {
|
|
||||||
"aui": {
|
|
||||||
|
|
||||||
},
|
|
||||||
"liferay": {
|
|
||||||
|
|
||||||
},
|
|
||||||
"yui": {
|
|
||||||
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"libs": [
|
|
||||||
"ecma5",
|
|
||||||
"browser"
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- To Comment out -->
|
<!-- To Comment out -->
|
||||||
<!-- <set-property name="user.agent" value="safari" /> -->
|
<!-- <set-property name="user.agent" value="safari" /> -->
|
||||||
|
|
||||||
<!-- <inherits name='org.gcube.portlets.widgets.guidedtour.GuidedTour' /> -->
|
<!-- <inherits name='org.gcube.portlets.widgets.guidedtour.GuidedTour' /> -->
|
||||||
|
|
||||||
|
@ -25,6 +25,9 @@
|
||||||
<inherits
|
<inherits
|
||||||
name='org.gcube.portlets.widgets.ckandatapublisherwidget.CKanMetadataPublisher' />
|
name='org.gcube.portlets.widgets.ckandatapublisherwidget.CKanMetadataPublisher' />
|
||||||
<inherits name="org.realityforge.gwt.websockets.WebSockets" />
|
<inherits name="org.realityforge.gwt.websockets.WebSockets" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Specify the app entry point class. -->
|
<!-- Specify the app entry point class. -->
|
||||||
<entry-point
|
<entry-point
|
||||||
class='org.gcube.portlets.user.workspace.client.WorkspacePortlet' />
|
class='org.gcube.portlets.user.workspace.client.WorkspacePortlet' />
|
||||||
|
|
|
@ -1510,6 +1510,7 @@ public class AppController implements SubscriberInterface {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(List<FileGridModel> result) {
|
public void onSuccess(List<FileGridModel> result) {
|
||||||
|
GWT.log("Update GRID store for parent: "+parent.getName());
|
||||||
wsPortlet.getGridGroupContainer().setCurrentFolderView(parent); //SET folder as current view
|
wsPortlet.getGridGroupContainer().setCurrentFolderView(parent); //SET folder as current view
|
||||||
wsPortlet.getGridGroupContainer().unmask();
|
wsPortlet.getGridGroupContainer().unmask();
|
||||||
wsPortlet.getGridGroupContainer().updateStore(result);
|
wsPortlet.getGridGroupContainer().updateStore(result);
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
|
|
||||||
<!-- To Comment out -->
|
<!-- To Comment out -->
|
||||||
<!-- <set-property name="user.agent" value="safari" /> -->
|
<!-- <set-property name="user.agent" value="safari" /> -->
|
||||||
|
|
||||||
<!-- <inherits name='org.gcube.portlets.widgets.guidedtour.GuidedTour' /> -->
|
<!-- <inherits name='org.gcube.portlets.widgets.guidedtour.GuidedTour' /> -->
|
||||||
|
|
||||||
|
@ -25,6 +25,9 @@
|
||||||
<inherits
|
<inherits
|
||||||
name='org.gcube.portlets.widgets.ckandatapublisherwidget.CKanMetadataPublisher' />
|
name='org.gcube.portlets.widgets.ckandatapublisherwidget.CKanMetadataPublisher' />
|
||||||
<inherits name="org.realityforge.gwt.websockets.WebSockets" />
|
<inherits name="org.realityforge.gwt.websockets.WebSockets" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- Specify the app entry point class. -->
|
<!-- Specify the app entry point class. -->
|
||||||
<entry-point
|
<entry-point
|
||||||
class='org.gcube.portlets.user.workspace.client.WorkspacePortlet' />
|
class='org.gcube.portlets.user.workspace.client.WorkspacePortlet' />
|
||||||
|
|
|
@ -5,48 +5,56 @@
|
||||||
<!-- with a "Quirks Mode" doctype is not supported. -->
|
<!-- with a "Quirks Mode" doctype is not supported. -->
|
||||||
|
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||||
|
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<!-- Consider inlining CSS to reduce the number of requested files -->
|
<!-- Consider inlining CSS to reduce the number of requested files -->
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<link type="text/css" rel="stylesheet" href="workspaceportlet.css">
|
<link type="text/css" rel="stylesheet" href="workspaceportlet.css">
|
||||||
|
|
||||||
<!-- -->
|
|
||||||
<!-- Any title is fine -->
|
|
||||||
<!-- -->
|
|
||||||
<title>Web Application Starter Project</title>
|
|
||||||
|
|
||||||
<!-- -->
|
<!-- They are needed to 'openlayers-widget' -->
|
||||||
<!-- This script loads your compiled module. -->
|
<link type="text/css" rel="stylesheet" href="CKanMetadataPublisher/css/ol.css">
|
||||||
<!-- If you add any GWT meta tags, they must -->
|
<script type="text/javascript" src="workspace/js/ol.js"></script>
|
||||||
<!-- be added before this line. -->
|
|
||||||
<!-- -->
|
|
||||||
<script type="text/javascript" language="javascript" src="workspace/workspace.nocache.js"></script>
|
|
||||||
|
|
||||||
<!-- GXT -->
|
|
||||||
<link rel='stylesheet' type='text/css' href='resources/css/gxt-all.css' />
|
|
||||||
<script language='javascript' src='resources/flash/swfobject.js'></script>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<!-- -->
|
<!-- -->
|
||||||
<!-- The body can have arbitrary html, or -->
|
<!-- Any title is fine -->
|
||||||
<!-- you can leave the body empty if you want -->
|
<!-- -->
|
||||||
<!-- to create a completely dynamic UI. -->
|
<title>Web Application Starter Project</title>
|
||||||
<!-- -->
|
|
||||||
<body>
|
<!-- -->
|
||||||
|
<!-- This script loads your compiled module. -->
|
||||||
|
<!-- If you add any GWT meta tags, they must -->
|
||||||
|
<!-- be added before this line. -->
|
||||||
|
<!-- -->
|
||||||
|
<script type="text/javascript" language="javascript"
|
||||||
|
src="workspace/workspace.nocache.js"></script>
|
||||||
|
|
||||||
|
<!-- GXT -->
|
||||||
|
<link rel='stylesheet' type='text/css' href='resources/css/gxt-all.css' />
|
||||||
|
<script language='javascript' src='resources/flash/swfobject.js'></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<!-- -->
|
||||||
|
<!-- The body can have arbitrary html, or -->
|
||||||
|
<!-- you can leave the body empty if you want -->
|
||||||
|
<!-- to create a completely dynamic UI. -->
|
||||||
|
<!-- -->
|
||||||
|
<body>
|
||||||
|
|
||||||
<!-- OPTIONAL: include this if you want history support -->
|
<!-- OPTIONAL: include this if you want history support -->
|
||||||
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
|
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1'
|
||||||
|
style="position: absolute; width: 0; height: 0; border: 0"></iframe>
|
||||||
|
|
||||||
<!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
|
<!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
|
||||||
<noscript>
|
<noscript>
|
||||||
<div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
|
<div
|
||||||
Your web browser must have JavaScript enabled
|
style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
|
||||||
in order for this application to display correctly.
|
Your web browser must have JavaScript enabled in order for this
|
||||||
</div>
|
application to display correctly.</div>
|
||||||
</noscript>
|
</noscript>
|
||||||
<div id="workspaceDiv"></div>
|
<div id="workspaceDiv"></div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue