GeeCON Prague 2014*
The moose likes JSF and the fly likes JSF tags at translated at runtime Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "JSF tags at translated at runtime" Watch "JSF tags at translated at runtime" New topic
Author

JSF tags at translated at runtime

jyothi nalam
Greenhorn

Joined: Oct 25, 2006
Posts: 24
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

Joined: Jun 25, 2001
Posts: 16091
    
  21

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
GeeCON Prague 2014
 
subject: JSF tags at translated at runtime