| com.opensymphony.webwork.views.velocity.components.AbstractDirective
All known Subclasses: com.opensymphony.webwork.views.velocity.components.CheckBoxListDirective, com.opensymphony.webwork.views.velocity.components.TokenDirective, com.opensymphony.webwork.views.velocity.components.IncludeDirective, com.opensymphony.webwork.views.velocity.components.ParamDirective, com.opensymphony.webwork.views.velocity.components.SetDirective, com.opensymphony.webwork.views.velocity.components.ActionDirective, com.opensymphony.webwork.views.velocity.components.HiddenDirective, com.opensymphony.webwork.views.velocity.components.ActionMessageDirective, com.opensymphony.webwork.views.velocity.components.PushDirective, com.opensymphony.webwork.views.velocity.components.TextDirective, com.opensymphony.webwork.views.velocity.components.DebugDirective, com.opensymphony.webwork.views.velocity.components.BeanDirective, com.opensymphony.webwork.views.velocity.components.RichTextEditorDirective, com.opensymphony.webwork.views.velocity.components.TextAreaDirective, com.opensymphony.webwork.views.velocity.components.TreeDirective, com.opensymphony.webwork.views.velocity.components.PropertyDirective, com.opensymphony.webwork.views.velocity.components.ResetDirective, com.opensymphony.webwork.views.velocity.components.OptionTransferSelectDirective, com.opensymphony.webwork.views.velocity.components.TabbedPanelDirective, com.opensymphony.webwork.views.velocity.components.DoubleSelectDirective, com.opensymphony.webwork.views.velocity.components.PasswordDirective, com.opensymphony.webwork.views.velocity.components.URLDirective, com.opensymphony.webwork.views.velocity.components.I18nDirective, com.opensymphony.webwork.views.velocity.components.LabelDirective, com.opensymphony.webwork.views.velocity.components.FileDirective, com.opensymphony.webwork.views.velocity.components.HeadDirective, com.opensymphony.webwork.views.velocity.components.ComboBoxDirective, com.opensymphony.webwork.views.velocity.components.RadioDirective, com.opensymphony.webwork.views.velocity.components.ActionErrorDirective, com.opensymphony.webwork.views.velocity.components.TreeNodeDirective, com.opensymphony.webwork.views.velocity.components.AnchorDirective, com.opensymphony.webwork.views.velocity.components.DivDirective, com.opensymphony.webwork.views.velocity.components.DateDirective, com.opensymphony.webwork.views.velocity.components.OptGroupDirective, com.opensymphony.webwork.views.velocity.components.SubmitDirective, com.opensymphony.webwork.views.velocity.components.UpDownSelectDirective, com.opensymphony.webwork.views.velocity.components.ComponentDirective, com.opensymphony.webwork.views.velocity.components.FormDirective, com.opensymphony.webwork.views.velocity.components.WebTableDirective, com.opensymphony.webwork.views.velocity.components.CheckBoxDirective, com.opensymphony.webwork.views.velocity.components.FieldErrorDirective, com.opensymphony.webwork.views.velocity.components.SelectDirective, com.opensymphony.webwork.views.velocity.components.PanelDirective, com.opensymphony.webwork.views.velocity.components.TextFieldDirective,
AbstractDirective | abstract public class AbstractDirective extends Directive (Code) | | |
createPropertyMap | protected Map createPropertyMap(InternalContextAdapter contextAdapter, Node node) throws ParseErrorException, MethodInvocationException(Code) | | create a Map of properties that the user has passed in. for example,
#xxx("name=hello" "value=world" "template=foo")
would yield a params that contains {["name", "hello"], ["value", "world"], ["template", "foo"]}
Parameters: node - the Node passed in to the render method a Map of the user specified properties throws: org.apache.velocity.exception.ParseErrorException - if the was an error in the format of the property |
getType | public int getType()(Code) | | All components, unless otherwise stated, are LINE-level directives.
|
putProperty | protected void putProperty(Map propertyMap, InternalContextAdapter contextAdapter, Node node) throws ParseErrorException, MethodInvocationException(Code) | | adds a given Node's key/value pair to the propertyMap. For example, if this Node contained the value "rows=20",
then the key, rows, would be added to the propertyMap with the String value, 20.
Parameters: propertyMap - a params containing all the properties that we wish to set Parameters: node - the parameter to set expressed in "name=value" format |
render | public boolean render(InternalContextAdapter ctx, Writer writer, Node node) throws IOException, ResourceNotFoundException, ParseErrorException, MethodInvocationException(Code) | | |
|
|