ICEfaces
  1. ICEfaces
  2. ICE-11062

ICE:Ajax is not being executed Gives an error on it

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Local
    • Support Case References:
      Hide
      Exception :
      /xhtml/actualPickupSearch.xhtml @137,64 <ice:ajax> Tag Library supports namespace: http://www.icesoft.com/icefaces/component, but no tag was defined for name: ajax



      I used

                                                      <ice:dataTable id="dataTable" cellpadding="0" cellspacing="0"
                                                             value="#{actualPickupBean.results}" var="pickup"
                                                             first="#{actualPickupBean.startPage}"
                                                             headerClass="HeaderClass1, HeaderClass2"
                                                             styleClass="searchResults"
                                                             columnClasses="actualDetails, actualType, actualShipperNumber, actualName, actualContact, actualPhone, actualAddress, actualZip, actualReady, actualClose, actualAssignedWorkArea, actualPickupTime, actualPackages, actualResCode"
                                                             headerClasses="actualDetails, actualType, actualShipperNumber, actualName, actualContact, actualPhone, actualAddress, actualZip, actualReady, actualClose, actualAssignedWorkArea, actualPickupTime, actualPackages, actualResCode"
                                                             rows="10"
                                                             page="#{actualPickupBean.startPage}"
                                                             style="width: 100%;">
                                                             <ice:ajax event="page" render="@all" execute="@this" />
                                                             </ice:dataTable>


      Giving me error , I see IceFaces demo is using ICE refred to Components “xmlns:ice=http://www.icesoft.com/icefaces/component
      Show
      Exception : /xhtml/actualPickupSearch.xhtml @137,64 <ice:ajax> Tag Library supports namespace: http://www.icesoft.com/icefaces/component, but no tag was defined for name: ajax I used                                                 <ice:dataTable id="dataTable" cellpadding="0" cellspacing="0"                                                        value="#{actualPickupBean.results}" var="pickup"                                                        first="#{actualPickupBean.startPage}"                                                        headerClass="HeaderClass1, HeaderClass2"                                                        styleClass="searchResults"                                                        columnClasses="actualDetails, actualType, actualShipperNumber, actualName, actualContact, actualPhone, actualAddress, actualZip, actualReady, actualClose, actualAssignedWorkArea, actualPickupTime, actualPackages, actualResCode"                                                        headerClasses="actualDetails, actualType, actualShipperNumber, actualName, actualContact, actualPhone, actualAddress, actualZip, actualReady, actualClose, actualAssignedWorkArea, actualPickupTime, actualPackages, actualResCode"                                                        rows="10"                                                        page="#{actualPickupBean.startPage}"                                                        style="width: 100%;">                                                        <ice:ajax event="page" render="@all" execute="@this" />                                                        </ice:dataTable> Giving me error , I see IceFaces demo is using ICE refred to Components “xmlns:ice= http://www.icesoft.com/icefaces/component

      Description

      I tried setting this page using ajax but it gives me error saying http://www.icesoft.com/icefaces/component, but no tag was defined for name: ajax

      but I see that the Icefaces demo useses

      <ace:dataTable id="carTable"
                                value="#{dataTablePaginator.carsData}"
                                var="car"
                                paginator="#{dataTablePaginator.paginator}"
                                paginatorPosition="#{dataTablePaginator.position}"
                                paginatorTemplate="{FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown} {CurrentPageReport}"
                                rowsPerPageTemplate="5,10,15,all"
                                page="#{dataTablePaginator.startPage}"
                                rows="#{dataTablePaginator.rows}">
                      <ace:ajax event="page" render="@form" execute="@this" />

      where ACE is pointing to

      xmlns:ace="http://www.icefaces.org/icefaces/components" only

        Activity

        Hide
        Ken Fyten added a comment -

        You must use the ACE datatable in order to use the ace:ajax with it.

        The older ICE datatable does not support an ajax subcomponent, but instead uses the singleSubmit attribute.

        The namespace for the ACE components is:

        xmlns:ace="http://www.icefaces.org/icefaces/components" 

        The namespace for the older ICE components is:

        xmlns:ice="http://www.icesoft.com/icefaces/component">

        Closed as Invalid.

        Show
        Ken Fyten added a comment - You must use the ACE datatable in order to use the ace:ajax with it. The older ICE datatable does not support an ajax subcomponent, but instead uses the singleSubmit attribute. The namespace for the ACE components is: xmlns:ace= "http: //www.icefaces.org/icefaces/components" The namespace for the older ICE components is: xmlns:ice= "http: //www.icesoft.com/icefaces/component" > Closed as Invalid.

          People

          • Assignee:
            Unassigned
            Reporter:
            Jetty Kishore Babu
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: