posted 13 years ago
Hi , thanks for reply so quickly.
I hadn´t express it well before. I mean that when I run the app, index file executes, it sends me to welcome.jsf and it has the code:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<head>
<link rel=stylesheet type="text/css" href="../estilos/estilos.css"/>
<title>Elementos de la librearía H</title>
</head>
<body>
<f:view>
<h3> <h:outputText value="Etiquetas de la librería H"/></h3>
<h:form id="form1" style="background-color: #EF8429;font-size: 12px;font-family: Arial, Helvetica,sans-serif;">
<code>Etiqueta SELECT </code><br/>
<h:outputText value="Seleccione un color de coche" />
<h:selectOneMenu id="coches"
value="coches">
<f:selectItem
itemValue="rojo" itemLabel="ROJO"/>
<f:selectItem
itemValue="azul" itemLabel="AZUL"/>
<f:selectItem
itemValue="negro" itemLabel="NEGRO"/>
<f:selectItem
itemValue="verde" itemLabel="VERDE"/>
<f:selectItem
itemValue="blanco" itemLabel="BLANCO"/>
</h:selectOneMenu>
</h:form>
</f:view>
</body>
</html>
In the browser just appears Etiqueta SELECT. I mean it doesn´t get well the code:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
¿Anybody knows why it happend? I have the library jstl-jar in the rigth directory.
Thanks