The following xhtml page produces the html source shown below. However I can't get it to process the fmt and sql taglibs correctly. I had this working prior to using xhtml pages. I had a look a the J6EE tutorial (Chapter 6 - Facelets) which mentions all the other tab libraries, but not those two. What are the available alternatives ?
other.xhtml
<?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:h="
http://java.sun.com/jsf/html"
xmlns:f="
http://java.sun.com/jsf/core"
xmlns:c="
http://java.sun.com/jsp/jstl/core"
xmlns:fmt="
http://java.sun.com/jsp/jstl/fmt"
xmlns:sql="
http://java.sun.com/jsp/jstl/sql"
xmlns:fn="
http://java.sun.com/jsp/jstl/functions"
xml:lang="en" lang="en">
<fmt:setBundle basename="com.j2anywhere.addressbookserver.web.Translations" var="translations" scope="session"/>
<f:loadBundle basename="com.j2anywhere.addressbookserver.web.Translations" var="faces_translations"/>
<h:head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<c:if test="${pageContext.request.requestURI ne '${pageContext.request.contextPath}/autoLogout.jsf'}">
<meta http-equiv="refresh" content="1800;url=${pageContext.request.contextPath}/autoLogout.jsf"/>
</c:if>
<title><fmt:message key="PageTitle" bundle="${translations}"/></title>
<script src="${pageContext.request.contextPath}/scripts/common.js" type="text/javascript"></script>
</h:head>
<h:body>
<h1>Other</h1>
<h:form>
<h:outputText value="#{faces_translations.Yes}"/>
</h:form>
<h:outputText value="#{faces_translations.Yes}"/>
</h:body>
</html>
<?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:fmt="
http://java.sun.com/jsp/jstl/fmt" xmlns:sql="
http://java.sun.com/jsp/jstl/sql" xml:lang="en" lang="en">
<fmt:setBundle basename="com.j2anywhere.addressbookserver.web.Translations" var="translations" scope="session"></fmt:setBundle>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="1800;url=/autoLogout.jsf" />
<title><fmt:message key="PageTitle"></fmt:message></title>
<script src="/scripts/common.js" type="text/javascript"></script></head><body>
<h1>Other</h1>
<form id="j_idt10" name="j_idt10" method="post" action="/other.jsf" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="j_idt10" value="j_idt10" />
Yes<input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="-9208139216578266380:-4314993053830858838" autocomplete="off" />
</form>Yes</body>
</html>
[Message sent by forum member 'lostinspace2011']
http://forums.java.net/jive/thread.jspa?messageID=480830