D.2. The bind tag

Spring Framework

D.2. The bind tag

Provides BindStatus object for the given bind path. The HTML escaping flag participates in a page-wide or application-wide setting (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).

表 D.1. Attributes

Attribute Required? Runtime Expression?

htmlEscape

false

true

Set HTML escaping for this tag, as boolean value. Overrides the default HTML escaping setting for the current page.

ignoreNestedPath

false

true

Set whether to ignore a nested path, if any. Default is to not ignore.

path

true

true

The path to the bean or bean property to bind status information for. For instance account.name, company.address.zipCode or just employee. The status object will exported to the page scope, specifically for this bean or bean property