The following issue has been updated:

    Updater: Jeremy Ford (mailto:[EMAIL PROTECTED])
       Date: Wed, 14 Jul 2004 7:53 PM
    Comment:
This method is fine.  Please attach other patchesif you wish.  Thanks.
    Changes:
             assignee changed from Jetspeed Developer Mailing List
             description changed from We have added sorting to several Admin portlets 
such as UserRoleUpdateAction. 
Is this the correct place to submit an enhancement? Is there a way to upload 
the entire class or should we just paste in the changed code?

This is from the procedure buildUserRoleContext 
        while(roles.hasNext())
        {
                        masterRoles.add(roles.next());
        }
                masterRoles.trimToSize();
                // Now sort the roles here
                Collections.sort(masterRoles, new Comparator()
                {
                        public int compare(Object o1, Object o2)
                        {
                                Role role = (Role) o1;
                                String s1 = role.getName().toUpperCase();
                                role = (Role) o2;
                                String s2 = role.getName().toUpperCase();
                                return s1.compareTo(s2);
                        }
                });


                
        roles = masterRoles.iterator();

If I'm off base here, would someone kindly let me know? 

Thanks to We have added sorting to several Admin portlets such as 
UserRoleUpdateAction. 
Is this the correct place to submit an enhancement? Is there a way to upload 
the entire class or should we just paste in the changed code?

This is from the procedure buildUserRoleContext 
        while(roles.hasNext())
        {
                        masterRoles.add(roles.next());
        }
                masterRoles.trimToSize();
                // Now sort the roles here
                Collections.sort(masterRoles, new Comparator()
                {
                        public int compare(Object o1, Object o2)
                        {
                                Role role = (Role) o1;
                                String s1 = role.getName().toUpperCase();
                                role = (Role) o2;
                                String s2 = role.getName().toUpperCase();
                                return s1.compareTo(s2);
                        }
                });


                
        roles = masterRoles.iterator();

If I'm off base here, would someone kindly let me know? 

Thanks
             environment changed from Operating System: All
Platform: All to Operating System: All
Platform: All
             priority changed to Blocker
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/JS1-450?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JS1-450

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JS1-450
    Summary: [ENH] Add Sorting to UserRoleUpdateAction
       Type: Bug

     Status: Unassigned
   Priority: Blocker

    Project: Jetspeed
 Components: 
             Miscellaneous
   Versions:
             1.4

   Assignee: 
   Reporter: Bob Fleischman

    Created: Tue, 23 Mar 2004 4:52 PM
    Updated: Wed, 14 Jul 2004 7:53 PM
Environment: Operating System: All
Platform: All

Description:
We have added sorting to several Admin portlets such as UserRoleUpdateAction. 
Is this the correct place to submit an enhancement? Is there a way to upload 
the entire class or should we just paste in the changed code?

This is from the procedure buildUserRoleContext 
        while(roles.hasNext())
        {
                        masterRoles.add(roles.next());
        }
                masterRoles.trimToSize();
                // Now sort the roles here
                Collections.sort(masterRoles, new Comparator()
                {
                        public int compare(Object o1, Object o2)
                        {
                                Role role = (Role) o1;
                                String s1 = role.getName().toUpperCase();
                                role = (Role) o2;
                                String s2 = role.getName().toUpperCase();
                                return s1.compareTo(s2);
                        }
                });


                
        roles = masterRoles.iterator();

If I'm off base here, would someone kindly let me know? 

Thanks


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to