• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tag doesn´t works

 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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


 
Ranch Hand
Posts: 200
Eclipse IDE Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My headers usually look like this:

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic