2 Replies Latest reply on May 5, 2009 5:00 PM by judy guglielmin

    Icefaces

    Sonia Di Giuseppe Newbie
      Good morning to everyone!
      I have this jsp and I can't display the ice components.
      I must configure ICEfaces ( web.xml, face-config.xml, ice*.jar )?

      <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <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:s="http://jboss.com/products/seam/taglib"
           xmlns:ice="http://www.icesoft.com/icefaces/component"
           template="template/templateWithoutSidebar.xhtml">

      ....

                          
           <h:form id="tableHistoryForm">          
                          
           <ice:dataTable id="tableHistory"
           var="history"
           value="#{clientHistoryList}"
           resizable="true"
           rows="25"
           rendered="#{clientHistoryList.rowCount!=0}">
           <ice:column>
                <f:facet name="header">
                #{messages.history_timestamp}
                </f:facet>
                 <ice:outputText value="#{history.timestamp}"/>
           </ice:column>
                             
           <ice:column>
                <f:facet name="header">
                 #{messages.history_state}
                </f:facet>
                   <ice:outputText value="#{history.vsmClientStateBO.description}"/>
           </ice:column>

           </ice:dataTable>
                     
                         <ice:panelGroup style="left;width:420px;">
                          <center>
                          <ice:paginator id="tblListPager"
                          rendered="#{not empty clientHistoryList}"
                          for="tableHistory"
                          fastStep="3"
                          paginator="true"
                          paginatorMaxPages="4">
                          <f:facet name="first">
                               <ice:graphicImage id="firstpage_1" value="view/img/arrow-first.gif" style="border:none;" title="First"/>
                          </f:facet>
                          <f:facet name="last">
                               <ice:graphicImage id="lastpage_1" value="view/img/arrow-last.gif" style="border:none;" title="Last"/>
                          </f:facet>
                          <f:facet name="previous">
                               <ice:graphicImage id="previouspage_1" value="view/img/arrow-previous.gif" style="border:none;" title="Previous"/>
                            </f:facet>
                            <f:facet name="next">
                          <h:graphicImage id="nextpage_1" value="view/img/arrow-next.gif" style="border:none;" title="Next"/>
                            </f:facet>
                            <f:facet name="fastforward">
                               <ice:graphicImage id="fastforward_1" value="view/img/arrow-ff.gif" style="border:none;" title="Fast Forward"/>
                          </f:facet>
                          <f:facet name="fastrewind">
                               <ice:graphicImage id="fastrewind_1" value="view/img/arrow-fr.gif" style="border:none;" title="Fast Reverse"/>
                          </f:facet>
                     </ice:paginator>
                     
                     </center>
                        
                 </ice:panelGroup>
               </h:form>
              
                </div>
                <div class="section">
                     <h:form id="history">
                          <fieldset class="buttonBox">
                               <h:commandButton id="cancel" action="#{searchClientHistory.cancel}"
                                    value="Indietro" />
                          </fieldset>
                     </h:form>
                </div>
           </ui:define>
      </ui:composition>