PATH  Documentation > WebObjects 4.5 > Direct to Web

D2WQueryToManyRelationship

Package:

Inherits from:D2WQueryRelationship

See Also:
D2WQueryToManyField
D2WCustomQueryComponent

Class Description

This property-level component builds a query based on the value for a particular key of a destionation object of a to-many relationship. Since the component fetches all of the objects that can appear in the relationship, it is slower than the D2WQueryToManyField component.

You can specify whether the list is collapsible or not and whether the user interface is a browser or a table of checkboxes. You can also specify the size of the browser or the number of columns of checkboxes to display.

Property-level components are not accessed programmatically. Instead, you use the Web Assistant to choose the property-level component that Direct to Web uses to display a property on a particular entity and task page. See the "Direct to Web" chapter of WebObjects Tools and Techniques for more information.

If you want to create property-level component to query based on a property, use D2WCustomQueryComponent.

Method Types


Constructors


Constructors


D2WQueryToManyRelationship

public D2WQueryToManyRelationship()

This method is intentionally undocumented. You should never have to invoke or customize it.