mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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;
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user