Author: charles.crouch(a)jboss.com
Date: 2008-11-14 16:49:42 -0500 (Fri, 14 Nov 2008)
New Revision: 51
Modified:
trunk/core/src/main/java/org/jboss/on/embedded/ui/configuration/resource/ResourceConfigurationUIBean.java
Log:
add TODO
Modified:
trunk/core/src/main/java/org/jboss/on/embedded/ui/configuration/resource/ResourceConfigurationUIBean.java
===================================================================
---
trunk/core/src/main/java/org/jboss/on/embedded/ui/configuration/resource/ResourceConfigurationUIBean.java 2008-11-14
19:07:14 UTC (rev 50)
+++
trunk/core/src/main/java/org/jboss/on/embedded/ui/configuration/resource/ResourceConfigurationUIBean.java 2008-11-14
21:49:42 UTC (rev 51)
@@ -224,6 +224,10 @@
{
facesMessages.addFromResourceBundle(FacesMessage.SEVERITY_INFO,
"resource.status.create.success", serviceType.getName());
result = Constants.OUTCOME_SUCCESS;
+ // TODO this event should really be passed ancestorResource
+ // that way its much easier to tell associated resources to regenerate
+ // based on the parent, rather than just the serviceType
+ // on 2nd thoughts maybe it should pass both
Events.instance().raiseEvent("resourceCreated", serviceType);
break;
}
Show replies by date