Uiinfrastructure API Docs  
 

PageMgr Members

PageMgr overview

Public Instance Constructors

PageMgr Constructor Creates a new PageMgr object. At the time of creation, the page manager has no component managers; they must be registered. If the locale or time zone is null, the default is used. The image server base URL cannot be null or emppty string.

Public Instance Methods

AddErrorMessage Adds the error message to the array containing the rest of the error messages.
AddPageControl Retreives an instance of a Page Control specified by _strMVCPageControlName and returns it. Registers that Page Control with the ComponentMgr appropriate for it which is registered with this PageMgr instance. If no ComponentMgr of that type exists the Page Control creates a ComponentMgr of the correct type and that ComponentMgr is registered with the PageMgr.
AddToValidationFunction 
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
GetComponentMgr Return a ComponentMgr of the correct type for the given Page Control.
GetErrorMessages Returns all the error messages for the Activity Apace
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetImageServerConnectionURL Return the ImageServerConnectionURL member variable.
GetImgSvrBaseURL Returns the image server base URL.
GetJSValidationCode This method provides js validation code for all Page Controls owned by this PageMgr. It does so by looping through all registered ComponentMgrs which in turn loop through all their registered components (Page Controls) to return their validation code.
GetLangID Returns the language ID for this page. (It is derived from the locale the client used when the
GetLocale Returns the locale that is being used by this page manager.
GetNumComponentMgrs Returns the number of component managers currently registered with this page manager.
GetPageControl Return the Page Control of the type specified by _strMVCPageControlName (i.e. HTMLTextBox) with the unique instance ID specified by _strUniqueInstanceID.
GetTimeZone Returns the timezone being used by this page manager.
GetType (inherited from Object)Gets the Type of the current instance.
RegisterComponentMgr This method allows you to register a component manager with the page manager. The order in which you register components is the order in which calls will be made when doing any looping operation--storing or printing. If you attempt to re-register the same component, it will overwrite the one that existed there before.
StoreAllUserInput This method stores all data entered by users to controls on this page. It does so by looping through the registered component mangers and asking them to save themselves. (The component managers, in turn, loop through the components and ask them to save themselves. The order in which the save is called is the same as the order in which the component managers were registered.
ToString (inherited from Object)Returns a String that represents the current Object.
Validate This method validates all Page Controls owned by this PageMgr. It does so by looping through all registered ComponentMgrs which in turn loop through all their registered components (Page Controls). It returns an XPArrayList of all UIError messages generated by the various Page Controls.

Protected Instance Methods

Finalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

PageMgr Class | com.plumtree.uiinfrastructure.pagecontrols.framework Namespace