This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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: 16022
    
  20

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.
 
Consider Paul's rocket mass heater.
 
subject: JSF tags at translated at runtime