1 / 56

Presentation Sections

Managing Web Content With Core Focus And HTML/XML Part I Summit 2001, Orlando Desert, California Bob Hughes and Laura Voss-Allen, California State University, Hayward rhughes@csuhayward.edu , lvoss-allen@csuhayward.edu NORCAL FUSE: http://www.csuhayward.edu/FOCUS/ncalibug.htm.

manelin
Download Presentation

Presentation Sections

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Managing Web Content With Core FocusAnd HTML/XML Part ISummit 2001, Orlando Desert, California Bob Hughes and Laura Voss-Allen, California State University, Haywardrhughes@csuhayward.edu, lvoss-allen@csuhayward.eduNORCAL FUSE: http://www.csuhayward.edu/FOCUS/ncalibug.htm

  2. Presentation Sections • Section One • Custom HTML and Core FOCUS • Simple and Complex Reports • Table Handling, Page Handling • Embedded hyperlinks, Images • Automatic FTP Parameter Passing • Section Two • Custom HTML/XTML and Core FOCUS • HTML/XML Integration • Data Separation • True Paging with JavaScript Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  3. Why Use Core MF Focus For Web Site Content Updating? • That’s all you have • More Control • Integration With Other Systems Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  4. CSUH Environment • IBM S/390 (at Cal Poly SLO) • Focus S/390/v7.08r (at Cal Poly SLO) • FFW Pro (v6.13-6.4,Desktop v7.20a-4.21) • FFW/Desktop Runtime • Focus Personal Agent Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  5. Main HTML Steps... • Decide on Simple vs. Custom Page Layout • Use DEFINE Facility For HTML Tag Creation • Incorporate HTML Tags into Focexec • Save HTML Report in WP Hold File • Use FTP Dynamic Focexec to move to any IP address (Web Server, etc.) Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  6. Simple Layout • Uses Minimum Amount Of HTML Code To Convert Focus Report To HTML • Preserves Original Focus Layout And Data Presentation • Helps To Keep File Size Small • Requires Very Little Effort Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  7. Simple Layout HTML Tags • <HTML></HTML> • HTML File Declaration • <BODY></BODY> • Page Body Identification • <PRE> </PRE> • Preformatted Text Control Option Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  8. Simple Layout Temp Work File Setup Use of WITH Required InDefines When No ‘Real’ Fields Referenced Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  9. Simple Layout(cont’d) ON TABLE SUBHEAD and SUBFOOT Used To Handle HTML File Start and End Tags Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  10. Simple Layout(cont’d) HAYFTP Focexec Called To Handle Dynamic FTP JCL Generation And Submission DFLSET Parameter Points To Default Set Record In Defaults Management Database That Holds FTP Parameters For HAYFTP Focexec Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  11. Simple Layout(HTML) Only Three HTML Tags At Beginning And End Of Report File For Focus Report “As Is” HTML Page Conversion Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  12. Simple Layout(results) Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  13. Custom Layout#1 • Tables Used For Data Presentation • Font Sizing and Color Control Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  14. Custom Layout #1 HTML Tags • <HEADING></HEADING> • Heading Section Declaration • <TITLE></TITLE> • Page Title Declaration • META Name=[options keywords,description] • <SCRIPT>[javacript,jscript,etc]</SCRIPT] • <BODY [options bgcolor, background, onload[javascript] > </BODY> Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  15. Layout #1 HTML Tags(cont’d) • <TABLE [options width, bgcolor, background,cellpadding,cellspacing] > </TABLE> • Table Format Tag • <TR [options align,...]></TR> • Table Row Tag • <TD [options align, halign, valign, width, colspan, rowspan, bgcolor></TD> • Table Cell Tag • Tables may be embedded within Tables Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  16. Layout #1 HTML Tags(cont’d) • <BR> • Line Break Tag • <P> • Paragraph Start Tag • <HR> • Draw Line Tag • <FONT [options color,size,…][ …any text...]</FONT> Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  17. Custom Layout#1 HTML Tag Defines Use HTML Tag Nomenclature For Easy Define Name Recall Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  18. Custom Layout#1(cont’d) Multiple Defines Use For Setting Up ‘Standard Options’ For HTML Alignment And Related Format Control HTML Tags Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  19. Partial HTML Tag Defines • Separate Defines Used For Portions of HTML Tag • Increases Flexibility • Reduces Number of Defines • Makes Changes Easier To Static Focexec • Allows for More Control options when Focexec includes DM with Window, Winform or DM Front End Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  20. Custom Layout#1(cont’d) Partial HTML Tag Embedded Defines For Handling HTML Tags With Multiple Formatting Options Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  21. Custom Layout#1(cont’d) TR Defines Handle HTML Table Row Tags TD Defines Handle Table Cell Tags Field Names Embedded Between Cell Tag Defines Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  22. Custom Layout#1(cont’d) Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  23. Custom Layout#1(HTML) Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  24. Custom Layout#1(Results) Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  25. Custom Layout#2 • Tables Used For Data Presentation • Font Sizing and Color Control • Computed Hyperlinks For Internal Page Target and External Page Navigation Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  26. Custom Layout#2 HTML Tags • <a href=“[link option to any local or remote page or internal target on current page”] target=“[frame target option]”>[...any text or image reference…]</a> • HTML hyperlink Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  27. Custom Layout#2 Defines Used To Handle Hyperlink HTML Tags And Control Information Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  28. Custom Layout#2(cont’d) TR Defines Handle HTML Table Row Tags TD Defines Handle Table Cell Tags Field Names Embedded Between Cell Tag Defines Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  29. Page Navigation Computes • Computes Used Instead Of Defines To Handle TABPAGENO Field Activation Problem • Computed Field Used to Handle NEXT Internal Target Hyperlink HTML Object • Computed Field Handles Incrementing and Decrementing of TABPAGENO Field Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  30. Custom Layout#2(cont’d) Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  31. Custom Layout#2(cont’d) Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  32. Custom Layout#2(cont’d) Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  33. Custom Layout#2(HTML) Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  34. Custom Layout#2(HTML) Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  35. Custom Layout#2(Results) Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  36. Custom Layout#3 • Tables Used For Data Presentation • Font Sizing and Color Control • Computed Hyperlinks For Internal Page Target and External Page Navigation • Image Inclusion and Image Hyperlink Activation Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  37. Custom Layout#3 HTML Tags • <IMG SRC=“…any GIF or JPG image” [options border, alt, width, height,...]> • Note: often used with hyperlink <a href=“…”></a> tag set to produce ‘clickable’ images for internal page target and external page/site navigation Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  38. Custom Layout#3 Border Partial Tag Define Hyperlink Partial Tag Define Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  39. Custom Layout#3(cont’d) Hyperlink Tag with embedded Image Tag and use of Partial HTML Tag Defines Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  40. Custom Layout#3(Results) Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  41. Custom Layout#4 • Tables Used For Data Presentation • Font Sizing and Color Control • Image Inclusion and Image Hyperlink Activation • Drill Down Report Hyperlinks • Within Table Custom Color Control Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  42. Custom Layout#4 Border Partial Tag Define Hyperlink Partial Tag Define Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  43. Custom Layout#4 Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  44. Custom Layout#4 Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  45. Custom Layout#4 Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  46. Custom Layout#4 Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  47. Custom Layout#4 Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  48. Custom Layout#4 Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  49. FTP Focexec Handling • Automatic FTP JCL Parameter Passing • Dynamic Creation of FTP JCL Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

  50. HAYFTP Focexec Defaults normally collected from Defaults Management System Database Domain Restriction Enhances Outbound Security Summit 2001 - Bob Hughes & Laura Voss-Allen, Cal State Univ., Hayward

More Related