[richfaces-issues] [JBoss JIRA] Updated: (RF-2996) reRender doens't work after Drag'n'Drop on tree component

Cristiano Moraes (JIRA) jira-events at lists.jboss.org
Mon Apr 7 12:35:31 EDT 2008


     [ http://jira.jboss.com/jira/browse/RF-2996?page=all ]

Cristiano Moraes updated RF-2996:
---------------------------------

    Environment: WinXP; Tomcat 6.0.16; JSF 1.2 (mojarra 1.2_08); JDK 1.6.0_04  (was: OS WinXP
Server Tomcat 6)
    Description: 
I developed a simple test application, just to try the drag'n'drop tree funcionality. The source code will be attached.

The behavior that I have after is the follow:

Assuming: (F) Folder Icon and (S) Sheet Icon

Initial state of my tree:

(F) Autos
       (S) regular
       (S) race
       (S) F1
(F) Aviation
       (S) Militar
       (S) Civil
       (S) One engine
       (S) Two engines

If I move from folder Autos do folder Aviation I have this:

(F) Autos
       (S) regular
       (S) race  <-- dont go away
       (S) F1
(F) Aviation
       (S) Militar
       (S) Civil
       (S) One engine
       (S) Two engines
       (S) race   <-- moved one

If I move from folder Aviation to Autos I have this:

(F) Autos <- Nothing happens for this folder
       (S) regular
       (S) race
       (S) F1
(F) Aviation
       (S) Militar
       (S) Civil
       (F) Aviation  <- Here I had 'One engine'. Now is a new Aviation folder
       (S) Two engines

If I add a button and set its reRender attribute to an a4j:outputPanel id with the tree tags inside, after click, the tree is properly presented. Browser refresh button has the same effect.

Hints from forum like set reRender attributes of tree or treeNode to outputPanel id doesn't work.

> reRender doens't work after Drag'n'Drop on tree component
> ---------------------------------------------------------
>
>                 Key: RF-2996
>                 URL: http://jira.jboss.com/jira/browse/RF-2996
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.2.0
>         Environment: WinXP; Tomcat 6.0.16; JSF 1.2 (mojarra 1.2_08); JDK 1.6.0_04
>            Reporter: Cristiano Moraes
>
> I developed a simple test application, just to try the drag'n'drop tree funcionality. The source code will be attached.
> The behavior that I have after is the follow:
> Assuming: (F) Folder Icon and (S) Sheet Icon
> Initial state of my tree:
> (F) Autos
>        (S) regular
>        (S) race
>        (S) F1
> (F) Aviation
>        (S) Militar
>        (S) Civil
>        (S) One engine
>        (S) Two engines
> If I move from folder Autos do folder Aviation I have this:
> (F) Autos
>        (S) regular
>        (S) race  <-- dont go away
>        (S) F1
> (F) Aviation
>        (S) Militar
>        (S) Civil
>        (S) One engine
>        (S) Two engines
>        (S) race   <-- moved one
> If I move from folder Aviation to Autos I have this:
> (F) Autos <- Nothing happens for this folder
>        (S) regular
>        (S) race
>        (S) F1
> (F) Aviation
>        (S) Militar
>        (S) Civil
>        (F) Aviation  <- Here I had 'One engine'. Now is a new Aviation folder
>        (S) Two engines
> If I add a button and set its reRender attribute to an a4j:outputPanel id with the tree tags inside, after click, the tree is properly presented. Browser refresh button has the same effect.
> Hints from forum like set reRender attributes of tree or treeNode to outputPanel id doesn't work.

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

        



More information about the richfaces-issues mailing list