HR);
List<Page> touchPages = new ArrayList<Page>();
List<Page> extPages = new ArrayList<Page>();
for (String pageName : webapp.getPages().keySet()) {
Page page = webapp.getPages().get(pageName);
if (page.getFrameworkType().equals(JavaScriptFramework.SENCHA_TOUCH)) {
touchPages.add(page);
} else {
extPages.add(page);
}
}
System.out.println(CR + "ExtJS Pages" + CR + HR);
if (extPages.size() > 0) {
for (Page page : extPages)
System.out.println(page.getNamespace() + " (" + page.getPath() + ")");
} else {
System.out.println("No ExtJS Pages Configured");
}
System.out.println(HR);
System.out.println(CR + "Sencha Touch Pages" + CR + HR);
if (touchPages.size() > 0) {
for (Page page : touchPages)
System.out.println(page.getNamespace() + " (" + page.getPath() + ")");
} else {
System.out.println("No Sencha Touch Pages Configured");
}
System.out.println(HR);