5 Replies Latest reply on Jul 25, 2011 4:09 PM by henrycoraluriarte

    rich:suggestionbox: fast input leads to exception

    trossmy

      if a user types the input and submits the form very fast, it leads to following exception:
      javax.el.PropertyNotFoundException: /jspx/accountHistory/accountHistoryForm.jspx @20,87 suggestionAction="#{accountHistoryAction.getHistoryContractSuggestions}": Target Unreachable, identifier 'accoun
      tHistoryAction' resolved to null


      with the following xhtml code:

      <h:inputText id="contractNo" value="#{accountHistoryAction.contractNo}"/>
      <rich:suggestionbox for="contractNo" minChars="4"
       suggestionAction="#{accountHistoryAction.getHistoryContractSuggestions}"
       var="contractNo" height="100" width="150">
       <h:column>
       <h:outputText value="#{contractNo}"/>
       </h:column>
       </rich:suggestionbox>


      any suggestions?
      thanx