| java.lang.Object com.sourcetap.sfa.ui.UIDropDown com.sourcetap.sfa.ui.UIFieldUserDropDown
UIFieldUserDropDown | public class UIFieldUserDropDown extends UIDropDown (Code) | | DOCUMENT ME!
|
Method Summary | |
protected static String | getCompanyDefaultName(String companyName) | public String[] | getValuePair(String fieldValue, GenericDelegator delegator, UIDisplayObject uiDisplayObject, Vector entityDetailsVector, UIFieldInfo fieldInfo, UserInfo userInfo, GenericValue linkGenericValue) Return a data value/display value pair to be passed to the getSelectHtmlReadOnly
method. | public String[][] | getValuePairArray(GenericDelegator delegator, UIDisplayObject uiDisplayObject, ArrayList orderDef, Vector entityDetailsVector, UIFieldInfo fieldInfo, UserInfo userInfo) Return an array of data value/display value pairs to be passed to the getDisplayHtml
method. |
UIFieldUserDropDown | public UIFieldUserDropDown()(Code) | | |
getCompanyDefaultName | protected static String getCompanyDefaultName(String companyName)(Code) | | DOCUMENT ME!
Parameters: companyName - |
getValuePair | public String[] getValuePair(String fieldValue, GenericDelegator delegator, UIDisplayObject uiDisplayObject, Vector entityDetailsVector, UIFieldInfo fieldInfo, UserInfo userInfo, GenericValue linkGenericValue)(Code) | | Return a data value/display value pair to be passed to the getSelectHtmlReadOnly
method. This overrides the ancestor because 2 types of entities are combined into one
drop list. This prevents the getReadOnlyValue method from being called, which returns
a list of one type of entity only.
See Also: UIFieldUserDropDown.getReadOnlyValue(String,String,UIDisplayObject,Vector,GenericDelegator) See Also: UIFieldUserDropDown.decodeValue(String,String,String,Object) See Also: UIFieldUserDropDown.getSelectHtmlReadOnly(String,String,String,UIDisplayObject,String[],GenericDelegator) author: John Nutting Parameters: fieldValue - Value of field being displayed 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: 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 Parameters: linkGenericValue - Generic value returned to calling method List of generic values to be displayed in the drop down. This will be null if an error occurs. |
getValuePairArray | public String[][] getValuePairArray(GenericDelegator delegator, UIDisplayObject uiDisplayObject, ArrayList orderDef, Vector entityDetailsVector, UIFieldInfo fieldInfo, UserInfo userInfo)(Code) | | Return an array of data value/display value pairs to be passed to the getDisplayHtml
method. This overrides the ancestor because 2 types of entities are combined into one
drop list. This prevents the getSelectValues method from being called, which returns
a list of one type of entity only.
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. |
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)
|
|
|