com.primix.vlib.pages
Class EditBook
java.lang.Object
|
+--com.primix.tapestry.AbstractComponent
|
+--com.primix.tapestry.BaseComponent
|
+--com.primix.tapestry.AbstractPage
|
+--com.primix.tapestry.BasePage
|
+--com.primix.vlib.Protected
|
+--com.primix.vlib.pages.EditBook
- All Implemented Interfaces:
- IComponent, IErrorProperty, IPage, IRender
- public class EditBook
- extends Protected
Edits the properties of at book.
- Version:
- $Id: EditBook.java,v 1.14 2001/07/05 22:28:43 hship Exp $
- Author:
- Howard Ship
Methods inherited from class com.primix.tapestry.AbstractPage |
addPageCleanupListener, addPageDetachListener, addPageRenderListener, attach, beginResponse, cleanupPage, firePageBeginRender, firePageCleanup, firePageDetached, firePageEndRender, getChangeObserver, getEngine, getExtendedId, getIdPath, getLocale, getName, getNestedComponent, getPage, getRequestCycle, getVisit, renderPage, setChangeObserver, setLocale, setName, setRequestCycle |
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, getComponent, getComponents, getContainer, getId, getListeners, 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 |
Methods inherited from interface com.primix.tapestry.IComponent |
addAsset, addComponent, addWrapped, finishLoad, getAsset, getAssets, getBinding, getBindingNames, getBindings, getComponent, getComponents, getContainer, getId, getSpecification, renderWrapped, setBinding, setContainer, setId, setPage, setSpecification |
Methods inherited from interface com.primix.tapestry.IRender |
render |
EditBook
public EditBook()
detach
public void detach()
- Description copied from class:
AbstractPage
- Prepares the page to be returned to the pool.
Subclasses may override this method, but must invoke this
implementation (usually, last).
- Overrides:
detach
in class Protected
- Following copied from interface:
com.primix.tapestry.IPage
- See Also:
IPageSource.releasePage(IPage)
getAttributes
public java.util.Map getAttributes()
getPublisherName
public java.lang.String getPublisherName()
setPublisherName
public void setPublisherName(java.lang.String value)
getCancel
public boolean getCancel()
setCancel
public void setCancel(boolean value)
getBookPrimaryKey
public java.lang.String getBookPrimaryKey()
- Gets the book's primary key as a String.
setBookPrimaryKey
public void setBookPrimaryKey(java.lang.String value)
- Updates the book's primary key value (converting from String to Integer).
This allows a Hidden component in the form to synchronize the book being
editted ... which fixes the Browser Back Button problem.
beginEdit
public void beginEdit(java.lang.Integer bookPK,
IRequestCycle cycle)
- Invoked (from
MyLibrary
) to begin editting a book.
Gets the attributes from the IBook
and updates
the request cycle to render this page,
formSubmit
public void formSubmit(IRequestCycle cycle)
- Used to update the book when the form is submitted.