[PrimeFaces] probleme affichage IE et Edge
Bonjour,
J'ai un souci avec IE et Edge, la page n'affiche rien, alors que le code y est bien.(ça fonctionne nickel sur Chrome et firefox)
En regardant le source dans Edge, je vois des tag <html> et </html> au milieu de la page. J'utilise pas mal les "include", c'est peut-être à cause de cas ? mais j'ai pas de piste pour le corriger.
merci
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.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:c="http://java.sun.com/jsp/jstl/core"
xmlns:p="http://primefaces.org/ui">
<h:head>
<ui:include src="blocs/header.xhtml"></ui:include>
</h:head>
<p:dialog modal="true" widgetVar="statusDialog" header="Status" draggable="false" closable="false" resizable="false">
<h:outputText value="#{msg['form.calcul.msgDownload']}" />
</p:dialog>
<h:body>
<h:outputText value="#{user.val}" />
<p:layout >
<p:layoutUnit position="north" style="min-height:110px;" >
<ui:include src="blocs/nav3.xhtml"></ui:include>
</p:layoutUnit>
<p:layoutUnit position="center" style="min-height:800px;">
<h:form id="formSaisie">
<p:wizard flowListener="#{calculWizard.onFlowProcess}" nextLabel="Suivant" backLabel="Oups!" style="width:80%;margin:auto">
<p:tab id="tabcontrat" title="#{msg['form.calcul.step1']}">
<p:messages />
<ui:include src="blocs/contrat.xhtml"></ui:include>
</p:tab>
<p:tab id="tabPatient" title="#{msg['form.calcul.step2']}">
<p:messages />
<ui:include src="blocs/dpatient.xhtml"></ui:include>
</p:tab>
<p:tab id="tabPreop" title="#{msg['form.calcul.step3']}">
<p:messages />
<ui:include src="blocs/preop.xhtml"></ui:include>
</p:tab>
<p:tab id="tabonfirm" title="#{msg['form.calcul.step4']}">
<p:messages />
<ui:include src="blocs/confirm2.xhtml"></ui:include>
</p:tab>
</p:wizard>
</h:form>
<script type="text/javascript">
function start() {
PF('statusDialog').show();
}
function stop() {
PF('statusDialog').hide();
}
</script>
</p:layoutUnit>
</p:layout>
</h:body>
</html> |