Method | Description | |
---|---|---|
AbstractComponentDirective ( IViewComponentFactory viewComponentFactory, IViewEngine viewEngine ) : NVelocity.Runtime.Parser.Node |
Initializes a new instance of the AbstractComponentDirective class.
|
|
Init ( IRuntimeServices rs, NVelocity.Context.IInternalContextAdapter context, INode node ) : void | ||
Render ( NVelocity.Context.IInternalContextAdapter context, |
||
RenderComponentView ( NVelocity.Context.IInternalContextAdapter context, String viewToRender, |
Method | Description | |
---|---|---|
CreateParameters ( NVelocity.Context.IInternalContextAdapter context, INode node ) : IDictionary | ||
ProcessSubSections ( |
Method | Description | |
---|---|---|
CheckTemplateStack ( NVelocity.Context.IInternalContextAdapter context ) : void | ||
Evaluate ( NVelocity.Runtime.Parser.Node.SimpleNode inlineNode, NVelocity.Context.IInternalContextAdapter context ) : object | ||
GetTemplate ( String viewToRender, String encoding ) : NVelocity.Template | ||
ProcessFirstParam ( INode node, NVelocity.Context.IInternalContextAdapter context, int childrenCount ) : IDictionary |
Processes the first param. first param can either be the literal string 'with' which means the user is using the syntax #blockcomponent(ComponentName with "param1=value1" "param2=value2") or it could be a dictionary string like: #blockcomponent(ComponentName "#{ param1='value1', param2='value2' }") anything different than that will throw an exception
|
|
ProcessRemainingParams ( int childrenCount, INode node, NVelocity.Context.IInternalContextAdapter context ) : IDictionary | ||
RenderView ( NVelocity.Context.IInternalContextAdapter context, String viewToRender, NVelocity.Template template, |
||
SetUpEncoding ( NVelocity.Context.IInternalContextAdapter context ) : String |
public AbstractComponentDirective ( IViewComponentFactory viewComponentFactory, IViewEngine viewEngine ) : NVelocity.Runtime.Parser.Node | ||
viewComponentFactory | IViewComponentFactory | The view component factory. |
viewEngine | IViewEngine | The view engine instance |
return | NVelocity.Runtime.Parser.Node |
protected CreateParameters ( NVelocity.Context.IInternalContextAdapter context, INode node ) : IDictionary | ||
context | NVelocity.Context.IInternalContextAdapter | |
node | INode | |
return | IDictionary |
public Init ( IRuntimeServices rs, NVelocity.Context.IInternalContextAdapter context, INode node ) : void | ||
rs | IRuntimeServices | |
context | NVelocity.Context.IInternalContextAdapter | |
node | INode | |
return | void |
protected ProcessSubSections ( |
||
component | ||
contextAdapter | NVelocityViewContextAdapter | |
return | void |
public Render ( NVelocity.Context.IInternalContextAdapter context, |
||
context | NVelocity.Context.IInternalContextAdapter | |
writer | ||
node | INode | |
return | bool |
public RenderComponentView ( NVelocity.Context.IInternalContextAdapter context, String viewToRender, |
||
context | NVelocity.Context.IInternalContextAdapter | |
viewToRender | String | |
writer | ||
contextAdapter | NVelocityViewContextAdapter | |
return | bool |