<%--
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 isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/portlet_2_0" prefix="portlet"%>

<portlet:defineObjects/>

<div class="portlet-section-body">
<p>
  This portlet is a companion portlet to the 286 Test Portlet.
  It is designed to test interportlet coordination features of version 2.0 of the
  Java Portlet API (JSR-286) which include public render parameters and eventing.  
</p>

<c:if test="${not empty param['public-render-param1']}">
	<p>
		<h4>Public Render Parameter Test Results:</h4>
		<p>
		checkPublicRenderParameter test: <b><c:out value="${param['public-render-param1']}"/></b>	
		</p>
	</p>
</c:if>

<c:if test="${not empty eventInfo}">
	<p>
		<h4>Information from last event:</h4>
		<p><c:out value="${eventInfo}" /></p>
	</p>
</c:if>
</div>