Automatically add behavior to each template element — that sounds like something a stylesheet could do!
自动将行为添加到每个模板元素—听上去象是样式表可以做的事!
Also, the generated classes become dumb data containers because you can't generally add behavior to them.
而且,生成的类变成哑数据容器,因为一般不能向它们添加行为。
He also showed how to add behavior to classes, fields and methods and talked about annotating Types and methods with Aspects.
他还展示了如何向类、属性和方法中添加行为,也谈到了如何使用Aspects来注解类型和方法。
To add behavior to our button we can add a "Click" event handler to it. We can do this in source view by typing the event name.
要给我们的按钮加行为的话,我们可以给它加一个“Click ”事件处理函数。
Though ActiveRecord deals with persistence, you often want to add behavior to your classes beyond database storage and retrieval.
尽管ActiveRecord与处理持久性有关,您总是希望将行为添加到类中,而不仅仅进行数据库存储和检索。
You can extend these transformations to add behavior, or you can write your own transformation by extending the Rational Software Architect transformation framework.
您可以扩展这些转换,添加行为,或者您可以通过扩展Rational Software Architect转换框架,撰写您自己的转换。
You can also add that you realize they hear your noise too, and you are certainly willing to try to stop anything in your behavior that is creating extra noise.
你还可以补充说,你意识到他们也听到了你的噪音,而你当然愿意尽量停止任何造成额外噪音的行为。
Essentially, we can leverage the fact that an XSLT stylesheet is itself an XML document and automatically apply a set of modifications to add or modify its behavior.
我们基本上可以利用xslt样式表本身就是XML文档这一事实,并且可以自动应用一组修改,以添加或修改其行为。
It is not a highly predictable discipline, especially when you attempt to add a lot of new behavior and functionality to a product.
它不是一个高预见性的规则,尤其是你在一个产品中增加新的行为和功能的时候更是如此。
We can also use encapsulation and inheritance to add new behavior to existing pages and components.
我们还可以使用封装和继承给现有页面和组件添加新的行为。
A more elegant and ultimately more flexible solution is to employ static crosscutting to add the behavior to desired objects.
一个更优雅且根本上更灵活的解决方案就是使用静态横切来对预期对象添加行为。
The easiest way to dynamically customize class behavior USES an imperative style: first create the class, then add methods and attributes.
利用强制方式动态自定义类行为最简单的方法是:首先创建类,然后添加方法和属性。
The following listings add a highlighting behavior to a text field through CSS and an HTC file.
如下代码通过CSS和 HTC 文件将突出显示行为添加到一个文本字段。
When you want to add arbitrary behavior to a class, based on unknown criteria, you need to use a different technique.
当想要基于未知规则给一个类添加任意行为时,则需要使用一项不同的技术。
You can define a view model yourself to add customized behavior but you don't need to.
你可以定义你自己的视图模型以添加行为,但你并不需要。
You don't have to change any existing behavior with such a simple operation, so you agree to add it as a minor change to your API.
对如此一个简单的操作您不必改变任何现有行为,所以您同意将其作为API局部改变。
Add to Web 2.0 the concept of social computing — the intersection of social behavior and computing systems — and you can begin to see how Web 2.0 is much more than the Web as a computing platform.
向Web 2.0添加社会计算(社会行为和计算系统的交集)的概念,并且您可以开始了解,Web 2.0不仅仅只是将Web作为一种计算平台。
What Stefan wants is a way to automatically add this behavior to each template when he needs it.
Stefan希望的是一种在他需要时自动将该行为添加到每个模板的方法。
Finally, if we want to add some behavior to the object, we first define an EcmaScript function and then assign it as a property of the object.
最后,我们希望在对象中加入一些行为,就先定义一个EcmaScript函数,然后把它指定为对象的一个属性。
Either way you cut it, Ajax as demonstrated by the patterns in this article is something you should check into to add dynamic behavior to your applications.
无论从哪方面说,就像本文中的模式演示的那样,Ajax可以为您的应用程序添加动态行为。
WebSphere Service Registry and repository provides the ability to add validation and notification plug-ins to implement customized behavior in response to content changes in the repository.
WebSphereServiceRegistry andRepository提供了添加确认和通知插件的能力,以实现自定义行为来响应存储库的内容更改。
If you want to customize the clean command's behavior, you can add your own code right here.
如果需要自定义clean命令的行为,可以在此添加自己的代码。
Next up is instance behavior: I want my User instances to support the ability to list all retweets in order of influence, which means I need to add another method.
接下来是实例行为:我希望我的User实例支持按影响力顺序列出所有转贴的能力,这意味着我需要添加另一个方法。
And I wouldn't have to change any of the existing Presenter implementations to add the new behavior.
并且在添加新的行为时我不需要修改任何现有的Presenter实现。
For example, if you add the menu as a child of the label's parent, then Flex would place the control vertically beneath that point because that is VBox's default behavior.
例如,如果您将菜单添加为标签的父元素的子元素,那么Flex就将控件垂直放置在该点的下面,因为这是VBox的默认行为。
Then, you can add client-side behavior. With that in mind, here's a start at a callback function.
然后,可以添加客户端行为。
Then add a <html:errors /> after the form, which is used to demo the different behavior from the
然后在表单后面添加一个 <html:errors />,这用来演示一个与属性为“proerty”的
Some people add def scaffold = @artifact.name@ so that dynamic scaffolding is the default behavior for all of their controllers.
全部新控制器都将基于修改过的模板代码(有些人会加入defscaffold = @artifact.name@,这样动态搭建就会成为所有控制器的默认行为)。
Some people add def scaffold = @artifact.name@ so that dynamic scaffolding is the default behavior for all of their controllers.
全部新控制器都将基于修改过的模板代码(有些人会加入defscaffold = @artifact.name@,这样动态搭建就会成为所有控制器的默认行为)。
应用推荐