hypertexttemplates(编辑修改稿)内容摘要:

hes the PERPAGE template and ends with some content closing off the HTML page. 21 169。 2020 BMC SOFTWARE, INC. Processing Flow – A Closer Look Taking a look at the results helps identify what happens during the processing phase. Source HTML HEADTITLEVisual/Head/title /head SCRIPT LANGUAGE=JavaScript var GraphCount = Visual/nGpP (39。 frameset cols=300,*39。 ) (39。 frameset rows=150,*39。 ) … „frame name=logo src=Visual/Scan=‟ … if (Visual/nGpP 1) … 39。 frame name=contents src=Visual/Scan= … else … 39。 frame name=contents src=Visual/Scan= … (39。 /Frameset39。 ) Output HTML HEADTITLEPROJECT NAME SUBSTITUTED HERE/title /head SCRIPT LANGUAGE=“JavaScript” var GraphCount = 3 (39。 frameset cols=300,*39。 ) (39。 frameset rows=150,*39。 ) … 39。 frame name=logo src=‟ … if (3 1) … 39。 frame name=contents src= … else … 39。 frame name=contents src= … (39。 /Frameset39。 ) 22 169。 2020 BMC SOFTWARE, INC. Processing Flow – A Closer Look What is most interesting about the execution of the project template is what happens to the Visual/Page variable. Unlike the Visual/Scan= call which forces the execution of the PROJECT templates and the creation of separate hypertext pages, this call to the perpage template results in the output of the execution being redirected back into the project html page. Source Visual/Page Output SCRIPT Language=JavaScript if (GraphCount 1) { (39。 CENTERH3Page 1/h3/center39。 ) (39。 CENTERtable cols=3 width=66% align=center39。 ) } /SCRIPT td SCRIPT LANGUAGE=JavaScript fname=39。 39。 … This repeats for each page in the template… 23 169。 2020 BMC SOFTWARE, INC. Generating Web Publishing This section covers some of the steps necessary to produce the Web Publishing output available from Visualizer. Although a discussion on how to build effective templates is probably warranted it is beyond the scope of this presentation and should be addressed in a separate paper. As such, it is assumed that the user knows how to build at least a basic template for use with this effort. 24 169。 2020 BMC SOFTWARE, INC. Generating Web Publishing There are two ways to generate Web Publishing from your Visualizer Templates. Export Writes out the Web Pages onto the local machine. Web Publish – Writes out the Web Pages onto the local machine temporarily and then transfers them (via or ftp) to a Web Server to be published. 25 169。 2020 BMC SOFTWARE, INC. Accessing the Publishing options The Web Publishing option may be grayed out if you do not have the Microsoft Web Publishing Wizard installed. You can obtain a copy of this wizard from the Microsoft Web Site at: 26 169。 2020 BMC SOFTWARE, INC. Accessing the Publishing options Using Automator, you can create Web Publishing through the Graphics / Costing events. 27 169。 2020 BMC SOFTWARE, INC. Accessing the Publishing options You can also use a keystroke file to script the processing of the export which yields additional flexibility. 28 169。 2020 BMC SOFTWARE, INC. Specifying an alternate path for HTT’s By default, the publishing mechanism will look to the Visualizer installation directory for the HTT files. Through the use of keystroke files, you can override this location. At the risk of a minor increase in plexity, this provides the following benefits: 1) It permits different customization for different groups of nodes. 2) It ensures that the htt files are not overwritten when an upgrade is performed. 29 169。 2020 BMC SOFTWARE, INC. Specifying an alternate path for HTT’s To modify the location of the HTT files using keystrokes merely add the following line to your keystroke file。 {SetREPT} “c:\some path\…” Note: If you choose to use the default BMC Logo’s then you will need to copy these files into this alternate path. 30 169。 2020 BMC SOFTWARE, INC. Exporting Tables If you would like to make the underlying values within the graphs available as tabular output, simply add a note for the project with the following text: (see table) 31 169。 2020 BMC SOFTWARE, INC. Exporting Tables Now when you drill down into the individual graphs you will see an option to show the table associated with the underlying values. 32 169。 2020 BMC SOFTWARE, INC. Exporting Tables Drilling down into the “Show Table” link reveals the underlying values for the graphs. Endusers can easily cut and paste these tables into other applications like Excel if they wish. 33 169。 2020 BMC SOFTWARE, INC. Sample output Th。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。