wood burning stoves 2.0*
The moose likes JSF and the fly likes Tag doesn´t works Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Tag doesn´t works" Watch "Tag doesn´t works" New topic
Author

Tag doesn´t works

Dura Hurtado
Ranch Hand

Joined: Feb 16, 2011
Posts: 120
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> <hutputText 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/>
<hutputText 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


Guy deLyonesse
Ranch Hand

Joined: Apr 12, 2011
Posts: 200

My headers usually look like this:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tag doesn´t works
 
Similar Threads
JSF
AJAX Conditionally Render Components
Navigation problem
can anybody help ??
Exception during addition of data from UI