[ 
https://jira.jboss.org/jira/browse/RF-5380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nick Belaevski updated RF-5380:
-------------------------------

      Component/s: component-drag/drop
    Fix Version/s: 3.3.2.CR1
                       (was: Future)
          Affects: [Documentation (Ref Guide, User Guide, etc.)]
         Assignee: Andrey Markhel  (was: Nick Belaevski)
         Priority: Minor  (was: Major)


> dropSupport: "disableDefault" attribute doesn't work.
> -----------------------------------------------------
>
>                 Key: RF-5380
>                 URL: https://jira.jboss.org/jira/browse/RF-5380
>             Project: RichFaces
>          Issue Type: Bug
>          Components: component-drag/drop
>    Affects Versions: 3.3.0
>         Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0.BETA3)
>            Reporter: Mikhail Vitenkov
>            Assignee: Andrey Markhel
>            Priority: Minor
>             Fix For: 3.3.2.CR1
>
>
> #1. Add dragSupport and dropSupport zones following way:
> <h:panelGrid columns="1" id="panel1">
>                       <h:panelGroup id="column1">
>                               <a4j:outputPanel>
>                                       <rich:dragSupport 
> dragType="dragType1"></rich:dragSupport>
>                                       <h:outputText value="Drag it 1" />      
>                                 
>                               </a4j:outputPanel>
>                       </h:panelGroup>
>               </h:panelGrid>
> <h:panelGrid columns="1" id="panel3">
>                       <h:panelGroup id="column3">
>                               <a4j:outputPanel>
>                                       <rich:dropSupport 
> acceptedTypes="dragType1"></rich:dropSupport>                                 
>                                       <h:outputText value="Drop from 1" />
>                               </a4j:outputPanel>
>                       </h:panelGroup>
>               </h:panelGrid>
> #2. For dropSupport set action="main", where "main" is action navigation to 
> the main page, defined in faces-config.xml
> #3. Set 
> ondrop="window.open('http://www.jboss.org/','_blank','width=200,height=200');"
> #4. Set disableDefault="true".
> #5. Navigate to page and make drag'n'drop content from "panel1" panelGrid to 
> "panel3" panelGrid.(acceptedTypes="dragType1")
> Actual behavior:
> www.jboss.org opens in new window, then "main" navigation action works.
> Try to append by hands "return false;" to the ondrop handler's content and 
> repeat Step #5 - works fine: www.jboss.org opens in new window, current page 
> remains.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to