为每个视图组件选择相应的实例变量。
Select for each view component the corresponding instance variable.
您需要分配这些变量到每一个视图组件。
使视图组件具有灵活性非常具有挑战性。
Making your views component flexible is particularly challenging.
这时就会显示视图组件。
Struts默认的视图组件技术是JSP技术。
The default view component technology for Struts is JSP technology.
注意:本文不讨论如何创建Notes视图组件。
NOTE: This article does not cover the process of creating the Notes view component.
然而MVC要求视图组件,比如JSP与逻辑无关。
Yet MVC requires that view components, such as JSPs, be free of logic.
现在,我们已通过转换创建了视图组件和应用程序流。
We've now created the view components and the application flow, via the transitions.
视图组件具有处理数据使它们最适合目标显示器的灵活性。
The view component has the flexibility to render the data for a best fit on the destination display.
但是,可以很容易把Velocity集成进来作为视图组件。
However, you can easily integrate Velocity as the view component. Figure 1 illustrates this specific use of Velocity.
适当的视图组件将处理模型对象,并返回它作为对客户机的格式化响应。
The appropriate view component processes the model object and returns it as a formatted response to the client.
Viewcomponent负责处理视图组件和它与控制器的连接。
View component handles the View component and the connection with its controller.
作为需求过程的一部分,实现待定应用程序的简化视图组件可能非常有效。
Implementing simplified view components of the pending application can be very effective as part of the requirements process.
视图组件库与模板能被复用,以减轻页面开发人员的工作负担。
The component package and theses templates can be reused and lighten the burden of developers of Web page.
您会发现,用这个更加聪明的框架创建应用程序的视图组件简直就是小菜一碟。
As you'll discover, it's a snap to create the view component of an application with this clever framework.
然后我们将把这个模板引擎集成到StrutsMVC框架中作为视图组件。
We'll then integrate the template engine into the Struts MVC framework as a view component.
实际上批评它的人很多,因为它鼓吹的方案是将视图组件的状态直接绑定到模型。
Actually, it has been bashed by many, as it advocates a solution of simply data-binding of view component state directly into the model.
VisualDesign编辑器用于布局视图组件和创建应用程序对话框或流。
The Visual Design editor is used to lay out the view components and create the application dialog or flow.
我们的博客阅读器控制器侦听来自视图组件的事件流并通过在模型上操作对其进行响应。
Our blog reader controller listens to events flowing from the view components and reacts to them by operating on the model. In general, the UI events are
在您创建oneviewcontroller类时,您定义了实例变量来管理视图组件。
When you created the OneViewController class, you defined instance variables to manage the view components. These variables are.
ListElement视图由惟一的视图组件(TableView 组件)组成。
The ListElement view is composed by only one view component, a Table View component.
图4显示了一个简单复合应用程序,包括Notes视图组件和Noteswidget。
Figure 4 shows a sample composite application made up of a Notes view component and Notes widgets.
这种框架可以重复使用视图组件并减少应用程序的视图页面中重复的HTML和JS p源代码。
This framework lets you reuse view components and reduces duplication of HTML and JSP source in the application's view pages.
为了查看新建属性和动作的效果,在窗口左上角的UserTable视图组件中选择一个文档。
To see the new property and action wirings in action, select a document in the User Table view component shown in the top left of the window.
这些信息为本系列的下一期奠定了基础,下一期将介绍样例应用程序的视图组件和控制器类的类框架。
This information will help set the stage for the next installment of this series, which will describe the view component of the sample application and the class skeleton of the controller class.
在传统的Web应用程序中,视图组件由JSP或者其他表示技术(例如Velocity模板)构成。
In a traditional Web application, the view component is composed of JSPs, or perhaps another presentation technology such as Velocity templates.
使用鼠标左键,在视图组件窗口中从dataSource标签拖动到File ' s Owner。
Using the left mouse button, drag from the dataSource tag to File's Owner in the view component window.
在许多Web开发框架下,可能就是在这里抛弃原型,开始把标记转换成servlet、JSP或视图组件的。
Under many Web development frameworks, this would be the point at which to abandon your prototypes and begin converting all your markup to servlets, JSPs, or view components.
接下来的章节将会带您亲历控制器实现并向您展示如何连接到视图组件以及如何使用Dojo对各种事件进行响应。
The upcoming sections walk you through the controller implementation and show how to connect to the view components and respond to various events using Dojo.
接下来的章节将会带您亲历控制器实现并向您展示如何连接到视图组件以及如何使用Dojo对各种事件进行响应。
The upcoming sections walk you through the controller implementation and show how to connect to the view components and respond to various events using Dojo.
应用推荐