org.trails.component
Class AssociationSelect

java.lang.Object
  extended by org.apache.hivemind.impl.BaseLocatable
      extended by org.apache.tapestry.AbstractComponent
          extended by org.apache.tapestry.form.AbstractFormComponent
              extended by org.apache.tapestry.form.PropertySelection
                  extended by org.trails.component.AbstractPropertySelection
                      extended by org.trails.component.AssociationSelect
All Implemented Interfaces:
org.apache.hivemind.Locatable, org.apache.hivemind.LocationHolder, org.apache.tapestry.form.IFormComponent, org.apache.tapestry.form.ValidatableField, org.apache.tapestry.IComponent, org.apache.tapestry.IDirectEvent, org.apache.tapestry.internal.Component, org.apache.tapestry.IRender
Direct Known Subclasses:
FilteredAssociationSelect

@ComponentClass(allowBody=false,
                allowInformalParameters=true)
public abstract class AssociationSelect
extends AbstractPropertySelection

This guy interacts with persistence service to produce a Select containing all the elements of the PropertyDescriptor's type.

Author:
Chris Nelson

Field Summary
 
Fields inherited from class org.apache.tapestry.AbstractComponent
_body, _bodyCount
 
Constructor Summary
AssociationSelect()
           
 
Method Summary
 org.apache.tapestry.form.IPropertySelectionModel buildSelectionModel()
           
 IClassDescriptor getClassDescriptor()
           
abstract  DescriptorService getDescriptorService()
           
abstract  PersistenceService getPersistenceService()
           
 
Methods inherited from class org.trails.component.AbstractPropertySelection
getIdParameter, getInstances, getModel, getNoneLabel, getOptionRenderer, getPropertyDescriptor, getValidatableFieldSupport, getValue, isAllowNone, setAllowNone, setInstances, setModel, setNoneLabel, setPropertyDescriptor, setValue
 
Methods inherited from class org.apache.tapestry.form.PropertySelection
isRequired, renderFormComponent, rewindFormComponent
 
Methods inherited from class org.apache.tapestry.form.AbstractFormComponent
generateClientId, getCanTakeFocus, getForm, getName, getRenderBodyOnRewind, peekClientId, renderComponent, renderDelegateAttributes, renderDelegatePrefix, renderDelegateSuffix, setForm, setName, setName
 
Methods inherited from class org.apache.tapestry.AbstractComponent
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, equals, finishLoad, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainedRenderers, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getInnerRenderers, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hasEvents, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, setHasEvents, setId, setNamespace, setPage, setTemplateTagName, toString, triggerEvent
 
Methods inherited from class org.apache.hivemind.impl.BaseLocatable
getLocation, setLocation
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.tapestry.form.ValidatableField
getValidators
 
Methods inherited from interface org.apache.tapestry.form.IFormComponent
getClientId, getDisplayName, getForm, getName, isDisabled, setName
 
Methods inherited from interface org.apache.tapestry.IComponent
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getSpecification, getSpecifiedId, getTemplateTagName, isRendering, peekClientId, renderBody, setBinding, setClientId, setContainedComponent, setContainer, setId, setNamespace, setPage, setTemplateTagName
 
Methods inherited from interface org.apache.tapestry.IRender
render
 
Methods inherited from interface org.apache.hivemind.LocationHolder
setLocation
 
Methods inherited from interface org.apache.hivemind.Locatable
getLocation
 

Constructor Detail

AssociationSelect

public AssociationSelect()
Method Detail

getPersistenceService

@InjectObject(value="service:trails.core.PersistenceService")
public abstract PersistenceService getPersistenceService()

getDescriptorService

@InjectObject(value="service:trails.core.DescriptorService")
public abstract DescriptorService getDescriptorService()

getClassDescriptor

public IClassDescriptor getClassDescriptor()

buildSelectionModel

public org.apache.tapestry.form.IPropertySelectionModel buildSelectionModel()
Specified by:
buildSelectionModel in class AbstractPropertySelection


Copyright © 2004-2008. All Rights Reserved.