[richfaces-issues] [JBoss JIRA] Commented: (RF-5219) dropSupport: typeMapping attribute have wrong description.
Alex Tserbo (JIRA)
jira-events at lists.jboss.org
Fri Dec 12 06:54:36 EST 2008
[ https://jira.jboss.org/jira/browse/RF-5219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12442301#action_12442301 ]
Alex Tserbo commented on RF-5219:
---------------------------------
The attribute description and related paragraph in "Details of Usage" were updated.
Paragraph describing "acceptedTypes" attribute was updated with image and code snippet.
> dropSupport: typeMapping attribute have wrong description.
> ----------------------------------------------------------
>
> Key: RF-5219
> URL: https://jira.jboss.org/jira/browse/RF-5219
> Project: RichFaces
> Issue Type: Bug
> 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
More information about the richfaces-issues
mailing list