diff --git a/Frameworks/D2W/ERModernDirectToWeb/Sources/er/modern/directtoweb/components/relationships/ERMD2WEditToOneTypeAhead.java b/Frameworks/D2W/ERModernDirectToWeb/Sources/er/modern/directtoweb/components/relationships/ERMD2WEditToOneTypeAhead.java index 96a4ba13bd0..7f2cf8f9755 100644 --- a/Frameworks/D2W/ERModernDirectToWeb/Sources/er/modern/directtoweb/components/relationships/ERMD2WEditToOneTypeAhead.java +++ b/Frameworks/D2W/ERModernDirectToWeb/Sources/er/modern/directtoweb/components/relationships/ERMD2WEditToOneTypeAhead.java @@ -36,6 +36,8 @@ import er.extensions.foundation.ERXValueUtilities; import er.modern.directtoweb.components.ERMDAjaxNotificationCenter; import er.modern.directtoweb.components.buttons.ERMDActionButton; +import er.modern.directtoweb.delegates.ERMD2WAttributeQueryDelegate; +import er.modern.directtoweb.delegates.ERMD2WAttributeQueryDelegate.ERMD2WQueryComponent; /** *
A to-one relationship edit component that allows a user to select from a list by typing in the text field
@@ -62,18 +64,22 @@ * @d2wKey createConfigurationName * @d2wKey keyWhenRelationship * @d2wKey newButtonLabel + * @d2wKey searchKey * * @author davidleber */ -public class ERMD2WEditToOneTypeAhead extends ERDCustomEditComponent { +public class ERMD2WEditToOneTypeAhead extends ERDCustomEditComponent implements ERMD2WQueryComponent{ - public interface Keys extends ERDCustomEditComponent.Keys { + private static final long serialVersionUID = 1L; + + public interface Keys extends ERDCustomEditComponent.Keys { public static final String newButtonLabel = "newButtonLabel"; public static final String classForNewObjButton = "classForNewObjButton"; public static final String pageConfiguration = "pageConfiguration"; public static final String createConfigurationName = "createConfigurationName"; public static final String propertyKey = "propertyKey"; + public static final String searchKey = "searchKey"; public static final String sortKey = "sortKey"; public static final String destinationEntityName = "destinationEntityName"; public static final String restrictedChoiceKey = "restrictedChoiceKey"; @@ -185,7 +191,8 @@ public NSArray