@Bruno_Macedo escreveu:
Estou com um problema no p:menubar do Primefaces com o Google Chrome, ao abrir a tela tudo normal, mas ao recarregar
(F5)
o background do menu desaparece, isso começou apos atualizar o browser, alguem passou por isso?Código principal
<?xml version="1.0" encoding="ISO-8859-1"?> <!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:p="http://primefaces.org/ui" xmlns:f="http://java.sun.com/jsf/core" xmlns:sec="http://www.springframework.org/security/facelets/tags" xmlns:ui="http://java.sun.com/jsf/facelets"> <h:head> </h:head> <h:body> <h:form> <p:menubar autoDisplay="false" > <p:submenu label="Cadastrar" > <p:menuitem value="Usuário" update="principal" ajax="true" onstart="dlg.show()" oncomplete="dlg.hide()"> <f:setPropertyActionListener target="#{contextoManager.url}" value="#{request.contextPath}/restrito/usuario/usuario.jsf"/> </p:menuitem> </p:submenu> </p:menubar> <h:panelGroup styleClass="principal" id="principal" layout="block"><iframe id="iframePrincipal" name="iframePrincipal" height="2290" width="100%" frameborder="0" src="#{contextoManager.url}" style="z-index:-1"></iframe></h:panelGroup> </h:form> </h:body> </html>
Mensagens: 3
Participantes: 2