You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by jf...@apache.org on 2004/03/17 21:05:17 UTC
cvs commit: jakarta-jetspeed/webapp index.jsp welcome.html loadDoc.jsp LoggedInWelcome.html
jford 2004/03/17 12:05:17
Modified: webapp index.jsp welcome.html loadDoc.jsp
LoggedInWelcome.html
Log:
Added Apache License 2.0
Revision Changes Path
1.3 +15 -0 jakarta-jetspeed/webapp/index.jsp
Index: index.jsp
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/webapp/index.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- index.jsp 22 Dec 2000 13:29:04 -0000 1.2
+++ index.jsp 17 Mar 2004 20:05:17 -0000 1.3
@@ -1 +1,16 @@
+<%--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+--%>
<jsp:forward page="portal/"/>
1.3 +15 -0 jakarta-jetspeed/webapp/welcome.html
Index: welcome.html
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/webapp/welcome.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- welcome.html 22 Dec 2000 13:29:04 -0000 1.2
+++ welcome.html 17 Mar 2004 20:05:17 -0000 1.3
@@ -1,3 +1,18 @@
+<%--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+--%>
<p align="left">
2 default accounts are available in this Jetspeed installation:
</p>
1.2 +62 -47 jakarta-jetspeed/webapp/loadDoc.jsp
Index: loadDoc.jsp
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/webapp/loadDoc.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- loadDoc.jsp 3 Nov 2003 18:21:40 -0000 1.1
+++ loadDoc.jsp 17 Mar 2004 20:05:17 -0000 1.2
@@ -1,47 +1,62 @@
-<%@ page import="java.net.URLDecoder" %>
-<%@ page import="org.apache.jetspeed.portal.portlets.GenericMVCPortlet" %>
-
-<%
-String portletId = request.getParameter(GenericMVCPortlet.PORTLET_ID);
-String docUrl = request.getParameter(GenericMVCPortlet.DOC_URL);
-docUrl = URLDecoder.decode(docUrl);
-%>
-
-<script type="text/javascript">
-var timerId;
-var waitCount = 0;
-function handleLoadDocOnLoad(portletId)
-{
- // get frame
- var frame = window.frames[portletId];
- if (!frame) frame = document.body.firstChild;
-
- // get delayed content
- var delayedContent = '';
- if (frame.contentDocument)
- {
- delayedContent = frame.contentDocument.body.innerHTML;
- }
- else if (frame.document)
- {
- delayedContent = frame.document.body.innerHTML;
- }
-
- // handle content
- if (timerId) window.clearTimeout(timerId);
- if (delayedContent.length > 0)
- {
- top.handleOnLoad(portletId, delayedContent);
- }
- else // content not loaded yet: Mozilla bug
- {
- // window.status = 'frame.contentDocument missing; waitCount=' + (waitCount++);
- // alert('delayedContent missing; waitCount=' + (waitCount++));
- timerId = window.setTimeout('handleLoadDocOnLoad("' + portletId + '")', 200);
- }
-}
-</script>
-
-<frameset rows="1" onLoad="handleLoadDocOnLoad('<%= portletId %>')">
-<frame name="<%= portletId %>" src="<%= docUrl %>"></frame>
-</frameset>
+<%--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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 import="java.net.URLDecoder" %>
+<%@ page import="org.apache.jetspeed.portal.portlets.GenericMVCPortlet" %>
+
+<%
+String portletId = request.getParameter(GenericMVCPortlet.PORTLET_ID);
+String docUrl = request.getParameter(GenericMVCPortlet.DOC_URL);
+docUrl = URLDecoder.decode(docUrl);
+%>
+
+<script type="text/javascript">
+var timerId;
+var waitCount = 0;
+function handleLoadDocOnLoad(portletId)
+{
+ // get frame
+ var frame = window.frames[portletId];
+ if (!frame) frame = document.body.firstChild;
+
+ // get delayed content
+ var delayedContent = '';
+ if (frame.contentDocument)
+ {
+ delayedContent = frame.contentDocument.body.innerHTML;
+ }
+ else if (frame.document)
+ {
+ delayedContent = frame.document.body.innerHTML;
+ }
+
+ // handle content
+ if (timerId) window.clearTimeout(timerId);
+ if (delayedContent.length > 0)
+ {
+ top.handleOnLoad(portletId, delayedContent);
+ }
+ else // content not loaded yet: Mozilla bug
+ {
+ // window.status = 'frame.contentDocument missing; waitCount=' + (waitCount++);
+ // alert('delayedContent missing; waitCount=' + (waitCount++));
+ timerId = window.setTimeout('handleLoadDocOnLoad("' + portletId + '")', 200);
+ }
+}
+</script>
+
+<frameset rows="1" onLoad="handleLoadDocOnLoad('<%= portletId %>')">
+<frame name="<%= portletId %>" src="<%= docUrl %>"></frame>
+</frameset>
1.3 +15 -0 jakarta-jetspeed/webapp/LoggedInWelcome.html
Index: LoggedInWelcome.html
===================================================================
RCS file: /home/cvs/jakarta-jetspeed/webapp/LoggedInWelcome.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- LoggedInWelcome.html 30 Dec 2001 09:57:00 -0000 1.2
+++ LoggedInWelcome.html 17 Mar 2004 20:05:17 -0000 1.3
@@ -1,3 +1,18 @@
+<!--
+Copyright 2004 The Apache Software Foundation
+
+Licensed 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.
+-->
<center><h1>Welcome to Jetspeed</h1></center>
<center><strong>Congratulations, You are logged!</strong></center>
<p>
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org