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

Svetlana mukhina updated RF-5219:
---------------------------------

    Component/s: doc
        Affects:   (was: [Documentation (Ref Guide, User Guide, etc.)])


> dropSupport: typeMapping attribute have wrong description.
> ----------------------------------------------------------
>
>                 Key: RF-5219
>                 URL: https://jira.jboss.org/jira/browse/RF-5219
>             Project: RichFaces
>          Issue Type: Bug
>          Components: doc
>    Affects Versions: 3.3.0
>         Environment: 
> \trunk\docs\userguide\en\target\docbook\publish\en-US\html\
>            Reporter: Mikhail Vitenkov
>            Assignee: Alex Tserbo
>             Fix For: 3.3.0
>
>
> Currently displayed following description: Map between a draggable type and 
> an indicator name on zone. it's defined with the pair (drag type:indicator 
> name))
> In truth, typeMapping accept string in JSON 
> format({key1:value1,key2:value2...}), where key is a dragType and value is a 
> parameter, defined in dropSupport, that will be passed to indicator content. 
> IOW typeMapping allows to customize indicator(depend on dragType) through the 
> parameters, defined in dropSupport.
> For example,
> dropSupport:
> <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>
> dragIndicator:
> <rich:dragIndicator id="indicator">
>                       <f:facet name="single">
>                               <f:verbatim>
>                                       {marker} <b>{dragType1}{dragType2}</b>  
>                         
>                               </f:verbatim>
>                       </f:facet>
>               </rich:dragIndicator>
> And two dragSupport with dragType equal to "dragType1" and "dragType2" 
> accordingly.
> So, when you drag element with "dragType1" dragSupport to area with 
> dropSupport, you will see dragType1 in indicator content. The same thing for 
> "dragType2"

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