public WOComponent dumpRulesAction() {
WOComponent nextPage = pageWithName("ERXStringHolder");
String string = "Please a provide fileName parameter";
String fileName = context().request().stringFormValueForKey("fileName");
if(fileName != null) {
ERD2WRuleEditorModel model = new ERD2WRuleEditorModel(new File(fileName));
string = ((NSArray)model.publicRules().valueForKeyPath("description.@sort.toString")).componentsJoinedByString("\n");
}
nextPage.takeValueForKey(string, "value");
nextPage.takeValueForKey(Boolean.FALSE, "escapeHTML");
return nextPage;
}