[embjopr-issues] [JBoss JIRA] Moved: (EMBJOPR-55) Rebuild content behind navigation nodes using InventoryEventListener

Charles Crouch (JIRA) jira-events at lists.jboss.org
Fri Dec 12 18:29:41 EST 2008


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

Charles Crouch moved JBMANCON-442 to EMBJOPR-55:
------------------------------------------------

          Project: Embedded Jopr  (was: JBoss AS 5.0 Management Console)
              Key: EMBJOPR-55  (was: JBMANCON-442)
    Fix Version/s: 1.1
                       (was: 1.1)


> Rebuild content behind navigation nodes using InventoryEventListener
> --------------------------------------------------------------------
>
>                 Key: EMBJOPR-55
>                 URL: https://jira.jboss.org/jira/browse/EMBJOPR-55
>             Project: Embedded Jopr
>          Issue Type: Bug
>            Reporter: Charles Crouch
>             Fix For: 1.1
>
>
> Right now we rebuild the content behind a node in the navigation using the following method on NavigationAction
>    public void changeExpandListener(org.richfaces.event.NodeExpandedEvent event) {
>     	UIComponent comp = event.getComponent();
>     	UITree tree = (UITree) comp;
>     	JONTreeNode data = (JONTreeNode) (tree.getTreeNode().getData());
>     	
>     	data.reInitializeChildrenMap();
>     }
> This isnt great because it requires the user to close/open the node inorder to have its children refreshed to match whats in the PC. This is problematic when resources are deployed/undeployed directly to the filesystem, see JBMANCON-419. An alternative would be to use an implementation of InventoryEventListener to listen to resource added events from the PC and then behind the scenes rebuild the appropriate Nodes. For this to work a bug will need to be fixed in the RuntimeDiscoveryExecutor which is causing resourceAdd events to get fired for every discovery.

-- 
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 embjopr-issues mailing list