krishna Gummadi schrieb: > 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.. >
(1) What url are you using to access your page? You should use http://somehost:someport/appname/login.jsf Note the suffix: ".jsf", not ".jsp". (2) If you take the trinidad renderkit line out, what happens? (3) What version of Myfaces are you using? (4) Myfaces uses commons-logging as its logging library. Do you see anything useful in the logfiles if you enable logging? Regards, Simon -- -- Emails in "mixed" posting style will be ignored -- (http://en.wikipedia.org/wiki/Posting_style)

