1 Reply Latest reply on Feb 8, 2010 7:50 AM by ilya_shaikovsky

    rich:inplaceInput and rich:suggestionbox

      Hi,

       

      I have a problem combining rich:inplaceInput and rich:suggestionBox.

       

      Using the code below, i get

       

      Error: this.element.value is undefined
      Source: http://localhost:8080/planner/a4j/g/3_3_2.SR1scripts/suggestionbox.js
      Line: 100

      (Firefox 3.5.7)

       

      <rich:inplaceInput id="input_ware"/>
      <rich:suggestionbox width="600"
        suggestionAction="#{purchaseWareHome.suggest}" var="ware"
        nothingLabel="No records"
        for="input_ware" id="suggest_ware">
        <h:column>
          <f:facet name="header">
            <h:outputText value="Ean"/>
          </f:facet>
          <h:outputText value="#{ware.ean}" />
        </h:column>
        <h:column>
          <f:facet name="header">
            <h:outputText value="Ref"/>
          </f:facet>
          <h:outputText value="#{ware.ref}" />
        </h:column>
        <h:column>
          <f:facet name="header">
            <h:outputText value="Brand"/>
          </f:facet>
          <h:outputText value="#{ware.brand}" />
        </h:column>
        <a4j:support event="onselect" reRender="ware_list" ajaxSingle="true">
          <f:setPropertyActionListener value="{ware}" target="{purchaseWareHome.addWare}" />
        </a4j:support>
      </rich:suggestionbox>

      Is there any workaround to overcome this issue?