Click here to Skip to main content
Click here to Skip to main content
Articles » Web Development » ASP.NET » General » Downloads
 
Add your own
alternative version

FrameControl - Framework for creating web applications

, 25 Jul 2003
FrameControl is a framework that contains the code common for most of the web applications.
FrameControl_demo.zip
FrameControl1.dll
doc
banner.jpg
darkcorner.jpg
FrameControl1
gradleft.jpg
gradtop.jpg
graycorner.jpg
minus.jpg
plus.jpg
titletile.jpg
FrameControl_src.zip
banner.jpg
darkcorner.jpg
gradleft.jpg
gradtop.jpg
graycorner.jpg
minus.jpg
plus.jpg
titletile.jpg
obj
Debug
temp
TempPE
Release
FrameControl1.dll
FrameControl1.projdata
temp
TempPE
FrameControl1.csproj.user
FrameControl_install.zip
using System;
using System.Collections;

namespace JobMorning
{
	/// <summary>
	/// ActionClass is a class which is instantiated when the attribute actionClass of a page
	/// element is set to the name of a class. ActionClass makes the interactions between user's
	/// object and FrameControl easy.
	/// </summary>
	public abstract class ActionClass
	{
		public ActionClass()
		{
			//
			// TODO: Add constructor logic here
			//
		}
		/// <summary>
		/// Procedure called before the page mentionned in the XML file is loaded and displayed.
		/// </summary>
		/// <param name="strXmContext">The MCContext document is passed as a string containing its XML definition</param>
		protected abstract void DoBeforeDisplay(string strXmlMCContext);
		
		
		/// <summary>
		/// doPageValidation validates the page input. 
		/// If the result is false, the page is displayed again with a PopUp message containing
		/// strErrorMessage. 
		/// </summary>
		/// <param name="pageInputs">Hashtable containing all input fields of the page, indexed 
		/// by their id.</param>
		/// <param name="strErrorMessage">The error message to display in the PopUp.</param>
		/// <returns></returns>
		protected abstract bool ValidatePageBeforeSavePoints(Hashtable pageInputs,out string strErrorMessage);
		

		/// <summary>
		/// ValidatePageAfterSavePoint validates the page input after a savePoint has been executed.
		/// The savePoint must be contained in the current path between the current page and its successor.
		/// </summary>
		/// <param name="strSavePointName">The SavePoint name from where the validation will be launched.</param>
		/// <param name="pageInputs">Hashtable containing all input fields of the page, indexed 
		/// by their id.</param>
		/// <param name="strErrorMessage">The error message to display in the PopUp.</param>
		protected abstract bool ValidatePageAfterSavePoint(string strSavePointName,  string strXmlMCContext, out string strErrorMessage);
		

		/// <summary>
		/// Procedure called after the page has been posted and that all values have been saved
		/// into the context. This procedure is executed after ValidatePageBeforeSavePoints.
		/// </summary>
		/// <param name="strXmlSession">The string representing an Xml Session</param>
		protected abstract void DoAfterContextSave(string strXmlMCContext);

	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

S. Jehan

Japan Japan
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141223.1 | Last Updated 26 Jul 2003
Article Copyright 2003 by S. Jehan
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid