Castle.MonoRail.Framework.Controller.RenderView C# (CSharp) Method

RenderView() public method

Specifies the view to be processed after the action has finished its processing.
public RenderView ( string name ) : void
name string view template name (the file extension is optional)
return void
		public void RenderView(string name)
		{
			_selectedViewName = Path.Combine(ViewFolder, name);
		}

Same methods

Controller::RenderView ( string name, bool skipLayout ) : void
Controller::RenderView ( string name, bool skipLayout, string mimeType ) : void
Controller::RenderView ( string controller, string name ) : void
Controller::RenderView ( string controller, string name, bool skipLayout ) : void
Controller::RenderView ( string controller, string name, bool skipLayout, string mimeType ) : void
Controller::RenderView ( string controller, string name, string mimeType ) : void

Usage Example

Example #1
0
		protected override void PerformActionProcess(Controller controller)
		{
			base.PerformActionProcess(controller);
			
			controller.PropertyBag.Add( "items", 
				PaginationHelper.CreatePagination(controller, PerformFindAll(), 10) );
			
			controller.PropertyBag["properties"] = ObtainListableProperties(Model);

			controller.RenderView(controller.Name, "list" + Model.Type.Name);
		}
All Usage Examples Of Castle.MonoRail.Framework.Controller::RenderView