JSP实例文件引用这个定义而不是jsp模版文件。
The JSP instance file refers the definition instead of JSP template file.
第一个技巧是从一个模版文件动态的创建一个提取过滤器文件。
The first technique is the dynamic creation of an extract filter file from a template file.
您的新模版文件在PageDesigner编辑器中被打开。
因此,您要么移出jsp模版文件要么保存它为模版的未来维护所用。
Therefore, you can either remove the JSP template file or keep it for future maintenance of the template.
您可能很奇怪,不知道您在最后的步骤中创建的jsp模版文件在哪里被使用。
You might wonder where the JSP template file that you created in the last step is used.
点击Finish,新的模版文件将会在PageDesigner编辑器中打开。
Click Finish, and the new template file will opened in the Page Designer editor.
无论何时您想更改这个页面的版面或者外观,只需编辑这个jsp模版文件就可以。
Whenever you want to change the layout or the look and feel of the pages, simply edit the JSP template file.
正如您所看到的,Web页面文件实例和XML模版定义文件都没有涉及到jsp模版文件。
As you see, neither the instance of the Web page file nor the XML template definition file refers the JSP template file.
StrutsTiles定义XML文件:这个文件含有涉及jsp模版文件的并列定义。
Struts tiles definition XML file: This file has tiles definitions that refer to the JSP template file.
为了完成这个工作,您首先要在开发工作台的模版文件夹中建立一个.ve文件,该文件内容如列表3所示。
To do this you have to create a . ve file in the templates folder in the development workspace, the contents of which are shown in Listing 3.
刚才的步骤不仅将JET特性(以及构建器)添加到了您的项目中,同时还在您的项目中建立了一个模版文件夹。
This action not only adds the JET nature (and builders) to your project, but also creates a Templates folder in your project.
请按照下面的步骤做,打开模版文件夹,建立一个新的文本文件,将其命名为JET.skeleton(File->New -> File),然后在其中添加列表8所示的内容。
To create this, open the templates folder and create a new text file called JET.skeleton (File -> New -> File), and then add the content shown in Listing 8.
如果您核查xml定义文件,您可以看到您的新模版代码。
If you check the XML definition file, you can see the code for your new template.
在Objective - C中有一个惯例通过在实现文件中定义一个类别为一个类提供了私有的方法;通过使用链式模版这将是相关简单的附加物。
There is a convention in Objective-C to provide private methods on a class by defining a category within the implementation file; this could be a relatively simple addition by using chained templates.
图9:导入。xml文件作为一个本地项目模版。
Figure 9: Importing the.xml file as a local project template.
可测量性:从Design - TimeTemplate中创建的Web页面在它们的源文件中拥有模版内容拷贝。
Scalability: Web pages created from the Design-Time template have copies of the template's content in their source files.
模型模版的扩展名很简单:它只能用于识别RSA扫描下的.ve文件目录。
The extension for the model templates is very simple: it just identifies a directory that RSA will scan for .ve files.
修改这个blankModelPath变量使其指向这个空白的(空的)模型模版(这个文件将不会被改写)。
Modify the blankModelPath argument to point to the blank (empty) model template (this file will not be overridden).
Unit和Test/Spec测试的文件模版
通过用不同的片段文件填写ContentAreas,您可以用一个仍然被管理于根模版下的一个普通的区域来创建另外的模版。
By filling Content Areas with different fragment files, you can create another template with a common area that is still managed by the root template.
这是由于您想要在概要文件插件中让您的模版模型使用概要文件和数据类型库,而这个插件可以通过启动另一个工作台使其处于活动状态。
The reason for this is that you want to have your template model use the profile and data type library in the profile plug-in, and this plug-in will be activated by starting another workbench.
重用或重新创建模版及配置文件都是个很好的主意。
It's a good idea to reuse or create your own stereotypes and profiles.
一般情况下,你会保留本变量为假,这样你可以在配置文件里存放敏感数据,例如数据库参数,而不用担心模版会将它们调用出来。默认情况下,本变量设为假。
Typically you would leave this false, that way you can store sensitive data in the config files such as database parameters and not worry about the template loading them. false by default.
容易定制外观,通过编辑模版页和CSS文件。
Easy to customize the look and feel by editing template pages and CSS files.
模版描述文件初始化失败。请确认它存在。
Failed to initiate the Template Introduction File. Please make sure it exists.
模版可以用于创建标准消息格式或者文件名。
Templates can be used to create standard message formats or filenames.
模版可以用于创建标准消息格式或者文件名。
Templates can be used to create standard message formats or filenames.
应用推荐