• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF tags at translated at runtime

 
jyothi nalam
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, When I am calling the facelet, the output is just
Hi First Name:
There is no text box.

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
<body>
Hi
First Name: <h:inputText id="fname" size="15" value="" required="true" />
</body>
</html>

Can someone please tell me where I am doing it wrong.

Thanks,
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17616
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're using Facelets, and I don't remember their exact requirements, but for straight JSF, you'd need a view tag to enclose the JSF tags.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic