Method Summary |
|
public void | addErrorCodes() This method takes care of putting all error messages into the ResultDocument. |
public void | addIWrapperStatus() addIWrapperStatus inserts the status of all IWrappers into the result tree.
You can only call this method if this instance was initialized with a non null ResultDocument.
The IWrappers will be grouped according to the group they belong to. |
public void | addStringValues() This method puts all the string representation of all submitted
form values back into the result tree. |
public boolean | errorHappened() Use this method at any time to check if any error has happened in
any of the "currently active" IWrappers of this Container. |
public Context | getAssociatedContext() Returns the
Context that's associated with this IWrapperContainer. |
public PfixServletRequest | getAssociatedPfixServletRequest() Returns the
PfixServletRequest that's associated with this IWrapperContainer. |
public ResultDocument | getAssociatedResultDocument() Returns the
ResultDocument ResultDocument that's associated with this IWrapperContainer. |
public void | handleSubmittedData() handleSubmittedData will call all or a part of the defined IWrappers
(depending of grouping and/or restricting the IWrappers) to get
the IHandler that these IWrappers are bound to. |
public synchronized void | initIWrappers(Context context, PfixServletRequest preq, ResultDocument resdoc) This method must be called right after an instance of this class is created.
Parameters: context - a Context value. |
public void | retrieveCurrentStatus() retrieveCurrentStatus will call all or a part of the defined IWrappers
(depending of grouping and/or restricting the IWrappers) to get the "active" IHandlers, which
are called in turn via ihandler.retrieveCurrentStatus(Context context, IWrapper wrapper). |
public boolean | stayAfterSubmit() Use this method to query if the IWrapperContainer wants to continue with submitting data (thereby staying on the page),
or if it assumes this whole page to be completed (and give control to the context to continue with the pageflow). |