I have tested my simple page under firefox without any problem.
But when trying to see the result under IE, I get a different behaviour.
Here is the page:
Code: Select all
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="p" uri="http://primefaces.prime.com.tr/ui"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<f:view>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>PAMON</title>
<p:resources />
</head>
<body>
<h:outputLabel value="INES Monitoring" styleClass="page-title" />
<h:form id="mainForm" prependId="false">
<p:layout height="768">
<p:layoutUnit position="left" width="250" resize="true">
<p:panel header="Time" styleClass="filterPanels">
<p:calendar title="Start" value="#{transBean.filterStartDate}"
pattern="dd/MM/yyyy">
</p:calendar>
<p:calendar title="End" value="#{transBean.filterEndDate}"
pattern="dd/MM/yyyy" />
</p:panel>
<p:panel header="Interface">
<h:selectOneMenu id="interface"
value="#{transBean.filterInterface}">
<p:ajax event="change" update="action_type" />
<f:selectItem itemLabel="All" itemValue="" />
<f:selectItem itemLabel="NGIN" itemValue="NGIN" />
<f:selectItem itemLabel="FIONA" itemValue="FIONA" />
</h:selectOneMenu>
</p:panel>
<p:panel>
<p:commandButton id="doFilter" update="transactionsTable"
action="#{transBean.applyFilter}" value="Show transactions"
async="true">
</p:commandButton>
</p:panel>
</p:layoutUnit>
<p:layoutUnit position="center">
<p:dataTable id="transactionsTable" var="transaction" rows="20"
value="#{transBean.transactions}" paginator="true"
paginatorTemplate="{PreviousPageLink} {CurrentPageReport} {NextPageLink}">
<p:column>
<f:facet name="header">
<h:outputText value="Response Type" />
</f:facet>
<h:outputText value="#{transaction.responseType}" />
</p:column>
</p:dataTable>
</p:layoutUnit>
</p:layout>
</h:form>
</body>
</f:view>
</html>
<p:layout>
<p:layoutUnit>
<p:panel id="one">
<p:calendar id="cal1">
<p:calendar id="cal2">
</p:panel>
<p:panel id="two">
... something
</p:panel>
When I click on the calendar "cal1", it displays under panel "two" with IE. With Firefox, it's displayed correclty.
Any idea how I can solve this ?