|
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
org.pajes.db.entity.EditorTemplate
Generates an Paje instance to edit 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 |
DELETE_BUTTON
Constant for accessing the document element with the ID attribute of "deleteButton". |
static java.lang.String |
EDIT_FORM
Constant for accessing the document element with the ID attribute of "editor". |
static java.lang.String |
EDIT_FORM_ENTITY_CONTAINER_ID
Deprecated. use ViewerTemplate.ENTITY_CONTAINER_ID. |
static java.lang.String |
SAVE_BUTTON
Constant for accessing the document element with the ID attribute of "saveButton". |
| Fields inherited from class org.pajes.db.entity.ViewerTemplate |
CANCEL_BUTTON, ENTITY_CONTAINER_ID |
| Constructor Summary | |
EditorTemplate()
|
|
| Method Summary | |
static SubmitButton |
getDeleteButton(Container container)
Retrieves the tag identified with an ID attribute of DELETE_BUTTON. |
static Form |
getEditForm(Container container)
Retrieves the tag identified with an ID attribute of EDIT_FORM. |
static Container |
getEditFormContainer(Container container)
Retrieves the tag identified with an ID attribute of EDIT_FORM_ENTITY_CONTAINER_ID. |
static SubmitButton |
getSaveButton(Container container)
Retrieves the tag identified with an ID attribute of SAVE_BUTTON. |
| Methods inherited from class org.pajes.db.entity.ViewerTemplate |
getCancelButton, getEntityContainer |
| 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 DELETE_BUTTON
public static final java.lang.String EDIT_FORM
public static final java.lang.String EDIT_FORM_ENTITY_CONTAINER_ID
ViewerTemplate.ENTITY_CONTAINER_ID.
public static final java.lang.String SAVE_BUTTON
| Constructor Detail |
public EditorTemplate()
| Method Detail |
public static final SubmitButton getDeleteButton(Container container)
DELETE_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.
DELETE_BUTTON Tag instance, or null if if a tag
with an ID attribute of DELETE_BUTTON cannot be
located within the specifed container.public static final Form getEditForm(Container container)
EDIT_FORM.
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.
EDIT_FORM Tag instance, or null if if a tag with an
ID attribute of EDIT_FORM cannot be located within the
specifed container.public static final Container getEditFormContainer(Container container)
EDIT_FORM_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.
EDIT_FORM_ENTITY_CONTAINER_ID Tag instance, or null
if if a tag with an ID attribute of EDIT_FORM_ENTITY_CONTAINER_ID cannot be located within the
specifed container.public static final SubmitButton getSaveButton(Container container)
SAVE_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.
SAVE_BUTTON Tag instance, or null if if a tag with
an ID attribute of SAVE_BUTTON 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 | |||||||||