jQuery in Action, 3rd edition
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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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: 17160
    
  27

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.


An IDE is no substitute for an Intelligent Developer.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSF tags at translated at runtime
 
It's not a secret anymore!