You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dennis Byrne (JIRA)" <my...@incubator.apache.org> on 2005/07/22 08:04:48 UTC

[jira] Created: (MYFACES-353) @expandAll for x:tree2

@expandAll for x:tree2
----------------------

         Key: MYFACES-353
         URL: http://issues.apache.org/jira/browse/MYFACES-353
     Project: MyFaces
        Type: New Feature
    Versions: Nightly Build    
 Environment: All
    Reporter: Dennis Byrne
    Priority: Minor


Users have asked for an attribute used to expand all nodes when tree2 is first rendered.
http://www.mail-archive.com/users@myfaces.apache.org/msg05166.html .  

I've done this w/ an extension of tree2
http://www.mail-archive.com/users@myfaces.apache.org/msg05796.html

Other users have experienced problems w/ the extension when adding & removing nodes:
http://www.mail-archive.com/users@myfaces.apache.org/msg05884.html 

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


[jira] Updated: (MYFACES-353) [tree2] setExpandAll method for TreeModelBase

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-353?page=all ]

sean schofield updated MYFACES-353:
-----------------------------------

    Summary: [tree2] setExpandAll method for TreeModelBase  (was: @expandAll for x:tree2)

> [tree2] setExpandAll method for TreeModelBase
> ---------------------------------------------
>
>          Key: MYFACES-353
>          URL: http://issues.apache.org/jira/browse/MYFACES-353
>      Project: MyFaces
>         Type: New Feature
>   Components: Tomahawk
>     Versions: Nightly Build
>  Environment: All
>     Reporter: Dennis Byrne
>     Priority: Minor
>  Attachments: share.txt, tomahawk.txt
>
> Users have asked for an attribute used to expand all nodes when tree2 is first rendered.
> http://www.mail-archive.com/users@myfaces.apache.org/msg05166.html .  
> I've done this w/ an extension of tree2
> http://www.mail-archive.com/users@myfaces.apache.org/msg05796.html
> Other users have experienced problems w/ the extension when adding & removing nodes:
> http://www.mail-archive.com/users@myfaces.apache.org/msg05884.html 

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


[jira] Commented: (MYFACES-353) [tree2] setExpandAll method for TreeModelBase

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-353?page=comments#action_12319492 ] 

sean schofield commented on MYFACES-353:
----------------------------------------

Any comments on the latest version.  Going once ... going twice ...

> [tree2] setExpandAll method for TreeModelBase
> ---------------------------------------------
>
>          Key: MYFACES-353
>          URL: http://issues.apache.org/jira/browse/MYFACES-353
>      Project: MyFaces
>         Type: New Feature
>   Components: Tomahawk
>     Versions: Nightly Build
>  Environment: All
>     Reporter: Dennis Byrne
>     Assignee: sean schofield
>     Priority: Minor

>
> Users have asked for an attribute used to expand all nodes when tree2 is first rendered.
> http://www.mail-archive.com/users@myfaces.apache.org/msg05166.html .  
> I've done this w/ an extension of tree2
> http://www.mail-archive.com/users@myfaces.apache.org/msg05796.html
> Other users have experienced problems w/ the extension when adding & removing nodes:
> http://www.mail-archive.com/users@myfaces.apache.org/msg05884.html 

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


[jira] Closed: (MYFACES-353) [tree2] setExpandAll method for TreeModelBase

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-353?page=all ]
     
sean schofield closed MYFACES-353:
----------------------------------

    Resolution: Fixed

The original request was for @expandAll for tree.  I decided to implement this feature by making it part of the new TreeModelBase implementation.  See new simple example for details.

> [tree2] setExpandAll method for TreeModelBase
> ---------------------------------------------
>
>          Key: MYFACES-353
>          URL: http://issues.apache.org/jira/browse/MYFACES-353
>      Project: MyFaces
>         Type: New Feature
>   Components: Tomahawk
>     Versions: Nightly Build
>  Environment: All
>     Reporter: Dennis Byrne
>     Priority: Minor
>  Attachments: share.txt, tomahawk.txt
>
> Users have asked for an attribute used to expand all nodes when tree2 is first rendered.
> http://www.mail-archive.com/users@myfaces.apache.org/msg05166.html .  
> I've done this w/ an extension of tree2
> http://www.mail-archive.com/users@myfaces.apache.org/msg05796.html
> Other users have experienced problems w/ the extension when adding & removing nodes:
> http://www.mail-archive.com/users@myfaces.apache.org/msg05884.html 

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


[jira] Commented: (MYFACES-353) @expandAll for x:tree2

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-353?page=comments#action_12317575 ] 

sean schofield commented on MYFACES-353:
----------------------------------------

I took the first step towards a solution.  I added a TreeModel interface so users can supply their own tree model.  Over time this interface will likely contain methods used to check the expand state, etc.

> @expandAll for x:tree2
> ----------------------
>
>          Key: MYFACES-353
>          URL: http://issues.apache.org/jira/browse/MYFACES-353
>      Project: MyFaces
>         Type: New Feature
>   Components: Tomahawk
>     Versions: Nightly Build
>  Environment: All
>     Reporter: Dennis Byrne
>     Priority: Minor
>  Attachments: share.txt, tomahawk.txt
>
> Users have asked for an attribute used to expand all nodes when tree2 is first rendered.
> http://www.mail-archive.com/users@myfaces.apache.org/msg05166.html .  
> I've done this w/ an extension of tree2
> http://www.mail-archive.com/users@myfaces.apache.org/msg05796.html
> Other users have experienced problems w/ the extension when adding & removing nodes:
> http://www.mail-archive.com/users@myfaces.apache.org/msg05884.html 

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


[jira] Reopened: (MYFACES-353) [tree2] setExpandAll method for TreeModelBase

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-353?page=all ]
     
