I am getting a pop up right after the ajax call returns from my bean's method:
I am using the layout component (PF 3.0.1), several tabs within in the "Center" layout unit and very few input components in all the other layout units. I get the error using IE 7.0.5... and Firefox. My page does not have any extra javascript and nothing special about it...a script on this page is causing Internet Explorer to run slowly...
Could anyone help out and see at a quick glance if there is something wrong with our template?
Here is the template that we use for all pages:
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<f:view content-type="text/html">
<h:head>
<f:facet name="first">
<meta http-equiv="X-UA-Compatible" content="EmulateIE8" />
<meta content='text/html; charset=UTF-8' http-equiv="Content-Type" />
<title>Forecast</title>
</f:facet>
<style type="text/css">
.ui-layout-north {
z-index: 20 !important;
overflow: visible !important;;
}
.ui-layout-north .ui-layout-unit-content {
overflow: visible !important;
}
.ui-widget,.ui-widget .ui-widget {
font-size: 90% !important;
}
.label {
font-family: Arial, Helvetica, sans-serif;
font-size: 11px;
font-weight: normal;
}
</style>
<!--
<h:outputStylesheet>
.ui-widget, .ui-widget .ui-widget {
font-size: 50% !important;
}
</h:outputStylesheet>
-->
</h:head>
<h:body>
<p:layout fullPage="true">
<p:layoutUnit position="north" size="100" header="" resizable="true"
closable="false" collapsible="true">
<ui:include src="/modules/general_header.xhtml" />
</p:layoutUnit>
<p:layoutUnit position="south" size="50" header="Bottom"
resizable="true" closable="false" collapsible="true" collapsed="true">
</p:layoutUnit>
<p:layoutUnit position="west" size="400" header="Inputs"
resizable="true" closable="false" collapsible="true">
<ui:insert name="request" />
</p:layoutUnit>
<p:layoutUnit position="east" size="100" header="Options"
resizable="true" closable="true" collapsible="true" effect="drop" collapsed="true">
</p:layoutUnit>
<p:layoutUnit position="center">
<ui:insert name="data" />
</p:layoutUnit>
</p:layout>
</h:body>
</f:view>
</html>
Code: Select all
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:p="http://primefaces.org/ui">
<p:scrollPanel style="width:1000px;height:1000px">
<h:panelGroup id="entitiesTabsPanelGroupId">
<p:tabView event="mouseover">
<p:tab title="Portfolio (Relative)">
<h:panelGrid id="portfolioPanelGridId" cellpadding="10">
<ui:include src="/modules/portfolio_tab.xhtml" />
</h:panelGrid>
</p:tab>
<p:tab title="Account">
<h:panelGrid id="accountPanelGridId" cellpadding="10">
<ui:include src="/modules/account_tab.xhtml" />
</h:panelGrid>
</p:tab>
<p:tab title="Benchmark">
<h:panelGrid id="benchPanelGridId" cellpadding="10">
<ui:include src="/modules/benchmark_tab.xhtml" />
</h:panelGrid>
</p:tab>
</p:tabView>
</h:panelGroup>
</p:scrollPanel>
</ui:composition>