hi ,

 Iam new to using my faces and trinidad. Iam just building a samll login jsp
and binding it to my backing bean .
Surprisingly .. if my jsp has f:view tag , after running the jsp i see empty
page with out any errors . If i change the f:view to f:subview i can see my
page displayed after i run the jsp .
Iam using

<default-render-kit-id>*org*.*apache*.*myfaces*.*trinidad*.core</
default-render-kit-id>

in my faces config.xml ..



and my jsp is as follows :



<%...@taglib uri=*"http://java.sun.com/jsf/html"* prefix=*"h"*%>

<%...@taglib uri=*"http://java.sun.com/jsf/core"; *prefix=*"f"*%>

<%...@taglib uri=*"http://myfaces.apache.org/trinidad"* prefix=*"tr"*%>

<%...@page language=*"java"*%>

<html>

<body id=*"login"*>

<f:view *"*>

<h:form>

<h:inputText title=*"User ID :"* value="#{myUserBean.username}" />

<h:commandButton id=*"cb1"* value=*"Login"* action="#{myUserBean.login}" />

</h:form>

</f:view>

</body>

</html>



Could any one please let me know why my page is not getting rendered when
using f:view tag ?



PS: I do not have any JSF RI implementation jars in my library..

Reply via email to