com.primix.vlib.components
Class PersonLink
java.lang.Object
|
+--com.primix.tapestry.AbstractComponent
|
+--com.primix.tapestry.BaseComponent
|
+--com.primix.vlib.components.PersonLink
- All Implemented Interfaces:
- IComponent, IRender
- public class PersonLink
- extends BaseComponent
Creates a link to the PersonPage
page using the external service.
Parameter | Type | Read / Write | Required | Default | Description |
primaryKey | Integer |
R |
yes | |
The primary key of the IPerson to create a link to. |
name |
String |
R |
yes |
|
The name of the person to create a link to.
|
omit |
boolean |
R |
no |
|
If true, then the link is omitted and replaced with an .
|
Informal parameters are not allowed. A body is not allowed.
- Version:
- $Id: PersonLink.java,v 1.7 2001/08/15 21:28:10 hship Exp $
- Author:
- Howard Ship
Methods inherited from class com.primix.tapestry.AbstractComponent |
addAsset, addComponent, addWrapped, cleanupAfterRender, cleanupComponent, finishLoad, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, fireObservedChange, generateAttributes, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getChangeObserver, getComponent, getComponents, getContainer, getExtendedId, getId, getIdPath, getListeners, getPage, getSpecification, prepareForRender, renderWrapped, reset, setBinding, setContainer, setId, setPage, setSpecification, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PersonLink
public PersonLink()
getPrimaryKeyBinding
public IBinding getPrimaryKeyBinding()
setPrimaryKeyBinding
public void setPrimaryKeyBinding(IBinding value)
getNameBinding
public IBinding getNameBinding()
setNameBinding
public void setNameBinding(IBinding value)
getOmitBinding
public IBinding getOmitBinding()
setOmitBinding
public void setOmitBinding(IBinding value)
getShowLink
public boolean getShowLink()
getContext
public java.lang.String[] getContext()
- The context has two elements. The first is the page to jump to
("Person", for
PersonPage
), the second is the primary key of the person.