refactor(config): refine file browser path resolution and clean up test scripts
- Finalized the resolvePath logic in DynFormConfigurable to ensure strict project-root orientation. - Cleaned up temporary test scripts and agent artifacts. - Included minor updates to resource examples.
This commit is contained in:
@@ -111,7 +111,8 @@ public class DynFormConfigurable implements Configurable {
|
||||
}
|
||||
}
|
||||
}
|
||||
}.withRoots(projectDir);
|
||||
};
|
||||
if (projectDir != null) xmlDescriptor.withRoots(projectDir);
|
||||
|
||||
i18nMessageFileField.addBrowseFolderListener("Select Message XML File", "Select the main message bundle XML file (within project)",
|
||||
project, xmlDescriptor, new TextComponentAccessor<>() {
|
||||
@@ -175,7 +176,8 @@ public class DynFormConfigurable implements Configurable {
|
||||
}
|
||||
}
|
||||
}
|
||||
}.withRoots(projectDir);
|
||||
};
|
||||
if (projectDir != null) folderDescriptor.withRoots(projectDir);
|
||||
|
||||
xsdFolderField.addBrowseFolderListener("Select XSD Folder", "Select the folder containing DynForm .xsd schemas (within project)",
|
||||
project, folderDescriptor, new TextComponentAccessor<>() {
|
||||
|
||||
Reference in New Issue
Block a user