(RESOLVIDO) Drag-Drop Support

Oie!

Estou tentando exibir ‘OK!’ quando arrasto um componente para uma área permitida, mas não está funcionando :frowning:

Alguém pode me ajudar?

...
                    <rich:dropSupport id="dropSelecionadosEmptyCesta" acceptedTypes="cestaNegocio"
                                      dropValue="#{negocio}"
                                      ajaxSingle="true"
                                      dropListener="#{cotacaoBean.processDrop}" reRender="panelCotacao"
                                      typeMapping="{cestaNegocio: tipoNegocioParam}">
                         <rich:dndParam id="paramDropCestaNeg" name="tipoNegocioParam" value="OK!"/>
                    </rich:dropSupport>
...

Brigaduuu!!

O problema estava no indicator {marker}.

Segue como ficou:

        <rich:dragIndicator id="indicatorGrid">
            <f:facet id="facetIndicator" name="single">
                <h:panelGrid border="1" style="vertical-align: middle; border-style: dashed; border-color: inherit">
                    <f:verbatim>{marker} {nomeTipoNegocio}</f:verbatim>
                </h:panelGrid>
            </f:facet>
        </rich:dragIndicator>

        <rich:dragSupport id="dragCestaNegocio" dragIndicator="formularioMenu:indicatorGrid" dragValue="#{negocio}" dragType="cestaNegocio"  reRender="panelCotacao">
               <rich:dndParam id="paramDragCestaNegocio" name="nomeTipoNegocio" value="#{negocio.tipoNegocio.nome}" />
        </rich:dragSupport>

        <rich:dropSupport id="dropSelecionadosEmptyCesta" acceptedTypes="cestaNegocio" dropValue="#{negocio}"
                                      ajaxSingle="true" dropListener="#{cotacaoBean.processDrop}" reRender="panelCotacao">
             <rich:dndParam name="marker" value="markerValue" />
        </rich:dropSupport>