We've introduced three Expression Language node evaluation functions, which return a copy of the node with the evaluation state set in the following ways:
pre(node)
: the node has not yet been evaluated (replaces the now deprecated node.pre()
).mid(node)
: the node is currently being evaluatedpost(node)
: the node has already been evaluatedExamples
Old:
I don't currently have a way to #{action (this.pre())}.
I currently don't have the ability to #{action (this.pre())}.
New:
I don't currently have a way to #{action(pre(this))}.
I currently don't have the ability to #{action(pre(this))}.
Learn more about the deprecation stages.
Copyright 2024 Samsung All rights reserved