Skip to content

Incorrect #this and #root variable examples in SpEL documentation #31770

@mhalbritter

Description

@mhalbritter

There is something wrong or incomplete in the SpEL documentation.

  • SimpleEvaluationContext.forReadOnlyDataAccess() doesn't compile. I think that should be SimpleEvaluationContext.forReadOnlyDataBinding().build().
  • The "following example" has no mention of #root.

The following examples show how to use the #this and #root variables:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core modules (aop, beans, core, context, expression)type: documentationA documentation task

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions