Author: woonsan
Date: Wed Nov 18 19:38:41 2009
New Revision: 881898

URL: http://svn.apache.org/viewvc?rev=881898&view=rev
Log:
Changes based on APA-17.

Added:
    
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/iframe-record-visit.jsp
   (with props)

Added: 
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/iframe-record-visit.jsp
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/iframe-record-visit.jsp?rev=881898&view=auto
==============================================================================
--- 
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/iframe-record-visit.jsp
 (added)
+++ 
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/iframe-record-visit.jsp
 Wed Nov 18 19:38:41 2009
@@ -0,0 +1,28 @@
+<%--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+    http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+--%>
+<%@ page language="java" import="javax.portlet.PortletRequest, 
org.apache.portals.messaging.PortletMessaging, 
org.apache.portals.applications.webcontent.portlet.IFrameGenericPortlet" 
session="true" %>
+<%
+String url = request.getParameter("URL");
+
+if (url != null && !"".equals(url.trim()))
+{
+    PortletRequest portletRequest = (PortletRequest) 
request.getAttribute("javax.portlet.request");
+    
+    if (portletRequest != null)
+    {
+        PortletMessaging.publish(portletRequest, 
IFrameGenericPortlet.IFRAME_SRC_URL, url.trim());
+    }
+}
+%>

Propchange: 
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/iframe-record-visit.jsp
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/iframe-record-visit.jsp
------------------------------------------------------------------------------
    svn:keywords = Id

Propchange: 
portals/jetspeed-2/applications/j2-admin/trunk/src/main/webapp/WEB-INF/view/iframe-record-visit.jsp
------------------------------------------------------------------------------
    svn:mime-type = text/plain



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to