public class ResponseTransitionProvider.EditSectionTransition extends AbstractFormTransition<ResponseTarget<D,R>> implements CustomFormContent<ResponseTarget<D,R>>, FormTransition<ResponseTarget<D,R>>
| Modifier and Type | Class and Description |
|---|---|
class |
ResponseTransitionProvider.EditSectionTransition.CancelAction |
class |
ResponseTransitionProvider.EditSectionTransition.EditAction |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CANCEL_ACTION |
static java.lang.String |
SAVE_ACTION |
| Constructor and Description |
|---|
EditSectionTransition() |
| Modifier and Type | Method and Description |
|---|---|
<X extends ContentBuilder> |
addFormContent(X cb,
SessionService<?> op,
Form f,
ResponseTarget<D,R> target)
Add the form elements to the
ContentBuilder. |
void |
buildForm(Form f,
ResponseTarget<D,R> target,
AppContext conn)
Build the transition form.
|
getResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetResultpublic static final java.lang.String CANCEL_ACTION
public static final java.lang.String SAVE_ACTION
public void buildForm(Form f, ResponseTarget<D,R> target, AppContext conn) throws TransitionException
BaseFormTransitionbuildForm in interface BaseFormTransition<ResponseTarget<D extends DynamicFormManager.DynamicForm,R extends ResponseManager.Response<D>>>f - Form to be builttarget - target ObjectTransitionExceptionpublic <X extends ContentBuilder> X addFormContent(X cb, SessionService<?> op, Form f, ResponseTarget<D,R> target)
CustomFormContentContentBuilder. This should include all inputs including the action buttons.
The Form should already be fully built before calling this method.addFormContent in interface CustomFormContent<ResponseTarget<D extends DynamicFormManager.DynamicForm,R extends ResponseManager.Response<D>>>cb - ContentBuilderop - operatorf - Form