<%-- $HeadURL: https://sushibar/svn/deegree/apps/igeoportal-portlet/trunk/igeoportal/enterprise.jsp $ --%> <%@ page language="java" %> <%@ page import="org.deegree.portal.portlet.modules.actions.IGeoPortalPortletPerform" %> <%@ page import="org.deegree.portal.PortalUtils" %> <%@ page import="org.deegree.framework.util.StringTools" %> <%@ page import="org.deegree.portal.context.ViewContext" %> <% String action = (String)request.getAttribute( "ACTION" ); if ( action == null ) { // default StringBuffer sb = new StringBuffer( request.getScheme() ); sb.append( "://" ); sb.append( request.getServerName() ); sb.append( ":" ); sb.append( request.getServerPort() ); sb.append( request.getContextPath() ); sb.append( "/wmcupdate" ); action = sb.toString(); } %> <% // send new baseRequest to client and update map Boolean updateBaseRequest = (Boolean)request.getAttribute( "UPDATE_BASEREQUESTS" ); if ( updateBaseRequest != null && updateBaseRequest == true ) { ViewContext vc = (ViewContext)request.getAttribute( "VIEWCONTEXT" ); String user = ((org.apache.jetspeed.om.security.BaseJetspeedUser)session.getAttribute("turbine.user")).getUserName(); String password = ((org.apache.jetspeed.om.security.BaseJetspeedUser)session.getAttribute("turbine.user")).getPassword(); String[] baseReqs = null; if ( "anon".equals( user ) ) { baseReqs = PortalUtils.createBaseRequests( vc ); } else { baseReqs = PortalUtils.createBaseRequests( vc, user, password, null ); } %> <% } // end if updateBaseRequest // send next node id back to client (normaly after addNode) String nextNodeID = (String)request.getAttribute( "NEXTNODEID" ); if ( nextNodeID != null ) { %> <% } // end if nextNodeID %>