sean schofield reopened MYFACES-353:
------------------------------------

     Assign To: sean schofield

Reopened b/c the new TreeState patch by Mathias Werlitz has temporarily broken this feature.  Don't worry, it will be fixed again shortly.

> [tree2] setExpandAll method for TreeModelBase
> ---------------------------------------------
>
>          Key: MYFACES-353
>          URL: http://issues.apache.org/jira/browse/MYFACES-353
>      Project: MyFaces
>         Type: New Feature
>   Components: Tomahawk
>     Versions: Nightly Build
>  Environment: All
>     Reporter: Dennis Byrne
>     Assignee: sean schofield
>     Priority: Minor

>
> Users have asked for an attribute used to expand all nodes when tree2 is first rendered.
> http://www.mail-archive.com/users@myfaces.apache.org/msg05166.html .  
> I've done this w/ an extension of tree2
> http://www.mail-archive.com/users@myfaces.apache.org/msg05796.html
> Other users have experienced problems w/ the extension when adding & removing nodes:
> http://www.mail-archive.com/users@myfaces.apache.org/msg05884.html 

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


[jira] Closed: (MYFACES-353) [tree2] setExpandAll method for TreeModelBase

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-353?page=all ]
     
sean schofield closed MYFACES-353:
----------------------------------

    Fix Version: Nightly Build
     Resolution: Fixed

> [tree2] setExpandAll method for TreeModelBase
> ---------------------------------------------
>
>          Key: MYFACES-353
>          URL: http://issues.apache.org/jira/browse/MYFACES-353
>      Project: MyFaces
>         Type: New Feature
>   Components: Tomahawk
>     Versions: Nightly Build
>  Environment: All
>     Reporter: Dennis Byrne
>     Assignee: sean schofield
>     Priority: Minor
>      Fix For: Nightly Build

>
> Users have asked for an attribute used to expand all nodes when tree2 is first rendered.
> http://www.mail-archive.com/users@myfaces.apache.org/msg05166.html .  
> I've done this w/ an extension of tree2
> http://www.mail-archive.com/users@myfaces.apache.org/msg05796.html
> Other users have experienced problems w/ the extension when adding & removing nodes:
> http://www.mail-archive.com/users@myfaces.apache.org/msg05884.html 

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


[jira] Commented: (MYFACES-353) [tree2] setExpandAll method for TreeModelBase

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-353?page=comments#action_12318411 ] 

sean schofield commented on MYFACES-353:
----------------------------------------

Please see latest source code to see if this suits everyone's needs.  It is slightly different in that you need to call expandAll method after tree data has been populated.  I modified the simple examples to show how this could be done with a action method.  Other possibilities include using Shale's prerender method in ViewController.

> [tree2] setExpandAll method for TreeModelBase
> ---------------------------------------------
>
>          Key: MYFACES-353
>          URL: http://issues.apache.org/jira/browse/MYFACES-353
>      Project: MyFaces
>         Type: New Feature
>   Components: Tomahawk
>     Versions: Nightly Build
>  Environment: All
>     Reporter: Dennis Byrne
>     Assignee: sean schofield
>     Priority: Minor

>
> Users have asked for an attribute used to expand all nodes when tree2 is first rendered.
> http://www.mail-archive.com/users@myfaces.apache.org/msg05166.html .  
> I've done this w/ an extension of tree2
> http://www.mail-archive.com/users@myfaces.apache.org/msg05796.html
> Other users have experienced problems w/ the extension when adding & removing nodes:
> http://www.mail-archive.com/users@myfaces.apache.org/msg05884.html 

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


[jira] Updated: (MYFACES-353) @expandAll for x:tree2

Posted by "Dennis Byrne (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-353?page=all ]

Dennis Byrne updated MYFACES-353:
---------------------------------

    Attachment: share.txt
                tomahawk.txt

Can the powers that be please review this?

Attaching seperate patch files for share and tomahawk dirs.

> @expandAll for x:tree2
> ----------------------
>
>          Key: MYFACES-353
>          URL: http://issues.apache.org/jira/browse/MYFACES-353
>      Project: MyFaces
>         Type: New Feature
>     Versions: Nightly Build
>  Environment: All
>     Reporter: Dennis Byrne
>     Priority: Minor
>  Attachments: share.txt, tomahawk.txt
>
> Users have asked for an attribute used to expand all nodes when tree2 is first rendered.
> http://www.mail-archive.com/users@myfaces.apache.org/msg05166.html .  
> I've done this w/ an extension of tree2
> http://www.mail-archive.com/users@myfaces.apache.org/msg05796.html
> Other users have experienced problems w/ the extension when adding & removing nodes:
> http://www.mail-archive.com/users@myfaces.apache.org/msg05884.html 

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


[jira] Updated: (MYFACES-353) @expandAll for x:tree2

Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/MYFACES-353?page=all ]

sean schofield updated MYFACES-353:
-----------------------------------

    Component: Tomahawk

> @expandAll for x:tree2
> ----------------------
>
>          Key: MYFACES-353
>          URL: http://issues.apache.org/jira/browse/MYFACES-353
>      Project: MyFaces
>         Type: New Feature
>   Components: Tomahawk
>     Versions: Nightly Build
>  Environment: All
>     Reporter: Dennis Byrne
>     Priority: Minor
>  Attachments: share.txt, tomahawk.txt
>
> Users have asked for an attribute used to expand all nodes when tree2 is first rendered.
> http://www.mail-archive.com/users@myfaces.apache.org/msg05166.html .  
> I've done this w/ an extension of tree2
> http://www.mail-archive.com/users@myfaces.apache.org/msg05796.html
> Other users have experienced problems w/ the extension when adding & removing nodes:
> http://www.mail-archive.com/users@myfaces.apache.org/msg05884.html 

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