2 Replies Latest reply on Mar 27, 2013 6:43 AM by oliver ressler

    rich:popupPanel and rich:dragSource/rich:dragIndicator

    oliver ressler Newbie


      I'm new here and hope this is the right place to put my question.


      First of all - Thanx for this great work. Every day I'm happy with this powerful and easy to use toolset - Thank You !


      My problem:

      If i create a drag drop area in a simple view everything works fine. I can see the dragIndicator (if i use one) or the labeled item moving around.

      If i put the same area into an rich:popupPanel the process itself works also fine, but i cant see anything moving around ( with or without dragIndicator)



         <a4j:commandButton value="Aus Archiv wählen">
                         <rich:componentControl target="archivsuchepanel" operation="show"
                             event="click" />
      <rich:popupPanel modal="true"  id="archivsuchepanel" width="1310" height="740" styleClass="cursor">
         <rich:dragIndicator id="ind" acceptClass="accept" rejectClass="reject" draggingClass="default">
             Drag the item to proper area..
                 <h:panelGrid columns="2" width="100%"
                    <rich:panel style="width: 520px; height: 670px; overflow: auto;">
                                         var="a" width="100%">
                                         <rich:column width="80px">
                                            <f:facet name="header">
                                                 <h:outputText value="Datum" />
                                             <a4j:outputPanel layout="block" styleClass="rf-ind-drag">
                                                <rich:dragSource dragValue="#{a}" type="a" dragIndicator="ind" >
                                                     <h:outputText value="#{a.createdate}">
                                                         <f:convertDateTime pattern="dd.MM.yyyy" />
                     <rich:panel styleClass="dropTargetPanel"
                         style="width: 620px; height: 670px; overflow: auto;">
                        <rich:dropTarget dropListener="#{xxxxxxxxxxxxxxxxxxxx}"
                             dropValue="OK" acceptedTypes="a"
                             render="aseltable, src, obverarcps" />
                         <rich:extendedDataTable value="#{vertragdata.obverp.obverarcp}"
                            var="obverarcp" height="640px" width="600px" id="aseltable" >
                             <rich:column >                      
                          <h:outputText    value="#{zzzzzzzzzz}"  />
          <a4j:outputPanel ajaxRendered="true">




      Btw. All styles etc. are defined !

      I testet it with
      Richfaces 4.3.1. and Richfaces 4.2.3.


      I already googled this issue and searched the forum, but could'nt find anything.


      Pls help !


      thx oliver