|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.primix.tapestry.AbstractComponent | +--com.primix.tapestry.BaseComponent | +--com.primix.vlib.components.BookLink
Creates a link to the ViewBook
page using the external service.
Parameter | Type | Read / Write | Required | Default | Description |
---|---|---|---|---|---|
book | Book |
R | yes | The Book to create a link to. |
Informal parameters are allowed.
Fields inherited from class com.primix.tapestry.BaseComponent |
outer, OUTER_INIT_SIZE, outerCount |
Fields inherited from class com.primix.tapestry.AbstractComponent |
id, page, specification, wrapped, wrappedCount |
Constructor Summary | |
BookLink()
|
Method Summary | |
Book |
getBook()
|
IBinding |
getBookBinding()
|
java.lang.String[] |
getContext()
The context has two elements. |
boolean |
isNew()
|
void |
render(IResponseWriter writer,
IRequestCycle cycle)
Overrides render() to always set the book property to null after renderring. |
void |
setBookBinding(IBinding value)
|
Methods inherited from class com.primix.tapestry.BaseComponent |
addOuter, finishLoad, readTemplate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public BookLink()
Method Detail |
public IBinding getBookBinding()
public void setBookBinding(IBinding value)
public Book getBook()
public boolean isNew()
public java.lang.String[] getContext()
PersonPage
), the second is the primary key of the person.public void render(IResponseWriter writer, IRequestCycle cycle) throws RequestCycleException
render
in class BaseComponent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |