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

JSF tags at translated at runtime

jyothi nalam

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"
First Name: <h:inputText id="fname" size="15" value="" required="true" />

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

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17160

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!