first pass at edit form wizard

- modified evaluators to only show Create Form when in the Content Forms directory
- edit form evaluator which only shows the edit form action when inside of a form directory


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@4627 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Ariel Backenroth
2006-12-17 01:30:11 +00:00
parent d318fea7a9
commit 3175254cb4
12 changed files with 530 additions and 131 deletions

View File

@@ -255,7 +255,7 @@ public class SchemaFormBuilder
final ResourceBundle resourceBundle)
throws FormBuilderException
{
final XSModel schema = SchemaUtil.loadSchema(schemaDocument);
final XSModel schema = SchemaUtil.parseSchema(schemaDocument);
this.typeTree = SchemaUtil.buildTypeTree(schema);
//refCounter = 0;

View File

@@ -202,7 +202,7 @@ public class SchemaUtil
return SchemaUtil.DATA_TYPE_TO_NAME.get(type);
}
public static XSModel loadSchema(final Document schemaDocument)
public static XSModel parseSchema(final Document schemaDocument)
throws FormBuilderException
{
try