when switching among portlet tabs the ckan connector is always invoked (to avoid unwanted behaviours)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@144402 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
af83cc84f1
commit
9aa733e658
|
@ -212,9 +212,9 @@ public class CkanEventHandlerManager {
|
||||||
* @return the ckan request
|
* @return the ckan request
|
||||||
*/
|
*/
|
||||||
private String getCkanRequest(String pathInfo, String query){
|
private String getCkanRequest(String pathInfo, String query){
|
||||||
CkanConnectorAccessPoint ckan = new CkanConnectorAccessPoint(panel.getCatalogueUrl(),"");
|
CkanConnectorAccessPoint ckan = new CkanConnectorAccessPoint(panel.getBaseURLCKANConnector(),"");
|
||||||
/*if(panel.getGcubeTokenValueToCKANConnector() != null)
|
if(panel.getGcubeTokenValueToCKANConnector() != null)
|
||||||
ckan.addGubeToken(panel.getGcubeTokenValueToCKANConnector());*/
|
ckan.addGubeToken(panel.getGcubeTokenValueToCKANConnector());
|
||||||
pathInfo = CkanConnectorAccessPoint.checkNullString(pathInfo);
|
pathInfo = CkanConnectorAccessPoint.checkNullString(pathInfo);
|
||||||
query = CkanConnectorAccessPoint.checkNullString(query);
|
query = CkanConnectorAccessPoint.checkNullString(query);
|
||||||
ckan.addPathInfo(pathInfo);
|
ckan.addPathInfo(pathInfo);
|
||||||
|
|
Loading…
Reference in New Issue