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

    Problem with Morph.Effect and suggestionbox

    Benjamin Folda Newbie

      Hi there

      following code gives a error

      <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" />
      <rich:suggestionbox id="suggestionBoxId" minChars="3" for="inputID"
       width="150" height="150">
       <h:outputText value="#{result}" />

      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.