| |||||||
FRAMES NO FRAMES |
Render the value of the specified bean property to the current JspWriter.
Retrieve the value of the specified bean property, and render it to the current JspWriter as a String by the ways:
format
attribute exists then value will be formatted on base of format string from format
attribute and default system locale.format
attribute description) then value will be formatted on base of format string from resources. Resources bundle and target locale can be specified with bundle
and locale
attributes. If nothing specified then default resource bundle and current user locale will be used.getAsText()
method will be called.toString()
conversions will be applied.When a format string is provided, numeric values are formatted using the java.text.DecimalFormat
class; if the format string came from a resource, the applyLocalisedPattern()
method is used, and applyPattern()
is used otherwise. Dates are formatted using the SimpleDateFormat
class. For details of the specific format patterns, please see the Javadocs for those classes.
If a problem occurs while retrieving the specified bean property, a request time exception will be thrown.
Tag Information | |
Tag Class | org.apache.struts.taglib.bean.WriteTag |
TagExtraInfo Class | None |
Body Content | empty |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
bundle | false | true | java.lang.String | The name of the application scope bean under which the |
filter | false | true | boolean | If this attribute is set to |
format | false | true | java.lang.String | Specifies the format string to use to convert bean or property value to the |
formatKey | false | true | java.lang.String | Specifies the key to search format string in application resources. |
ignore | false | true | boolean | If this attribute is set to |
locale | false | true | java.lang.String | The name of the session scope bean under which our currently selected |
name | true | true | java.lang.String | Specifies the attribute name of the bean whose property is accessed to retrieve the value specified by |
property | false | true | java.lang.String | Specifies the name of the property to be accessed on the bean specified by |
scope | false | true | java.lang.String | Specifies the variable scope searched to retrieve the bean specified by |
Variables | No Variables Defined. |
| |||||||
FRAMES NO FRAMES |