C# Class Rebel.Cms.Web.Trees.SupportsEditorTreeController

An abstract tree that supports menu actions with an editor
Inheritance: TreeController
Mostra file Open project: RebelCMS/rebelcmsxu5

Public Methods

Method Description
GetEditorUrl ( HiveId id, System.Web.Mvc.FormCollection queryStrings ) : string

Return the editor URL for the currrent node depending on the data found in the query strings

This checks if the tree there is a OnNodeClick handler assigned, if so, it assigns it, otherwise it checks if the tree is in DialogMode, if it is then it returns an empty handler, otherwise it sets the Url to the editor's url.

Protected Methods

Method Description
SupportsEditorTreeController ( IBackOfficeRequestContext requestContext ) : System

Method Details

GetEditorUrl() public method

Return the editor URL for the currrent node depending on the data found in the query strings
This checks if the tree there is a OnNodeClick handler assigned, if so, it assigns it, otherwise it checks if the tree is in DialogMode, if it is then it returns an empty handler, otherwise it sets the Url to the editor's url.
public GetEditorUrl ( HiveId id, System.Web.Mvc.FormCollection queryStrings ) : string
id HiveId
queryStrings System.Web.Mvc.FormCollection
return string

SupportsEditorTreeController() protected method

protected SupportsEditorTreeController ( IBackOfficeRequestContext requestContext ) : System
requestContext IBackOfficeRequestContext
return System