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. |
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 on 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 on restricting the IWrappers and the always_retrieve flag) to get the "active" IHandlers, which
are called in turn via ihandler.retrieveCurrentStatus(Context context, IWrapper wrapper). |