Package org.glassfish.admingui.util
Class SunOptionUtil
- java.lang.Object
-
- org.glassfish.admingui.util.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 Summary
Constructors Constructor Description SunOptionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static jakarta.faces.model.SelectItem[]
getModOptions(String[] values)
static com.sun.webui.jsf.model.Option
getOption(String value, String label)
static jakarta.faces.model.SelectItem[]
getOptions(String[] values)
static jakarta.faces.model.SelectItem[]
getOptions(String[] values, String[] labels)
static com.sun.webui.jsf.model.Option[]
getOptionsArray(String[] values)
static jakarta.faces.model.SelectItem
getSunOption(String value, String label)
-
-
-
Method Detail
-
getOptions
public static jakarta.faces.model.SelectItem[] getOptions(String[] values)
-
getOptionsArray
public static com.sun.webui.jsf.model.Option[] getOptionsArray(String[] values)
-
getOptions
public static jakarta.faces.model.SelectItem[] getOptions(String[] values, String[] labels)
-
getModOptions
public static jakarta.faces.model.SelectItem[] getModOptions(String[] values)
-
-