与清单5惟一的不同之处在于值绑定表达式。
The only difference from Listing 5 is the value binding expression.
OpenMath区别对待函数应用和绑定表达式。
OpenMath distinguishes function application from binding expression .
在运行时使用反射来分析和计算对象的数据绑定表达式。
Evaluates data-binding expressions at run time and formats the result as a string.
在组件框架中,UI事件或解析的值绑定表达式直接导致方法调用。
In a component framework, invocations are a direct result of either UI events or resolved value-binding expressions.
在创建使用JSF - EL绑定的组件属性时,需要创建值绑定表达式。
When you create component properties that are bound with JSF-EL, you need to create a value binding expression.
通过将绑定表达式用作定位器,“绑定”将实例数据结点连接到表单控制或模型项目约束。
A "binding" connects an instance data node to a form control or to a model item constraint by using a binding expression as a locater.
在JSF不负责减少它解析一个值绑定表达式的次数的情况下,Seam的工厂特性常常变得非常方便。
Given that JSF does not care to reduce the number of times it resolves a value binding expression, Seam's factory feature often comes in handy.
Seam总是在 #{conversation.id}值绑定表达式下公开当前的对话。
Seam always exposes the current conversation ID under the #{conversation.id} value-binding expression.
定义:通过将绑定表达式用作定位器,“绑定”将实例数据结点连接到表单控制或模型项目约束。
Definition: a "binding" connects an instance data node to a form control or to a model item constraint by using a binding expression as a locater.
您可能会认为,可以将逻辑放在映射到视图中值绑定表达式的backingbean的getter方法中。
You might assume that you can stick the logic inside the getter method of the backing bean that maps to the value binding expression in the view.
如果一个值绑定表达式引用的模型数据不再可用,或者在组件树被恢复之前发生了更改,那么组件树的一些部分将被撤销。
If model data referenced by a value binding expression is no longer available or has changed prior to the component tree being restored, it can result in portions of the tree being dropped.
这些特性实现了数据绑定,并允许JSF框架在表达式计算完毕后进行控制。
These features enabled data bindings and allowed the JSF framework to control when an expression is evaluated.
清单10中的例子显示了一个直接用于绑定的未命名表达式。
The example in Listing 10 shows an unnamed parameter expression that is directly used for binding.
然后表达式中对变量的引用可以静态绑定到本地堆栈框架或一列全局变量的特定槽上。
References to variables within an expression can then be statically bound to a particular slot in either the local stack frame or the list of global variables.
绑定有着十分有趣的适应性,尤其在LINQ表达式中。
Binding has interesting applicability especially when LINQ expressions are involved.
表达式由数据结构、绑定的变量(即具有值的变量)、数学操作符和函数调用组成。
The expression is composed of data structures, bound variables (that is, those with a value), mathematical operations and function calls.
@Pointcut注解允许我们定义切入点表达式,而且必要时,还有被切入点绑定的参数的个数和类型。
The @Pointcut annotation allows us to define pointcut expressions and, where necessary, the number and type of arguments to be bound by the pointcut.
NETFX4里的WF包括可组装的工作流style,统一的规则和行为,以及改进的数据绑定、定界和表达式支持。
WF in.net FX 4 includes a composable set of workflow styles, a unification of rules and activities as well as improved data binding, scoping, and expression support.
这个XForms绑定元素有两个属性nodeset和constraint,它们都是XPath表达式。
This XForms bind element has two attributes, nodeset and constraint, both of which take XPath expressions.
copy:transform表达式的copy子句将源xml值绑定到一个变量。
Copy: the copy clause of the transform expression binds the source XML value to a variable.
node是一个XPath 1.0表达式,它指定与给定的绑定声明相关联的模式节点(对XPath的详细说明参见XMLPathLanguage)。
Node is an XPath 1.0 expression that identifies the schema node to which the given binding declaration is associated (see XML Path Language for detailed XPath description).
如果松绑定(looser - binding)运算符使用紧绑定(tighter - binding)运算符作为操作数表达式,那么优先级是自动处理的。
If looser-binding operators take as operands expressions using tighter-binding operators, precedence is handled automatically.
典型的表达式上下文就是这个组件实例,它是各种绑定值的来源。
The expression context is typically the component instance , which is the source of binding values.
第一行代码定义了一个lambda表达式并将其和total符号绑定到一起。
The first line defines a lambda expression and binds it to the symbol total.
可以用JSF -EL(表达式语言)把JSF组件绑定到受管理的bean属性。
You can use the JSF-EL (expression language) to bind JSF components to managed bean properties.
第二行代码仅显示了这个和total绑定到一起的lambda 表达式。
The second line simply shows the lambda function bound to total.
和表达式中一样,语句只能引用语句上下文中——通常是正在绑定事件的那个组件实例。
As with expressions, statements can refer only to what's in the statement context - typically the component instance to which we're binding the event.
讲解属性绑定之前,先深入了解一下模板表达式和模板语句。
But first, let's take a closer look at template expressions and statements.
现在,对模板表达式和语句有了一点感觉了吧。除插值表达式外,还有各种各样的数据绑定语法,是学习它们是时候了。
Now that we have a feel for template expressions and statements, we're ready to learn about the varieties of data binding syntax beyond interpolation.
要了解关于属性绑定的更多信息,参见模板表达式。
For more information on property binding, see Template Syntax.
应用推荐