Instanciar CSS em jsp com jsf

0 respostas
S

Olá Pessoal
Tenho esse css nesse path no meu projeto:

C:\workspace\Teste\WebContent\pages\css

Como ficaria a tag para instancia meu css nesse jsp com jsf?

Grato

//====================meu jsp com formulario em jsf===================
<%@ taglib uri=“http://java.sun.com/jsf/html” prefix=“h” %>
<%@ taglib uri=“http://java.sun.com/jsf/core” prefix=“f” %>
<%@ taglib uri=“http://richfaces.org/a4j” prefix=“a4j” %>
<%@ taglib uri=“http://richfaces.org/rich” prefix=“rich” %>

<h:panelGrid columns="3" >
        
          <h:outputLabel value="Data Nascimento"></h:outputLabel>
          <rich:calendar binding="#{clienteMB.calendario}" popup="true" datePattern="dd/MM/yyyy" id="data" >
             <f:validator validatorId="dataValidator"/>
           </rich:calendar>
           <h:message for="data"  showDetail="true"></h:message>
           
           <h:outputLabel value="Email"></h:outputLabel>
           <h:inputText id="emailCliente" binding="#{clienteMB.inputTextEmail}" maxlength="50">
             <f:validator validatorId="emailValidator"/>
           </h:inputText>
           <h:message for="emailCliente"  showDetail="true"></h:message>
           
        	<h:outputLabel value="Nome" id="labelCliente"></h:outputLabel>   
			<h:inputText id="nomeCliente" binding="#{clienteMB.inputTextNome}" maxlength="50" required="true" requiredMessage="o campo nome deve ser preenchido"></h:inputText>
			<h:message for="nomeCliente"></h:message>
			
			<h:outputLabel value="Estado" id="labelEstado"></h:outputLabel>
			<h:selectOneMenu id="comboEstado" binding="#{clienteMB.comboEstado}" required="true" requiredMessage="o campo estado deve estar selecionado">
			  <f:selectItem itemLabel="selecione ..." itemValue=""/>
			  <f:selectItems binding="#{clienteMB.itenEstado}"/>
			</h:selectOneMenu>
			<h:message for="comboEstado"></h:message>
			
			<h:outputLabel value="Sexo" id="labelSexo"></h:outputLabel>
			<h:selectOneRadio id="radioSexo" binding="#{clienteMB.sexo}">
			  <f:selectItems binding="#{clienteMB.itenSexo}" />
			</h:selectOneRadio>
			<h:message for="radioSexo"  showDetail="true"></h:message>
			
			<h:outputLabel value="Time" id="labelTime"></h:outputLabel>
			<h:selectManyCheckbox binding="#{clienteMB.checkBox}">
			    <f:selectItems binding="#{clienteMB.itenCheck}"/>
			</h:selectManyCheckbox>
			<h:message for="Time"  showDetail="true"></h:message>
			
			<h:outputLabel value="Endereco" id="labelClienteEndereco"></h:outputLabel>   
			<h:inputText id="enderecoCliente" binding="#{clienteMB.inputTextEndereco}" required="true" requiredMessage="o campo Endereço deve ser preenchido"></h:inputText>
			<h:message for="enderecoCliente"></h:message>
			
			
           <h:outputLabel value="pais" id="labelPais" ></h:outputLabel>
			<h:selectOneMenu id="IdcomboPais" binding="#{clienteMB.comboPais}" required="true" requiredMessage="o campo Pais deve ser selecionado" >
			  <f:selectItem itemLabel="selecione ..." itemValue=""/>
			  <f:selectItems binding="#{clienteMB.itensPais}"/>
			</h:selectOneMenu>
			<h:message for="IdcomboPais"></h:message>
						
		
		</h:panelGrid>
		
		<h:panelGrid columns="3">
		  <h:commandButton value="Salvar" action="#{clienteMB.acaoSalvar}"></h:commandButton>
		  <h:commandButton value="Alterar" action="#{clienteMB.acaoAlterar}"></h:commandButton>
		  <h:commandButton value="Voltar" action="goVoltar"></h:commandButton>
		</h:panelGrid>


			
       		
		
		
		
		
		
		
		
		
   </h:form>
</f:view>
Criado 27 de dezembro de 2007
Respostas 0
Participantes 1