RichFaces Interview Questions and Answers
Ques 6. How to different skins are runtime?
We can define an applications skin with EL expression like this:
Deine a session scoped skinBean and manage its currentSkin property at runtime with your skin names values. Every time a page is rendered, RichFaces will resolve the value in #{skinBean.currentSkin} to get the current skin. Changing Skins should not be done via AJAX but with a full page refresh. A full page refresh will ensure that all CSS links are correctly updated based on the new skin.
Is it helpful?
Add Comment
View Comments
Ques 7. Tell me about a4j:outputPanel and ajaxRendered?
"ajaxRendered" attribute of the <a4j:outputPanel> set to "true" allows to define the area of the page that will be re-rendered even if it is not pointed in the reRender attribute explicitly. It might be useful if you have an area on a page that should be updated as a response on any
Is it helpful?
Add Comment
View Comments
Ques 8. What is limitToList attribute?
"limitToList" attribute allows to dismiss the behavior of the <a4j:outputPanel> "ajaxRendered" attribute.
limitToList = "true" means to update only the area(s) that mentioned in the "reRender" attribute explicitly. All output panels with ajaxRendered="true" is ignored.
Is it helpful?
Add Comment
View Comments
Ques 9. Give some examples of RichFaces Components.
Some components of RichFaces:
<rich:panel><rich:dataTable>
<rich:toolTip>
<rich:modalPanel>
<rich:separator>
<rich:spacer>
<rich:togglePanel>
<rich:tabPanel>
<rich:collapsiblePanel>
<rich:tooltip>
<rich:fileUpload>
<rich:calendar>
<rich:select>
<rich:tree>
Is it helpful?
Add Comment
View Comments
Ques 10. Give some examples of a4j components.
Some examples of a4j components:
- <a4j:commandLink>
- <a4j:commandButton>
- <a4j:outputPanel>
- <a4j:region>
- <a4j:mediaOutput>
- <a4j:queue>
Is it helpful?
Add Comment
View Comments
Most helpful rated by users:
- What is RichFaces?
- What is rich:dataGrid in RichFaces?
- What are the basic configurations of web.xml for Rich Faces?
- What is limitToList attribute?
- What is rich:messages in RichFaces?