<bean id="action2Dashboard" class="java.util.HashMap" singleton="true">
<constructor-arg>
<map>
<entry key="/admin/license/installLicense.action">
<value>system:administration_setupsupport.3</value>
</entry>
<entry key="/admin/agent/listAgents.action">
<value>system:administration_agents.5</value>
</entry>
</map>
</constructor-arg>
</bean>
self.dashboards = {
"/admin/license/installLicense.action" : "system:administration_setupsupport.3",
"/admin/agent/listAgents.action" : "system:administration_agents.5"
}
var dashboard = dashboards["/admin/licnese/installLicense.action"];
No comments:
Post a Comment