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 ta...@apache.org on 2007/08/14 21:38:06 UTC

svn commit: r565868 - /portals/jetspeed-2/branches/JETSPEED-2.1.3/applications/demo/src/webapp/WEB-INF/hello-wml.jsp

Author: taylor
Date: Tue Aug 14 12:38:05 2007
New Revision: 565868

URL: http://svn.apache.org/viewvc?view=rev&rev=565868
Log:
https://issues.apache.org/jira/browse/JS2-769
example of another content type

Added:
    portals/jetspeed-2/branches/JETSPEED-2.1.3/applications/demo/src/webapp/WEB-INF/hello-wml.jsp

Added: portals/jetspeed-2/branches/JETSPEED-2.1.3/applications/demo/src/webapp/WEB-INF/hello-wml.jsp
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/branches/JETSPEED-2.1.3/applications/demo/src/webapp/WEB-INF/hello-wml.jsp?view=auto&rev=565868
==============================================================================
--- portals/jetspeed-2/branches/JETSPEED-2.1.3/applications/demo/src/webapp/WEB-INF/hello-wml.jsp (added)
+++ portals/jetspeed-2/branches/JETSPEED-2.1.3/applications/demo/src/webapp/WEB-INF/hello-wml.jsp Tue Aug 14 12:38:05 2007
@@ -0,0 +1,32 @@
+<%--
+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 session="false"%>
+<%@ taglib uri='/WEB-INF/portlet.tld' prefix='portlet'%>
+<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
+<fmt:setBundle basename="org.apache.jetspeed.portlet.helloworld.resources.HelloWorldResources" />
+<portlet:defineObjects/>
+<p><fmt:message key="hello.label.ThisIsATestLine"/></p>
+<b><portlet:namespace/><fmt:message key="hello.label.TestAtPlutoOrg"/></b>
+<p><fmt:message key="hello.label.WeNeedToDoSomething"/></p>
+<p>
+<fmt:message key="hello.label.PortletModeIs">
+   <fmt:param><%= renderRequest.getPortletMode().toString() %></fmt:param>
+</fmt:message>
+<fmt:message key="hello.label.WindowStateIs">
+   <fmt:param><%= renderRequest.getWindowState().toString() %></fmt:param>
+</fmt:message> 
+</p>



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org