Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-1625

dragIndicator does not show when dragSupport and dropSupport are located in a modalPanel

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 3.1.2
    • Fix Version/s: 3.1.4, 3.2.0
    • Component/s: None
    • Labels:
      None
    • Environment:

      Jboss 4.2.2, Myfaces 1.1.5

      Description

      I have drag drop on a modal panel. The dragindicator does not show up, and the empty indicator shows behind the current panel. It seems that this happens in both Firefox and IE.

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            sergeyhalipov Sergey Halipov added a comment -

            Done in trunk. Committed revision 4972.

            Show
            sergeyhalipov Sergey Halipov added a comment - Done in trunk. Committed revision 4972.
            Hide
            sergeyhalipov Sergey Halipov added a comment -

            Committed revision 5015.

            Show
            sergeyhalipov Sergey Halipov added a comment - Committed revision 5015.
            Hide
            ilya_shaikovsky Ilya Shaikovsky added a comment -

            Still reproduced for me.

            <ui:define name="body">
            <rich:modalPanel id="panel" showWhenRendered="true" autosized="true">
            <h:form id="form">
            <rich:dataTable value="#

            {capitalsBean.capitals}

            " var="cap" rows="10" id="table" onRowMouseOver="this.style.backgroundColor='#000000'" onRowMouseOut="this.style.backgroundColor='#

            {a4jSkin.tableBackgroundColor}

            '">
            <rich:column width="600">
            <f:facet name="header">
            <h:outputText value="flag"></h:outputText>
            </f:facet>
            <a4j:outputPanel>
            <rich:dragSupport dragType="state" dragValue="#

            {cap.state}">
            <rich:dndParam name="marker">
            <h:graphicImage value="#{cap.stateFlag}"></h:graphicImage>
            </rich:dndParam>
            <rich:dndParam name="label" value="TEST"></rich:dndParam>
            </rich:dragSupport>
            <h:graphicImage value="#{cap.stateFlag}">
            </h:graphicImage>
            </a4j:outputPanel>
            </rich:column>
            <rich:column onmouseover="this.style.backgroundColor='#880000'"
            onmouseout="this.style.backgroundColor=''">
            <f:facet name="header">
            <h:outputText value="state"></h:outputText>
            </f:facet>
            <h:outputText value="#{cap.state}

            "></h:outputText>
            </rich:column>
            <rich:column>
            <h:outputText value="#

            {cap.name}

            "></h:outputText>
            </rich:column>
            <rich:column>
            <h:commandButton value="Button" disabled="#

            {cap.checked}" id="button"></h:commandButton>
            </rich:column>
            <rich:column>
            <h:selectBooleanCheckbox value="#{cap.checked}

            ">
            <a4j:support event="onchange" reRender="button">
            <a4j:ajaxListener type="org.ajax4jsf.ajax.ForceRender"></a4j:ajaxListener>
            </a4j:support>
            </h:selectBooleanCheckbox>
            </rich:column>
            <f:facet name="footer">
            <rich:datascroller/>
            </f:facet>
            </rich:dataTable>
            <rich:panel style="width:300px; height:200px;">
            <rich:dropSupport id="drop" acceptedTypes="state" dropListener="#

            {capitalsBean.addCapital2}

            "></rich:dropSupport>
            <h:outputText value="Drop Here" id="droppanel">
            </h:outputText>
            </rich:panel>
            </h:form>
            </rich:modalPanel>
            </ui:define>

            Show
            ilya_shaikovsky Ilya Shaikovsky added a comment - Still reproduced for me. <ui:define name="body"> <rich:modalPanel id="panel" showWhenRendered="true" autosized="true"> <h:form id="form"> <rich:dataTable value="# {capitalsBean.capitals} " var="cap" rows="10" id="table" onRowMouseOver="this.style.backgroundColor='#000000'" onRowMouseOut="this.style.backgroundColor='# {a4jSkin.tableBackgroundColor} '"> <rich:column width="600"> <f:facet name="header"> <h:outputText value="flag"></h:outputText> </f:facet> <a4j:outputPanel> <rich:dragSupport dragType="state" dragValue="# {cap.state}"> <rich:dndParam name="marker"> <h:graphicImage value="#{cap.stateFlag}"></h:graphicImage> </rich:dndParam> <rich:dndParam name="label" value="TEST"></rich:dndParam> </rich:dragSupport> <h:graphicImage value="#{cap.stateFlag}"> </h:graphicImage> </a4j:outputPanel> </rich:column> <rich:column onmouseover="this.style.backgroundColor='#880000'" onmouseout="this.style.backgroundColor=''"> <f:facet name="header"> <h:outputText value="state"></h:outputText> </f:facet> <h:outputText value="#{cap.state} "></h:outputText> </rich:column> <rich:column> <h:outputText value="# {cap.name} "></h:outputText> </rich:column> <rich:column> <h:commandButton value="Button" disabled="# {cap.checked}" id="button"></h:commandButton> </rich:column> <rich:column> <h:selectBooleanCheckbox value="#{cap.checked} "> <a4j:support event="onchange" reRender="button"> <a4j:ajaxListener type="org.ajax4jsf.ajax.ForceRender"></a4j:ajaxListener> </a4j:support> </h:selectBooleanCheckbox> </rich:column> <f:facet name="footer"> <rich:datascroller/> </f:facet> </rich:dataTable> <rich:panel style="width:300px; height:200px;"> <rich:dropSupport id="drop" acceptedTypes="state" dropListener="# {capitalsBean.addCapital2} "></rich:dropSupport> <h:outputText value="Drop Here" id="droppanel"> </h:outputText> </rich:panel> </h:form> </rich:modalPanel> </ui:define>
            Hide
            sergeyhalipov Sergey Halipov added a comment -

            Committed revision 5461

            Show
            sergeyhalipov Sergey Halipov added a comment - Committed revision 5461
            Hide
            ilya_shaikovsky Ilya Shaikovsky added a comment -

            merge with branch please.

            Show
            ilya_shaikovsky Ilya Shaikovsky added a comment - merge with branch please.
            Hide
            sergeyhalipov Sergey Halipov added a comment -

            Committed revision 5497.

            Show
            sergeyhalipov Sergey Halipov added a comment - Committed revision 5497.

              People

              • Assignee:
                afrancuzov Alexander Francuzov
                Reporter:
                biggerschwarz patrick schwarz
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development