Render « JSP « JSF Q&A





1. Facelet Custom Component - prevent rendering ui:insert content in custom component    stackoverflow.com

this is my custom component definition:

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jstl/core"
 ...

2. JSF not being rendered    stackoverflow.com

I've got a tiny webapp with index.jsp that forwards (it mostly only contains):

<jsp:forward page="/pages/inputname.jsf" />
web.xml contains (in addition to everything else you'd expect; see more below):
<servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
 ...

3. Disable rerendering of input field after validation message is shown    stackoverflow.com

Is it possible to disable rerendering of an input field after a message of failed validation is shown? This is a piece of my view:

<h:outputLabel for="captcha" value="#{ui.pleaseEnterTextInTheImage}"  rendered="#{sessionBean.showCaptcha}"/>
<h:panelGroup rendered="#{sessionBean.showCaptcha}">
   ...

4. JSP rendering straight content outside of the JSF components - is it fixed yet?    coderanch.com

One of the things that I have run into and had to work around with JSF (using RI) is that any straight HTML markup gets rendered in the JSP before the JSF tags when the HTML is within a parent JSF tag. See Improving JSF by Dumping JSP When using tiles this poses some real problems, especially when I want to ...

5. JSF and rendering    coderanch.com

8. How tag in JSF (Render Problem)    coderanch.com