Interface EnumDropdownService


  • public interface EnumDropdownService
    • Method Detail

      • loadDropDownExpression

        String[] loadDropDownExpression​(org.uberfire.backend.vfs.Path resource,
                                        String[] valuePairs,
                                        String expression)
        Load drop-down data. This can be either a static list or a dynamic list from a server-side helper class defined in the enum definition. For dynamic enums the resource path is used to resolve a Project to get the Project Classloader to resolve the helper class that can either be in the containers classpath (WEB-INF/lib) or a Project dependency.
        Parameters:
        resource - The resource needing the drop-down
        valuePairs - key=value pairs to be interpolated into the expression.
        expression - The expression, which will then be eval'ed to generate a String[]