| java.lang.Object com.sourcetap.sfa.ui.UIDropDown com.sourcetap.sfa.ui.UIUserDropDown
UIUserDropDown | public class UIUserDropDown extends UIDropDown (Code) | | DOCUMENT ME!
|
Method Summary | |
public List | getDropDownValues(GenericDelegator delegator, UIDisplayObject uiDisplayObject, ArrayList orderDef, Vector entityDetailsVector, UIFieldInfo fieldInfo, UserInfo userInfo) Return a list of values for a drop down using a UI Display Object defined in the data base.
This method overrides the parent class.
author: John Nutting Parameters: delegator - Reference to the OFBIZ delegator being used to connect to the data base Parameters: uiDisplayObject - Reference to a display object defined in the data base and attached to the field to be displayed by the UI builder Parameters: orderDef - List of fields defining the sort order of the drop down values Parameters: entityDetailsVector - Vector of generic values containing the values to be displayed on the screen for all fields Parameters: fieldInfo - Reference to field info object containing attributes of the current field Parameters: userInfo - Reference to user info object containing information about the currently logged-in user List of generic values to be displayed in the drop down. | public List | getDropDownValuesDynamic(GenericDelegator delegator, Map filterValues, UserInfo userInfo) Return a list of values based on filter criteria. |
UIUserDropDown | public UIUserDropDown()(Code) | | |
getDropDownValues | public List getDropDownValues(GenericDelegator delegator, UIDisplayObject uiDisplayObject, ArrayList orderDef, Vector entityDetailsVector, UIFieldInfo fieldInfo, UserInfo userInfo)(Code) | | Return a list of values for a drop down using a UI Display Object defined in the data base.
This method overrides the parent class.
author: John Nutting Parameters: delegator - Reference to the OFBIZ delegator being used to connect to the data base Parameters: uiDisplayObject - Reference to a display object defined in the data base and attached to the field to be displayed by the UI builder Parameters: orderDef - List of fields defining the sort order of the drop down values Parameters: entityDetailsVector - Vector of generic values containing the values to be displayed on the screen for all fields Parameters: fieldInfo - Reference to field info object containing attributes of the current field Parameters: userInfo - Reference to user info object containing information about the currently logged-in user List of generic values to be displayed in the drop down. This will be null if an error occurs. |
getDropDownValuesDynamic | public List getDropDownValuesDynamic(GenericDelegator delegator, Map filterValues, UserInfo userInfo)(Code) | | Return a list of values based on filter criteria. This is used by the dynamic filtered drop downs
which are modified via DHTML. This method must be overridden in a desdendent class.
Note: This method
is only used when the drop down is updated dynamically.
When the screen is first displayed, the getDropDownValues method is used.
See Also: UIUserDropDown.getDropDownValues(GenericDelegator,UIDisplayObject,ArrayList,Vector,UIFieldInfo,UserInfo) author: Steve Fowler author: John Nutting Parameters: delegator - Reference to the OFBIZ delegator being used to connect to the data base Parameters: filterValues - Map containing field/value pairs to be used for filtering the drop down list Parameters: userInfo - Reference to user info object containing information about the currently logged-in user List of generic values to be displayed in the drop down. This will be null if an error occurs. |
Methods inherited from com.sourcetap.sfa.ui.UIDropDown | public static String[] decodeValue(String attribEntityValueDef, String attribEntityDisplayDef, String currentAttributeName, Object valueObject)(Code)(Java Doc) public static String[][] decodeValueArray(String attribEntityValueDef, String attribEntityDisplayDef, String currentAttributeName, List genericValueVectorList)(Code)(Java Doc) public String displayFieldHtml(UIDisplayObject uiDisplayObject, boolean protect, String htmlName, String fieldValue, Vector entityDetailsVector, UIFieldInfo fieldInfo, String action, int tabIndex, UserInfo userInfo, GenericDelegator delegator)(Code)(Java Doc) public List getDropDownValues(GenericDelegator delegator, UIDisplayObject uiDisplayObject, ArrayList orderDef, Vector entityDetailsVector, UIFieldInfo fieldInfo, UserInfo userInfo)(Code)(Java Doc) public List getDropDownValuesDynamic(GenericDelegator delegator, Map filterValues, UserInfo userInfo)(Code)(Java Doc) public GenericValue getReadOnlyValue(String fieldValue, String attributeName, UIDisplayObject uiDisplayObject, Vector entityDetailsVector, GenericDelegator delegator)(Code)(Java Doc) public static String getSelectHtml(String htmlName, int tabIndex, String attribSize, String attribDisabled, String attribClass, String attribEmptyFirst, String attribEventHandling, String[][] selectPairArray, String selectedValue, boolean showMultiple)(Code)(Java Doc) public static String getSelectHtmlReadOnly(String fieldValue, String htmlName, String attributeName, UIDisplayObject uiDisplayObject, String[] selectPair, String anchorHref, String anchorTarget, GenericDelegator delegator)(Code)(Java Doc) public String[] getValuePair(String fieldValue, GenericDelegator delegator, UIDisplayObject uiDisplayObject, Vector entityDetailsVector, UIFieldInfo fieldInfo, UserInfo userInfo, GenericValue linkGenericValue)(Code)(Java Doc) public String[][] getValuePairArray(GenericDelegator delegator, UIDisplayObject uiDisplayObject, ArrayList orderDef, Vector entityDetailsVector, UIFieldInfo fieldInfo, UserInfo userInfo)(Code)(Java Doc)
|
|
|