javasf@googlegroups.com
[Top] [All Lists]

Re: [javasf] [Dúvida] Layout Primefaces JSF 2.0

Subject: Re: [javasf] [Dúvida] Layout Primefaces JSF 2.0
From: Cristofer Sousa
Date: Thu, 25 Nov 2010 17:30:48 -0200

Não foi man  =(  ele ta retornando o index quando clico no menu para exibir uma pagina com essa configuraçao       template="/index.xhtml">

Abraços






Em 25 de novembro de 2010 16:22, Manoel <manoel180@xxxxxxxxx> escreveu:
e nos crud assim

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"    template="/index.xhtml">

<ui:define name="menu-vc-esta">

Em 25 de novembro de 2010 14:17, Manoel <manoel180@xxxxxxxxx> escreveu:

tenta assim


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
      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.prime.com.tr/ui">
  <f:view contentType="text/html">
    <h:head>
        <title>
            <ui:insert name="title"/>Index</title>

        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link type="text/css" rel="stylesheet" href="">
        <link type="text/css" rel="stylesheet" href="">
      </h:head>

 
        <h:body>

Em 25 de novembro de 2010 12:20, Cristofer Sousa <cristofer.sousa@xxxxxxxxx> escreveu:

Fala Manoel , então eu executo a minha página  template.xhtml ele carrega o skin normalmente , executo o meu index.xhtml  carrega normalmente , executo o meu menu.xhtml ele executa o skin normalmente também.
 
Abaixo está o meu script do index / template / menu  veja que todos estão chamando o skin  como caminho absoluto e está funcionando o mesmo código eu passei para o crud das minhas outras páginas .

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
      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.prime.com.tr/ui">

    <h:head>
        <title>
            <ui:insert name="title"/>Index</title>

        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link type="text/css" rel="stylesheet" href="">
        <link type="text/css" rel="stylesheet" href="">
      </h:head>

    <f:view contentType="text/html">
        <h:body>


Abraços


--

("Embora ninguém possa voltar atrás e fazer um novo começo, qualquer um pode começar agora e  fazer um novo fim."  Chico Xavier )

----------------------------------------------
Cristofer Sousa
http://korzzus.wordpress.com

[16]9122-7154


--
Você recebeu esta mensagem por que é membro do Javasf
http://groups.google.com/group/javasf
 
Conheça também o Java Brazil: http://groups.google.com/group/thejavabrazil


--
Você recebeu esta mensagem por que é membro do Javasf
http://groups.google.com/group/javasf
 
Conheça também o Java Brazil: http://groups.google.com/group/thejavabrazil



--

("Embora ninguém possa voltar atrás e fazer um novo começo, qualquer um pode começar agora e  fazer um novo fim."  Chico Xavier )

----------------------------------------------
Cristofer Sousa
http://korzzus.wordpress.com

[16]9122-7154


--
Você recebeu esta mensagem por que é membro do Javasf
http://groups.google.com/group/javasf
 
Conheça também o Java Brazil: http://groups.google.com/group/thejavabrazil
<Prev in Thread] Current Thread [Next in Thread>