removed "LOADING ********* FROM "+VIEW_JSP

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@181397 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2019-08-01 12:19:50 +00:00
parent d762ae0da1
commit 750f907c0f
3 changed files with 34 additions and 24 deletions

View File

@ -36,7 +36,7 @@ public class GCubeCkanDataCatalogPortlet extends GenericPortlet{
* @throws IOException . * @throws IOException .
*/ */
public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException { public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException {
System.out.println("LOADING ********* FROM "+VIEW_JSP); //System.out.println("LOADING ********* FROM "+VIEW_JSP);
PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher(VIEW_JSP); PortletRequestDispatcher rd = getPortletContext().getRequestDispatcher(VIEW_JSP);
rd.include(request,response); rd.include(request,response);
} }

View File

@ -72,7 +72,7 @@ public class GcubeCkanDataCatalogServiceImpl extends RemoteServiceServlet implem
logger.debug("Discovering ckan utils library into scope " + scopeInWhichDiscover); logger.debug("Discovering ckan utils library into scope " + scopeInWhichDiscover);
instance = DataCatalogueFactory.getFactory().getUtilsPerScope(scopeInWhichDiscover); instance = DataCatalogueFactory.getFactory().getUtilsPerScope(scopeInWhichDiscover);
}catch(Exception e){ }catch(Exception e){
logger.error("Unable to retrieve ckan utils. Error was " + e.toString()); logger.error("Unable to retrieve ckan utils. Error was: ",e);
} }
return instance; return instance;
} }

View File

@ -1,28 +1,38 @@
<!doctype html> <!doctype html>
<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">
<link type="text/css" rel="stylesheet" href="GCubeCkanDataCatalog.css"> <link type="text/css" rel="stylesheet" href="GCubeCkanDataCatalog.css">
<script type="text/javascript" src="gCubeCkanDataCatalog/gCubeCkanDataCatalog.nocache.js"></script> <link type="text/css" rel="stylesheet"
</head> href="gCubeCkanDataCatalog/css/ol.css">
<script type="text/javascript"
src=gCubeCkanDataCatalog/js/jquery-1.10.1.min.js></script>
<script type="text/javascript"
src=gCubeCkanDataCatalog/js/bootstrap.min.js></script>
<script type="text/javascript" src=gCubeCkanDataCatalog/js/ol.js></script>
<script type="text/javascript"
src="gCubeCkanDataCatalog/gCubeCkanDataCatalog.nocache.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 --> <!-- -->
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe> <!-- The body can have arbitrary html, or -->
<!-- you can leave the body empty if you want -->
<!-- to create a completely dynamic UI. -->
<!-- -->
<body>
<!-- RECOMMENDED if your web app will not function without JavaScript enabled --> <!-- OPTIONAL: include this if you want history support -->
<noscript> <iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1'
<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"> style="position: absolute; width: 0; height: 0; border: 0"></iframe>
Your web browser must have JavaScript enabled
in order for this application to display correctly. <!-- RECOMMENDED if your web app will not function without JavaScript enabled -->
</div> <noscript>
</noscript> <div
<div id="gCubeCkanDataCatalog"></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">
</body> Your web browser must have JavaScript enabled in order for this
application to display correctly.</div>
</noscript>
<div id="gCubeCkanDataCatalog"></div>
</body>
</html> </html>