| File | Line |
|---|
| org/apache/tiles/jsp/taglib/InsertDefinitionTag.java | 121 |
| org/apache/tiles/jsp/taglib/InsertTemplateTag.java | 94 |
public java.lang.String getTemplate() {
return template;
}
/**
* Setter for template property.
*
* @param template
* If specified, this template will be used instead of the
* one used by the definition.
*/
public void setTemplate(java.lang.String template) {
this.template = template;
}
/**
* Getter for templateType property.
*
* @return
* The type of the template attribute.
*/
public java.lang.String getTemplateType() {
return templateType;
}
/**
* Setter for templateType property.
*
* @param templateType
* The type of the template attribute.
*/
public void setTemplateType(java.lang.String templateType) {
this.templateType = templateType;
}
/**
* Getter for templateExpression property.
*
* @return
* The expression to evaluate to get the value of the template.
*/
public java.lang.String getTemplateExpression() {
return templateExpression;
}
/**
* Setter for templateExpression property.
*
* @param templateExpression
* The expression to evaluate to get the value of the template.
*/
public void setTemplateExpression(java.lang.String templateExpression) {
this.templateExpression = templateExpression;
}
/**
* Getter for role property.
*
* @return
* A comma-separated list of roles. If present, the definition
* will be rendered only if the current user belongs to one of the roles.
*/
public java.lang.String getRole() {
return role;
}
/**
* Setter for role property.
*
* @param role
* A comma-separated list of roles. If present, the definition
* will be rendered only if the current user belongs to one of the roles.
*/
public void setRole(java.lang.String role) {
this.role = role;
}
/**
* Getter for preparer property.
*
* @return
* The preparer to use to invoke before the definition is
* rendered. If specified, it overrides the preparer specified in the
* definition itself.
*/
public java.lang.String getPreparer() {
return preparer;
}
/**
* Setter for preparer property.
*
* @param preparer
* The preparer to use to invoke before the definition is
* rendered. If specified, it overrides the preparer specified in the
* definition itself.
*/
public void setPreparer(java.lang.String preparer) {
this.preparer = preparer;
}
/**
* Getter for flush property.
*
* @return
* If <code>true</code>, the response will be flushed after the insert.
*/
public boolean isFlush() {
return flush;
}
/**
* Setter for flush property.
*
* @param flush
* If <code>true</code>, the response will be flushed after the insert.
*/
public void setFlush(boolean flush) {
this.flush = flush;
}
/** {@inheritDoc} */
@Override
public void doTag() throws JspException, IOException {
AutotagRuntime runtime = new org.apache.tiles.request.jsp.autotag.JspAutotagRuntime();
if (runtime instanceof SimpleTagSupport) {
SimpleTagSupport tag = (SimpleTagSupport) runtime;
tag.setJspContext(getJspContext());
tag.setJspBody(getJspBody());
tag.setParent(getParent());
tag.doTag();
}
Request request = runtime.createRequest();
ModelBody modelBody = runtime.createModelBody();
model.execute( |
| File | Line |
|---|
| org/apache/tiles/jsp/taglib/GetAsStringTag.java | 86 |
| org/apache/tiles/jsp/taglib/InsertAttributeTag.java | 104 |
public boolean isIgnore() {
return ignore;
}
/**
* Setter for ignore property.
*
* @param ignore
* If <code>true</code>, if an exception happens during
* rendering, of if the attribute is null, the problem will be ignored.
*/
public void setIgnore(boolean ignore) {
this.ignore = ignore;
}
/**
* Getter for preparer property.
*
* @return
* The preparer to invoke before rendering the attribute.
*/
public java.lang.String getPreparer() {
return preparer;
}
/**
* Setter for preparer property.
*
* @param preparer
* The preparer to invoke before rendering the attribute.
*/
public void setPreparer(java.lang.String preparer) {
this.preparer = preparer;
}
/**
* Getter for role property.
*
* @return
* A comma-separated list of roles. If present, the attribute
* will be rendered only if the current user belongs to one of the roles.
*/
public java.lang.String getRole() {
return role;
}
/**
* Setter for role property.
*
* @param role
* A comma-separated list of roles. If present, the attribute
* will be rendered only if the current user belongs to one of the roles.
*/
public void setRole(java.lang.String role) {
this.role = role;
}
/**
* Getter for defaultValue property.
*
* @return
* The default value of the attribute. To use only if
* the attribute was not computed.
*/
public java.lang.Object getDefaultValue() {
return defaultValue;
}
/**
* Setter for defaultValue property.
*
* @param defaultValue
* The default value of the attribute. To use only if
* the attribute was not computed.
*/
public void setDefaultValue(java.lang.Object defaultValue) {
this.defaultValue = defaultValue;
}
/**
* Getter for defaultValueRole property.
*
* @return
* The default comma-separated list of roles. To use
* only if the attribute was not computed.
*/
public java.lang.String getDefaultValueRole() {
return defaultValueRole;
}
/**
* Setter for defaultValueRole property.
*
* @param defaultValueRole
* The default comma-separated list of roles. To use
* only if the attribute was not computed.
*/
public void setDefaultValueRole(java.lang.String defaultValueRole) {
this.defaultValueRole = defaultValueRole;
}
/**
* Getter for defaultValueType property.
*
* @return
* The default type of the attribute. To use only if
* the attribute was not computed.
*/
public java.lang.String getDefaultValueType() {
return defaultValueType;
}
/**
* Setter for defaultValueType property.
*
* @param defaultValueType
* The default type of the attribute. To use only if
* the attribute was not computed.
*/
public void setDefaultValueType(java.lang.String defaultValueType) {
this.defaultValueType = defaultValueType;
}
/**
* Getter for name property.
*
* @return
* The name of the attribute.
*/
public java.lang.String getName() {
return name;
}
/**
* Setter for name property.
*
* @param name
* The name of the attribute.
*/
public void setName(java.lang.String name) {
this.name = name;
}
/**
* Getter for value property.
*
* @return
* The attribute to use immediately, if not null.
*/
public org.apache.tiles.Attribute getValue() {
return value;
}
/**
* Setter for value property.
*
* @param value
* The attribute to use immediately, if not null.
*/
public void setValue(org.apache.tiles.Attribute value) {
this.value = value;
} |
| File | Line |
|---|
| org/apache/tiles/jsp/taglib/AddAttributeTag.java | 64 |
| org/apache/tiles/jsp/taglib/PutAttributeTag.java | 115 |
public java.lang.Object getValue() {
return value;
}
/**
* Setter for value property.
*
* @param value
* The value of the attribute. Use this parameter, or
* expression, or body.
*/
public void setValue(java.lang.Object value) {
this.value = value;
}
/**
* Getter for expression property.
*
* @return
* The expression to calculate the value from. Use this
* parameter, or value, or body.
*/
public java.lang.String getExpression() {
return expression;
}
/**
* Setter for expression property.
*
* @param expression
* The expression to calculate the value from. Use this
* parameter, or value, or body.
*/
public void setExpression(java.lang.String expression) {
this.expression = expression;
}
/**
* Getter for role property.
*
* @return
* A comma-separated list of roles. If present, the attribute
* will be rendered only if the current user belongs to one of the roles.
*/
public java.lang.String getRole() {
return role;
}
/**
* Setter for role property.
*
* @param role
* A comma-separated list of roles. If present, the attribute
* will be rendered only if the current user belongs to one of the roles.
*/
public void setRole(java.lang.String role) {
this.role = role;
}
/**
* Getter for type property.
*
* @return
* The type (renderer) of the attribute.
*/
public java.lang.String getType() {
return type;
}
/**
* Setter for type property.
*
* @param type
* The type (renderer) of the attribute.
*/
public void setType(java.lang.String type) {
this.type = type;
} |
| File | Line |
|---|
| org/apache/tiles/jsp/taglib/PutAttributeTag.java | 192 |
| org/apache/tiles/jsp/taglib/PutListAttributeTag.java | 116 |
}
/**
* Getter for cascade property.
*
* @return
* If <code>true</code> the attribute will be cascaded to all nested attributes.
*/
public boolean isCascade() {
return cascade;
}
/**
* Setter for cascade property.
*
* @param cascade
* If <code>true</code> the attribute will be cascaded to all nested attributes.
*/
public void setCascade(boolean cascade) {
this.cascade = cascade;
}
/** {@inheritDoc} */
@Override
public void doTag() throws JspException, IOException {
AutotagRuntime runtime = new org.apache.tiles.request.jsp.autotag.JspAutotagRuntime();
if (runtime instanceof SimpleTagSupport) {
SimpleTagSupport tag = (SimpleTagSupport) runtime;
tag.setJspContext(getJspContext());
tag.setJspBody(getJspBody());
tag.setParent(getParent());
tag.doTag();
}
Request request = runtime.createRequest();
ModelBody modelBody = runtime.createModelBody();
model.execute(
name, |
| File | Line |
|---|
| org/apache/tiles/jsp/taglib/InsertAttributeTag.java | 265 |
| org/apache/tiles/jsp/taglib/InsertDefinitionTag.java | 220 |
| org/apache/tiles/jsp/taglib/InsertTemplateTag.java | 192 |
}
/**
* Getter for flush property.
*
* @return
* If <code>true</code>, the response will be flushed after the insert.
*/
public boolean isFlush() {
return flush;
}
/**
* Setter for flush property.
*
* @param flush
* If <code>true</code>, the response will be flushed after the insert.
*/
public void setFlush(boolean flush) {
this.flush = flush;
}
/** {@inheritDoc} */
@Override
public void doTag() throws JspException, IOException {
AutotagRuntime runtime = new org.apache.tiles.request.jsp.autotag.JspAutotagRuntime();
if (runtime instanceof SimpleTagSupport) {
SimpleTagSupport tag = (SimpleTagSupport) runtime;
tag.setJspContext(getJspContext());
tag.setJspBody(getJspBody());
tag.setParent(getParent());
tag.doTag();
}
Request request = runtime.createRequest();
ModelBody modelBody = runtime.createModelBody();
model.execute( |
| File | Line |
|---|
| org/apache/tiles/jsp/taglib/GetAsStringTag.java | 247 |
| org/apache/tiles/jsp/taglib/InsertAttributeTag.java | 285 |
}
/** {@inheritDoc} */
@Override
public void doTag() throws JspException, IOException {
AutotagRuntime runtime = new org.apache.tiles.request.jsp.autotag.JspAutotagRuntime();
if (runtime instanceof SimpleTagSupport) {
SimpleTagSupport tag = (SimpleTagSupport) runtime;
tag.setJspContext(getJspContext());
tag.setJspBody(getJspBody());
tag.setParent(getParent());
tag.doTag();
}
Request request = runtime.createRequest();
ModelBody modelBody = runtime.createModelBody();
model.execute(
ignore,
preparer,
role,
defaultValue,
defaultValueRole,
defaultValueType,
name,
value, |