subview « JSP « JSF Q&A





1. id attribute of subview tag    stackoverflow.com

I am learning jsf. I get class cast exception in java.lang.String when I use the following code:

<f:facet name="header">
  <f:subview id="header">
    <tiles:insert attribute="header" flush="false"/>
  </f:subview>
</f:facet>
If I replace ...

2. onload script does not work in subview page in JSF    stackoverflow.com

I have written two JSP pages: outerPage.jsp and innerPage.jsp.
The outerPage.jsp includes innerPage.jsp.
The innerPage.jsp has one textfield and one button. I need to set focus on textFiled in innerPage.jsp while the page loads.
I ...