String page = "wizardToAdhocNodeGroup";
String topnav = "wizards";
try {
AgentDataProvider adp = AgentDataProvider.getInstance();
List<AgentCommandMetadata> agentCommandMetadataList = AgentCommandMetadata
.convertMapToList(adp.getAgentcommandmetadatas());
String agentCommandMetadataListJsonArray = AgentUtils
.toJson(agentCommandMetadataList);
render(page, topnav, agentCommandMetadataListJsonArray