2 Replies Latest reply on Oct 29, 2008 5:11 AM by misterrich

    Problem with Morph.Effect and suggestionbox

    misterrich

      Hi there

      following code gives a error

      <div>
      
      <h:inputText id="inputID" value="#{myValue}" >
       <rich:effect event="onfocus" type="Morph" params="border:solid 1px #639C18;',duration:0.5" />
       <rich:effect event="onblur" type="Morph" params="border:solid 1px #999999;',duration:0.5" />
      </h:inputText>
      
      <rich:suggestionbox id="suggestionBoxId" minChars="3" for="inputID"
       tokens=",[]"
       suggestionAction="#{bean.suggest}"
       var="result"
       width="150" height="150">
       <h:column>
       <h:outputText value="#{result}" />
       </h:column>
      </rich:suggestionbox>
      
      </div>
      



      Error is:

      Effect[pm.type] is not a constructor
      source: http://localhost:7001/MyProject/a4j_3_1_5.GAorg/richfaces/renderkit/html/script/processEffect.js.xhtml
      Line: 3


      Strangly the error appears only in two of three cases though using the exactly same code.

      I'd be deeply grateful if anyone has an idea.