[richfaces-issues] [JBoss JIRA] Closed: (RF-5217) Drag'n'Drop: typeMapping attribute(rich:dropSupport) pass all dndParameters,defined in dropSupport, to indicator, independed of dragType value.

Mikhail Vitenkov (JIRA) jira-events at lists.jboss.org
Tue Dec 30 05:22:54 EST 2008


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

Mikhail Vitenkov closed RF-5217.
--------------------------------



Sample invented by myself
Verified at 3.3.0.CR1

> Drag'n'Drop: typeMapping attribute(rich:dropSupport) pass all dndParameters,defined in dropSupport, to indicator, independed of dragType value.
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: RF-5217
>                 URL: https://jira.jboss.org/jira/browse/RF-5217
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>         Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62(3.3.0BETA2)
>            Reporter: Mikhail Vitenkov
>            Assignee: Mikhail Vitenkov
>         Attachments: typeMappingBug.png
>
>
> #1. Define dragInticator following way:
> <rich:dragIndicator id="indicator" >
> 			<f:facet name="single">
> 				<f:verbatim>
> 					{marker} <b>{dragType1}{dragType2}</b>.					
> 				</f:verbatim>
> 			</f:facet>
> 		</rich:dragIndicator>
> #2. Add two dragSupport with dragType equal to "dragType1" and "dragType2" accordingly and dragIndicator="indicator".
> #3. Add dropSupport with dndParams inside following way:
> <rich:dropSupport acceptedTypes="text2"
> 						typeMapping="{text2:dragType2,text1:dragType1}">						
> 							<rich:dndParam name="dragType1" value="dragType1"></rich:dndParam>
> 							<rich:dndParam name="dragType2" value="dragType2"></rich:dndParam>
> 					</rich:dropSupport>
> #4. Navigate to page.
> #5. Drag elemant with any one dragSupport(#2) to element with dropSupport, defined in #3.
> #6. Verify dragIndicator content.
> Actual behavior:
> Except dragType parameter, defined in typeMapping attribute, all parameters displayed in indicator. For more information see attached typeMappingBug.png

-- 
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

        



More information about the richfaces-issues mailing list