[richfaces-issues] [JBoss JIRA] Resolved: (RF-358) dragValue not preserved across forms

Nick Belaevski (JIRA) jira-events at lists.jboss.org
Thu Dec 4 14:10:46 EST 2008


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

Nick Belaevski resolved RF-358.
-------------------------------

    Resolution: Done
      Assignee: Tsikhon Kuprevich  (was: Nick Belaevski)


Resolved together with RF-961. Please check all DnD functionality especially drag/drop values and types processing 

> dragValue not preserved across forms
> ------------------------------------
>
>                 Key: RF-358
>                 URL: https://jira.jboss.org/jira/browse/RF-358
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.0.1
>            Reporter: Christian Bauer
>            Assignee: Tsikhon Kuprevich
>            Priority: Minor
>             Fix For: 3.3.0
>
>
>     <h:dataTable id="forumCategories"
>                  value="#{forumCategoryList}" var="forumCategory">
>         <h:column>
>                 <h:form>
>                     <a:outputPanel styleClass="forumCategoryTitleContainer">
>                         <rich:dropSupport id="dropZone" acceptedTypes="forumCategory" reRender="forumCategoryForm"
>                                           dropListener="#{forumCategoryHome.drop}" dropValue="#{forumCategory.displayPosition}"/>
>                         <rich:dragSupport dragIndicator=":boards:rowDragIndicator"
>                                           dragType="forumCategory"
>                                           dragValue="#{forumCategory.displayPosition}">
>                             <rich:dndParam name="label" type="drag"><h:outputText value="#{forumCategory.title}"/></rich:dndParam>
>                         </rich:dragSupport>
>                         <h:outputText value="(#{forumCategory.displayPosition}) #{forumCategory.title}" style="cursor:move" styleClass="forumCategoryTitle"/>
>                     </a:outputPanel>
>                 </h:form>
> This renders a table and enables the rendered text in the column for drag and drop between rows. I can drag one row and drop it onto another row. The goal here is to get the dragValue and the dropValue (which are just row numbers) into the forumCategoryHome.drop(DropEvent) method. However, DropEvent.getDragValue() is always null. 
> It works if I span a single form across the whole table, instead of a new form for each individual row. This is not what I need though.
> I do not want to use manual setting and parsing of Http request parameters with a:actionparam.

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