Самые популярные вопросы и ответы для интервью и онлайн-тесты
Образовательная платформа для подготовки к интервью, онлайн-тестов, учебных материалов и живой практики

Развивайте навыки с целевыми маршрутами обучения, пробными тестами и контентом для подготовки к интервью.

WithoutBook объединяет вопросы для интервью по предметам, онлайн-практику, учебные материалы и сравнительные руководства в одном удобном учебном пространстве.

Подготовка к интервью

Пробные экзамены

Сделать домашней страницей

Добавить страницу в закладки

Подписаться по адресу эл. почты

RichFaces вопросы и ответы для интервью

Вопрос 21. What is a4j:status in RichFaces?

The a4j:status component is an indicator of an Ajax request. It has two states: start and stop. The start state indicates that an Ajax request is in progress. When an Ajax Response is returned, the component switches to the stop state. Give a loading progress on a ajax call:


<rich:modalPanel id="statusModalPanelId" autosized="true" resizeable="false">

        <h:graphicImage  value="/views/images/loading.gif"/>

        <a4j:status id="statusId" onstop="Richfaces.hideModalPanel('statusModalPanelId');">

                <f:facet name="start"></f:facet>

        </a4j:status>

 </rich:modalPanel>

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 22. What is rich:messages in RichFaces?

rich:messages is an extension for a standard h:messages component. In addition to what the standard component provides, rich:messages:


<rich:messages ajaxRendered="true" />

Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 23. What is rich:dataGrid in RichFaces?

The rich:dataGrid component accepts the same data sources as other iteration components and renders them in a grid format, the same way as the h:PanelGrid component does for in-line data. To define the grid's properties and styles, use the same definitions as for the h:panelGrid component.


<rich:dataGrid value="#{bean.allEmployees}" var="emp" columns="3" elements="9" width="600px" border="0">
      <rich:panel bodyClass="pbody">
       <f:facet name="header">
               <h:outputText value="#{emp.name} #{emp.code}"></h:outputText>
          </f:facet>
          <h:panelGrid columns="2">
               <h:outputText value="Salary:" styleClass="label"></h:outputText>
Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 24. What is rich:tree in RichFaces?

The rich:tree component renders a tree control on the page. The most important tree features include the following:

  • Native support for Ajax operations
  • Support for ajax, client, and server switch types
  • Selection capabilities
  • Flexible look and feel
<rich:tree id="tree" nodeType="#{node.type}" var="node" value="#{bean.rootNodes}" toggleType="client" selectionType="ajax" selectionChangeListener="#{bean.selectionChanged}">
      <rich:treeNode type="country">#{node.name}</rich:treeNode>
      <rich:treeNode type="company" iconExpanded="/images/ctry.gif" iconCollapsed="/images/tree/disc.gif">#{node.name}</rich:treeNode>
      <rich:treeNode type="cd" iconLeaf="/images/tree/cd.gif">
           #{node.artist} - #{node.name} - #{node.year}
</rich:treeNode>
Это полезно? Добавить комментарий Посмотреть комментарии
 

Вопрос 25. What is rich:tooltip in RichFaces?

The rich:tooltip component creates a small non-modal pop-up that can be used to display additional information for nearly anything on the page.


<rich:toolTip id="ttBtnUploadSelectedDoc" for="helpBtnUploadSelectedDocID" layout="block">
        <h:outputLabel styleClass="tooltipSpan">Use this to upload the documents selected for upload and their document properties to the document repository.<p>Shortcut: CTRL+SHIFT+U</p></h:outputLabel>
</rich:toolTip>

Это полезно? Добавить комментарий Посмотреть комментарии
 

Самое полезное по оценкам пользователей:

Авторские права © 2026, WithoutBook.