4 Replies Latest reply on Jul 26, 2007 6:56 PM by blackers

    Drag and Drop to h:inputText


      I have drop support set inside a h:inputText field in Seam as follows.

      <h:inputText id="customerState" size="20" maxlength="50" value="#{customerHome.instance.customerState}">
       <rich:dropSupport acceptedTypes="state" id="state" dropValue="state" dropListener="#{customerHome.dragged}" reRender="spanState"/>

      In Jboss Seam 1.2.GA this would work fine, but now that I have moved to Jboss Seam 2.0.B1 I am getting an error before the page load in a javascript popup box saying

      drop: Element with [customer:customerState] ID was not found in the DOM tree. Probably element has no Client ID or Client ID hasn't been written. DnD's disabled. Check Please.

      Seam 2.0B1 is using ajax4jsf-1.1.1.jar and Seam 1.2.GA is using ajax4jsf-1.1.1-SNAPSHOT.jar has anybody else came across this problem? As I say it used to work fine in 1.2.GA. I have had to attach the rich:dropSupport to a:outputPanel for it to work in 2.0B1