Class SunOptionUtil


  • public class SunOptionUtil
    extends Object
    TODO: Class.forName can cause problems under OSGi SUN_OPTION_CLASS = Class.forName("com.sun.webui.jsf.model.Option"); for the time being, we have to ensure that this class stays in the 'core' which is part of the war file so any plugin modul can access it.
    • Constructor Detail

      • SunOptionUtil

        public SunOptionUtil()
    • Method Detail

      • getOptions

        public static jakarta.faces.model.SelectItem[] getOptions​(String[] values)
      • getOptionsArray

        public static com.sun.webui.jsf.model.Option[] getOptionsArray​(String[] values)
      • getOption

        public static com.sun.webui.jsf.model.Option getOption​(String value,
                                                               String label)
      • getOptions

        public static jakarta.faces.model.SelectItem[] getOptions​(String[] values,
                                                                  String[] labels)
      • getModOptions

        public static jakarta.faces.model.SelectItem[] getModOptions​(String[] values)
      • getSunOption

        public static jakarta.faces.model.SelectItem getSunOption​(String value,
                                                                  String label)