|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pajes.html.PajeTemplate
org.pajes.db.entity.ViewerTemplate
Generates an Paje instance to view an Entity. The source HTML file from
which the Paje is generated must contain an Container object (such as a
table cell (<td>)) which has an ID attribute of entityContainer.
| Field Summary | |
static java.lang.String |
CANCEL_BUTTON
Constant for accessing the document element with the ID attribute of "cancelButton". |
static java.lang.String |
ENTITY_CONTAINER_ID
Constant for accessing the document element with the ID attribute of "entityContainer". |
| Constructor Summary | |
ViewerTemplate()
|
|
| Method Summary | |
static SubmitButton |
getCancelButton(Container container)
Retrieves the tag identified with an ID attribute of CANCEL_BUTTON. |
static Container |
getEntityContainer(Container container)
Retrieves the tag identified with an ID attribute of ENTITY_CONTAINER_ID. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String CANCEL_BUTTON
public static final java.lang.String ENTITY_CONTAINER_ID
| Constructor Detail |
public ViewerTemplate()
| Method Detail |
public static final SubmitButton getCancelButton(Container container)
CANCEL_BUTTON.
container - the Container object in which the tag is to be located.
This should be the lowest possible container within the document
hierarchy to enable the most efficient retrieval.
CANCEL_BUTTON Tag instance, or null if if a tag
with an ID attribute of CANCEL_BUTTON cannot be
located within the specifed container.public static final Container getEntityContainer(Container container)
ENTITY_CONTAINER_ID.
container - the Container object in which the tag is to be located.
This should be the lowest possible container within the document
hierarchy to enable the most efficient retrieval.
ENTITY_CONTAINER_ID Tag instance, or null if if a
tag with an ID attribute of ENTITY_CONTAINER_ID cannot
be located within the specifed container.
|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||