include « RichFaces « JSF Q&A





1. Lost RichFaces skin when rendering through rich:panel and a4j:include    stackoverflow.com

I have an h:selectOneMenu and an a4j:commandButton, the latter of which reRenders a component called content which looks like this:

<rich:panel id="content">
 <a4j:include viewId="#{MyBacking.viewId}" />
</rich:panel>
When the response is rendered and the component ...

2. a4j:included rich:dataTable negatively affects a4j:commandButton    stackoverflow.com

Hello I have a JSF/RichFaces setup with an index.jsp which a4j:includes another piece of code which contains a rich:dataTable. It initially renders fine, and selecting an item on the index.jsp's dropDown list and ...

3. Nesting h:form tags in RichFaces a4j:included content    stackoverflow.com

How is it possible to enclose ajax-related elements with h:form tags in a jsp file which I want to then a4j:include in another jsp file given the suggestion (EDIT ...

4. Richfaces a4j:include loading two pages?    stackoverflow.com

I have this seemingly-innocent code on my main JSF page:

<a4j:outputPanel id="sidebarContainer">
     <a4j:include viewId="#{UserSession.currentSidebar}"/>
</a4j:outputPanel>
Here is how the sidebar changes:
  1. A jsFunction calls a backing-bean method which sets the page ...

5.  content doesn't get change    stackoverflow.com

This is what i want to achieve. I have navigation panel on left and content panel on right. when user click links on left navigation panel , ajax calls made and ...

6. JSF(RichFaces)- ui:include doesn't work inside rich:tab    stackoverflow.com

I use rich:tabPanel component of RichFaces lib.

<rich:tabPanel>
    <rich:tab label="Tab1">
            <ui:include src="res.xhtml" />
    </rich:tab>
</rich:tabPanel>
ui:include doesn't ...

7. Include JS files based on current page    stackoverflow.com

I have the following on my main jsf wrapper page:

<head>
  <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8"/>
  <title>
    <ui:insert name="pageTitle" /> 
  </title>

  <a4j:loadScript src="resource://jquery.js" />
  ...

8. Issue re-rendering a in Richfaces 4.0    stackoverflow.com

I am using richfaces 4.0 final. I have a page where I am including another facelet using

<ui:include src="#{bean.selectedPage}" />
The String selectedPage is set on a button click. When button is ...

9. Including resources outside context root with JSF2    stackoverflow.com

I'm currently upgrading an application from JSF 1.2 and Richfaces 3.3 to JSF 2 and Richfaces 4. I'm having issues getting my application to include stylesheets using JSF2's new h:outputStylesheet ...





10. What should be the scope of forms when using ui:include?    stackoverflow.com

In a situation where a number of sub-pages will be included using ui:include where should the h:form tag go? The form should be in the parent (A.xhtml and B.xhtml)? A.xhtml excerpt

<h:form>
   ...

11. RichFaces Page Theme -- Include CSS file?    stackoverflow.com

I'm toying with creating a custom RichFaces page theme per the instructions here. I've run the Maven commands and it creates my initial page template, along with a ...

12. Issue with FacesContext, RequestDispatcher.include(...)    stackoverflow.com

I have page1.jsf with following code snippet:

<!Doctype html public "-//w3c//dtd html 4.0 transitional//en"><%@
taglib uri="http://java.sun.com/jsf/core" prefix="f"%><%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%><%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%><%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
<html>
 <head>
  <title>RichFaces Sample</title>
 </head>
 <body>
  <f:view>
 ...

13. How to reload     stackoverflow.com

We included a page with ui:include. And when a button is clicked we want to rerender ui:included page too. Here is parent page;

<h:form id="mainForm">
        ...

14. Using EL to include dynamic values in CSS    stackoverflow.com

I'm using JSF2 and Richfaces 4. I have the following .css file.

.cobrandURL {
    background-image: url("#{resource['testfolder/#{myBean.site1}:mrk_cobrand.jpg']}");
}
This is not working due to the '#{myBean.site1}' part, how can I correctly include the ...

15. richfaces tab and jsp:include problem    coderanch.com