|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hivemind.impl.BaseLocatable
org.apache.tapestry.AbstractComponent
org.apache.tapestry.BaseComponent
uk.ac.cam.spectra.spectrasub.components.DefaultAuthorFormlet
public abstract class DefaultAuthorFormlet
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
LOG
|
| Constructor Summary | |
|---|---|
DefaultAuthorFormlet()
|
|
| Method Summary | |
|---|---|
boolean |
allowSubmit()
If the add more chemist link has been clicked, stop the submission. |
void |
clearSubmissionBlock()
This method will be called after the form handling has taken account of this formlets need to block submission, the formlet should clear whatever state it holds for blocking submisison. |
abstract Name |
getChemistName()
|
abstract java.util.List<Name> |
getChemists()
|
abstract java.lang.String |
getInstitution()
|
abstract Name |
getNewChemist()
|
java.lang.String |
getNoSubmit()
|
abstract Name |
getSupervisor()
|
void |
pageBeginRender(org.apache.tapestry.event.PageEvent event)
|
abstract void |
setChemists(java.util.List<Name> chemists)
|
abstract void |
setInstitution(java.lang.String institution)
|
abstract void |
setNewChemist(Name n)
|
void |
setNoSubmit(java.lang.String noSubmit)
|
abstract void |
setSupervisor(Name n)
|
void |
setupPage(DataPackage p)
This method gets called from the page begin render method when the form is notrewinding. |
void |
validate(org.apache.tapestry.valid.IValidationDelegate delegate)
Validate formlet inputs. |
void |
writeMetadata(com.hp.hpl.jena.rdf.model.Resource resource)
Write form data out as RDF metadata. |
| Methods inherited from class org.apache.tapestry.BaseComponent |
|---|
addOuter, finishLoad, renderComponent |
| Methods inherited from class org.apache.tapestry.AbstractComponent |
|---|
addAsset, addBody, addComponent, checkActiveLock, cleanupAfterRender, enterActiveState, equals, finishLoad, generateClientId, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getBody, getBodyCount, getBoundId, getClientId, getComponent, getComponents, getContainedComponent, getContainer, getEventInvoker, getExtendedId, getId, getIdPath, getListeners, getMessages, getNamespace, getPage, getRenderWorker, getSpecification, getSpecifiedId, getTemplateTagName, hashCode, isInActiveState, isParameterBound, isRendering, isStateful, pageEndRender, peekClientId, prepareForRender, render, renderBody, renderIdAttribute, renderInformalParameters, setBinding, setClientId, setContainedComponent, setContainer, 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.ITemplateComponent |
|---|
addOuter |
| Methods inherited from interface org.apache.tapestry.IComponent |
|---|
addAsset, addBody, addComponent, enterActiveState, finishLoad, getAsset, getAssets, getBeans, getBinding, getBindingNames, getBindings, getClientId, 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 |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger LOG
| Constructor Detail |
|---|
public DefaultAuthorFormlet()
| Method Detail |
|---|
public void pageBeginRender(org.apache.tapestry.event.PageEvent event)
pageBeginRender in interface org.apache.tapestry.event.PageBeginRenderListenerpublic void setupPage(DataPackage p)
Formlet
setupPage in interface Formletpublic void validate(org.apache.tapestry.valid.IValidationDelegate delegate)
Formlet
validate in interface Formletpublic void writeMetadata(com.hp.hpl.jena.rdf.model.Resource resource)
Formlet
writeMetadata in interface Formletpublic boolean allowSubmit()
allowSubmit in interface Formlet@Persist public abstract java.util.List<Name> getChemists()
public abstract void setChemists(java.util.List<Name> chemists)
public abstract Name getChemistName()
public abstract Name getNewChemist()
public abstract void setNewChemist(Name n)
public abstract Name getSupervisor()
public abstract void setSupervisor(Name n)
public void clearSubmissionBlock()
Formlet
clearSubmissionBlock in interface Formletpublic abstract void setInstitution(java.lang.String institution)
public abstract java.lang.String getInstitution()
public java.lang.String getNoSubmit()
public void setNoSubmit(java.lang.String noSubmit)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||