Beruflich Dokumente
Kultur Dokumente
Optimizing
Pages for
Classic Plus
RED PAPER / NOVEMBER 14, 2018
DISCLAIMER
This material has not been submitted to any formal Oracle test and is published as is. It has not been
the subject of rigorous review. Oracle assumes no responsibility for its accuracy or completeness. The
use of this information or the implementation of any of these techniques is a customer responsibility
and depends on the customer's ability to evaluate and integrate them into the customer's operational
environment. While each item may have been reviewed by Oracle for accuracy in a specific situation,
there is no guarantee that the same or similar results will be obtained elsewhere. Customers
attempting to adapt these techniques to their own environments do so at their own risk.
Information in this red paper was developed in conjunction with use of the products specified and is
limited in application to those specific hardware and software products and levels.
Oracle may have patents or pending patent applications covering subject matter in this document. The
furnishing of this document does not give you any license to these patents
Overview...................................................................................................... 8
Grids ...........................................................................................................................................11
Group Boxes...............................................................................................................................11
Hyperlinks ...................................................................................................................................12
Change Custom Position to Fix Label Alignment and Overlap Issues ........................................20
Fix Vertical Spacing and Horizontal Alignment Issues Between Group Boxes ...........................42
Authors ...................................................................................................... 56
This red paper is a practical guide for technical users, installers, system
administrators, and programmers who implement, maintain, or develop
applications for your PeopleSoft system. In this red paper, we discuss
guidelines on how to optimize classic pages to display well when the
classic plus theme is in effect.
This red paper provides guidance for optimizing classic pages to display
well when the classic plus theme is in effect.
Oracle updates this document as needed so that it reflects the most current
feedback from internal software development teams and from the field.
Therefore, the structure, headings, content, and length of this document
may vary with each posted version. To see if the document has been
updated since you last downloaded it, compare the date of your version to
the date of the version that is posted on My Oracle Support.
RELATED MATERIALS
With the introduction of the PeopleSoft Fluid User Interface in PeopleTools 8.54, fluid pages and
traditional classic pages have co-existed together in all PeopleSoft applications, and will continue to do
so. With PeopleTools 8.56, “classic plus” was introduced to unify the look of select classic pages with
the fluid interface. With classic plus, reworked pages in selected classic components are displayed
with fluid-like styling.
Starting with PeopleTools 8.56 and continuing with subsequent releases, the pages within specific
classic components have been reworked, and the components are delivered with the classic plus
setting enabled. Moreover, each PeopleSoft application except for Campus Solutions is also delivering
many components as classic plus with each update image.
You may wish to update your own custom classic components to classic plus on a component-by-
component basis. This red paper contains instructions on how to do so along with guidelines and
troubleshooting information to help you with the process.
To do so:
3. On the Style tab, select the Theme Selection: Classic Plus check box.
In some cases, no rendering issues will be encountered. The pages are rendered acceptably in
classic plus and no rework is required.
However, if you suspect that there are rendering issues, do the following:
– Review the section, Standard Page Controls When Rendered as Classic Plus, to ensure you
understand the default styling for standard page controls in classic plus.
– Review the guidelines in Troubleshooting Issues with Classic Plus Rendering to identify solutions
to commonly encountered problems.
6. If your system has more than one installed language, review the pages in the component again in
one or more of the languages installed on your PeopleSoft system. See Retest in Other Installed
Languages for more information.
Check Boxes
Edit Boxes
Figure 9. Example of an edit box (with focus) with a lookup prompt in classic plus
Grids
Many of the controls on a grid in classic plus resemble the controls on a fluid grid.
Group Boxes
Figure 12. Example of a group box with hidden borders in classic plus
Figure 14. Example of a hyperlink in classic plus when the cursor is over the link
Figure 18. Example of a long edit box (with focus) in classic plus
Figure 19. Example of page tabs and grid tabs in classic plus
Figure 21. Example of a primary action button in classic plus when the cursor is over the button
Figure 23. Example of a push button in classic plus when the cursor is over the button
Scroll Areas
Many of the controls on a scroll area in classic plus resemble the controls on a fluid scroll area.
SYMPTOMS
If page controls are misaligned in classic, then you can expect that the misalignments will be magnified
when the page is rendered in classic plus. Review the page rendering in both classic plus and classic
to determine whether misalignment in classic plus is due to existing misalignment in classic or due to
some other cause.
In the following example from the My System Profile page, several controls in the Personalizations
group box are not well aligned. Specifically, the field value of English on the first line is not aligned with
the other three field values. On the second line, the field label wraps; in this example, the standard
field label for the drop-down list box is not used and it is replaced by PeopleCode at runtime.
SOLUTION
To fix these problems, modify the positioning of the controls in Application Designer. Notice that the
first drop-down list box is not left-aligned with the other three.
Move the other three controls so that the field values are left-aligned with the first drop-down list box.
Also, right-align the label for the first drop-down list box so that the label is aligned with the others.
Finally, consider how much space is required for the runtime label that replaces Language Code, and
move all of the controls farther to the right if necessary.
Figure 28. After: Page controls in the Personalizations group box in Application Designer
Figure 29. After: Fields in the Personalizations group box in classic plus
SYMPTOMS
When non-default styles are applied to page controls, then these items will not render appropriately in
classic plus. The font size, spacing, and color will not resemble other controls on the page. The
PeopleTools-delivered classic plus style sheet (PT_CLASSIC_PLUS) updates the look of delivered
default styles only. Therefore, if any non-default styles are used, then the styling that appears for these
styles in classic rendering passes through unchanged by the classic plus style sheet.
In this example from the Component Branding page, the text for Style Sheet Name and JavaScript
Name are in a smaller blue font with a light blue background.
Figure 30. Before: Non-default styles used on the Component Branding page in classic plus
To fix this problem, set the Style property for the page controls to *** Use Default Style ***, which
allows the system to apply the default style for that control. Depending on the page control, the Style
property is set in one or more locations in the properties dialog box:
• For push buttons and hyperlinks, the Style property is set on the Type tab.
• For grids and scroll areas, the following style properties can be set on the Label tab:
– On the Record tab, the Style property for the edit box data.
– On the Label tab, the Style property for the label text.
• For group boxes, the following style properties can be set on the Label tab:
Figure 31. Before: The Style property set to a non-default value in Application Designer
Figure 32. After: Default styles used on the Component Branding page in classic plus
SYMPTOMS
When the font size, spacing, and colors do not resemble standard classic plus styling across the entire
page or component rather than just for one or two page fields, then a custom style sheet may have
been applied at the page level or at the component level.
SOLUTION
• On the Page Properties dialog box, select *** Use Default Style *** for both the page style sheet and
the page background.
• On the Style tab of the Component Properties dialog box, delete any custom style sheet objects.
• In the browser, in PeopleTools > Branding > Component Branding, delete any custom style sheet
objects.
SYMPTOMS
When a label is set to a custom position, it can appear misaligned in classic plus.
In the following example from the Current User Sessions page, the Last Page Refresh label is higher
than the field’s data.
Figure 33. Before: Field label misalignment on the Current User Sessions page in classic plus
SOLUTION
To fix this problem, change the custom position setting to Left, which is the setting recommended by
PeopleTools development to fix label alignment issues like this. On the Label tab of the page field
properties dialog box, select Position: Left.
RESULTS
Figure 35. After: Field label properly aligned on the Current User Sessions page in classic plus
In the following example from Edit Prompt Properties, the labels for Format, Field Type, and Edit Type
overlap the drop-down list box fields.
SOLUTION
To fix this problem, change the custom position setting to Top, which is the setting recommended by
PeopleTools development to fix label overlap issues like this. On the Label tab of the page field
properties dialog box, select Position: Top.
Figure 38. After: Field, Field Type, and Edit Type labels no longer overlap in classic plus
SYMPTOMS
The content of HTML areas does not match classic plus styling. Because the content, format, and
styling of HTML areas is entirely up to the application developer, the default PeopleTools styles that
apply to standard page controls are often not used. Therefore, classic plus overrides are not applied to
most HTML areas.
In the following example, the HTML area generates a grid-like structure. However, significant portions
of the “grid” data is missing including many “columns” of data.
SOLUTION
To fix this problem, you need to analyze the HTML code defined for the HTML area, the HTML
generated for the page, or both.
The following example shows the HTML structure generated for our example. It has an HTML table
structure similar to that of PeopleTools-generated grid. However, instead of using default, PeopleTools
grid style classes, it uses the PSQRYRESULTSHDR, PSQRYRESULTSODDROW and
PSQRYRESULTSEVENROW style classes as shown in the example.
Figure 40. Before: Examining the generated HTML for an HTML area
Next, map the styles used to default PeopleTools styles defined in the PT_CLASSIC_PLUS style
sheet. Ideally, you would change the HTML code of your HTML area to apply default PeopleTools
styles to the structural elements of your HTML area. Then, the generated HTML would be styled
appropriately.
Figure 41. After: PT_CLASSIC_PLUS style sheet modified to include mapped non-default styles
Figure 42. After: An HTML area properly styled for classic plus
SYMPTOMS
In some circumstances, the increase in font size for classic plus rendering will result in field labels
wrapping. There are multiple causes for this problem. In some cases, label alignment alone is the
cause. In other cases, when multiple fields exhibit the problem, then the group box or page containing
the fields is too small. In other cases, a PeopleCode program updates the label text to a string that is
longer than what is displayed in Application Designer at design time.
In the following example from the Archive Data page, the Commit Frequency label wraps.
SOLUTION
To fix this problem, change the label alignment and size to match its position and usage on the page.
In this example, the label should be right-aligned to the field. In addition, the amount of space allotted
to the label needs to be increased. On the Label tab of the page field properties dialog box, select
Alignment: Right. In addition, move the page control to the right and increase the size of the label area.
RESULTS
In the following example from the Specify Display Options page of Pagelet Wizard, the labels within
the Chart Options group box all wrap to a second line.
Figure 47. Before: Field labels wrapping in the Chart Options group box in classic plus
SOLUTION
To fix this problem, increase the size of the group box containing the page controls. However, in this
case, increase the page size first to accommodate the resized group box and repositioned page
controls.
In this example, the page width was increased from 599 to 672 pixels.
Then, increase the width of the group box containing the page controls and reposition the controls
themselves.
Figure 50. After: Field labels no longer wrap in the Chart Options group box in classic plus
In some cases, a PeopleCode program updates the label text at runtime to a string that is longer than
the label displayed in Application Designer at design time.
SOLUTION
Increase the space available to the label by moving the page control slightly to the right.
RESULTS
In the following example, the label in Application Designer is Control ID, which is updated by a
PeopleCode program to be Save Parameters.
SYMPTOMS
In some cases, a custom field size will cause the page to be generated with extra white space on the
right and a horizontal scroll bar.
In this example from the Manage Request Approval page, the horizontal scroll bar and the extra white
space on the right appear to be unnecessary.
Figure 52. Before: A horizontal scroll bar is displayed without apparent content to scroll to
SOLUTION
Note that the page definition in Application Designer also shows the effect of the custom field size at
design time.
To fix this problem, change the custom size setting to Average, which is the setting recommended by
PeopleTools development to fix field length issues like this. On the Record tab of the page field
properties dialog box, select Size: Average.
RESULTS
Figure 54. After: A horizontal scroll bar no longer appears in classic plus
SYMPTOMS
In some cases, some of the controls in grid and scroll area headers wrap to a second line.
SYMPTOMS
In the following example, the full text of the button in the last column is: ℗View DetailsNNNN⊗.
SOLUTION
To fix this problem, increase the width of the grid column and then adjust the size of the label text if
necessary. In this example, the label size was changed from Standard Text to Custom, and the column
width was increased.
Figure 61. After: Label size set to Custom and column width increased in Application Designer
RESULTS
Figure 62. After: Content of the grid column is no longer truncated in classic plus
SYMPTOMS
In the following example from the Refine Inquiry Criteria modal window, Go To Budget Search is
truncated on the button.
SOLUTION
To fix this problem, increase the width of the push button page control. Notice in this example that the
full button label is not displayed in Application Designer either.
Figure 65. After: Button label text is no longer truncated in Application Designer
Figure 66. After: Button label text is no longer truncated in classic plus
SYMPTOMS
In classic plus, the primary button on a page is displayed in green rather than gray. PeopleTools will
automatically render the PeopleTools-generated Save button as the primary button. However, in some
circumstances, PeopleTools will not identify and highlight the primary button on a page.
SOLUTION
To fix this problem, manually set one button as the primary button by selecting the Activate by Enter
Key check box on the Use tab of the Push Button/Hyperlink Properties dialog box.
Fix Vertical Spacing and Horizontal Alignment Issues Between Group Boxes
SYMPTOMS
In some cases, when multiple group boxes are stacked above one another on a page, the vertical
spacing between the group boxes is uneven, and the group boxes may not be aligned horizontally.
These issues become more apparent when all of the group boxes are collapsed.
In the following example, several collapsed group boxes are stacked one above the other. Three
issues are presented:
• Two group boxes are not aligned horizontally with the others.
SOLUTION
• To make the vertical spacing between the group boxes even, change the
PABACKGROUNDINVISIBLE body style to PTCPGROUPBOXMINPADDING, which reduces the
padding above and below each group box.
• To remove the gray background from the label for one group box, also remove the non-default style
from that group box’s label.
RESULTS
Figure 70. After: Group boxes have even vertical spacing and are aligned horizontally in classic plus
SYMPTOMS
In some circumstances, alignment and spacing issues are not attributable to alignment settings for
individual page controls. In classic plus, extra padding is added inside group boxes and frames.
In the following example, a grid-like structure has been simulated using three separate group boxes.
However, in classic plus, the “rows” of data are not aligned vertically.
Figure 71. Before: Extra group boxes result in alignment issues in classic plus
SOLUTION
Evaluate whether all group boxes and frames are actually required.
• Remove the second and third group boxes (labeled Actual Totals and Differences).
• Extend the first group box labeled Control Totals to encompass all of the data fields. Remove the
label for this group box.
• Add static text using the PSGROUPBOXLABEL style to create the “column” headings.
Figure 73. After: A single group box (Control Totals label not yet removed) encompasses all of the data fields
Figure 74. After: A single group box resolves alignment issues in classic plus
EXAMPLE 2:
In the following example, fields on different subpages are not aligned when the Define Feed Data
Types page is rendered in classic plus.
SOLUTION
Fixing this problem can require multiple iterations since the contents of the subpages cannot be
viewed side-by-side in Application Designer at design time. You may need to make subtle changes,
view the results in the browser, and then make additional subtle changes.
First, resize each of the subpages to provide additional space for the page controls. Then, reposition
the page controls slightly to the right. Review the changes in the browser and continue to reposition
page controls until the alignment is correct.
Figure 79. After: Fields on separate subpages are aligned in classic plus
SYMPTOMS
In some cases, page controls are arranged to resemble a grid-like structure. In addition,
unconventional styles are applied to controls to emulate the look of a grid. Often, subtle alignment
issues are already present in classic. These alignment issues are magnified when these non-standard
structures are rendered in classic plus.
Note: While styles reserved for other constructs (grids, specifically) have been applied as a technique
to highlight these fields, these non-standard usages were not removed in the final solution presented in
this paper.
Figure 80. Before: Fields aren’t aligned properly and use non-standard styles
SOLUTION
To fix this problem, reposition the page field by reducing the Top value from 38 to 35.
Figure 81. Before: Page field and its label are misaligned in Application Designer
Figure 82. After: Fields are aligned properly but still use non-standard styles
SYMPTOMS
In some circumstances, page controls are not well aligned or have too much space between them.
In the following example from the Metadata Conversion page, there is too much horizontal space
between the Convert and Delete buttons, and between the Category edit box and the Search button,
Figure 83. Before: Buttons and input fields are spread too far apart in classic plus
To fix this problem, enclose all four page controls within a frame without borders.
RESULTS
Figure 85. After: Buttons and input fields are grouped more tightly in classic plus
Similar to the previous example, there is too much horizontal space between the page controls. In
addition, there are label alignment issues.
SOLUTION
To fix this problem, enclose all eight page controls within a frame without borders.
Figure 88. After: Buttons and input fields are grouped more tightly in classic plus
• In activity guides.
• When the main page opens another component or page in a modal window.
Customer Validation
Oracle is working with PeopleSoft customers to get feedback and validation on this document.
Lessons that are learned from these customer experiences will be posted here.
Field Validation
Oracle Consulting Services has not yet provided feedback and validation on this document. Additional
lessons that are learned from field experience will be posted here.
AUTHORS
PeopleTools Development: Vishwanath Bv, Swetapadma Parida, and Dave Pierce.
REVISION HISTORY
DATE CHANGE
Worldwide Headquarters
500 Oracle Parkway, Redwood Shores, CA 94065 USA
Worldwide Inquiries
TELE + 1.650.506.7000 + 1.800.ORACLE1
FAX + 1.650.506.7200
oracle.com
CONNECT W ITH US
Call +1.800.ORACLE1 or visit oracle.com. Outside North America, find your local office at oracle.com/contact.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the contents hereof are
subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed
orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any
liability with respect to this document, and no contractual obligations are formed either directly or indirectly by this document. This document may not be
reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or
registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks
of Advanced Micro Devices. UNIX is a registered trademark of The Open Group. 1118
Guidelines for Optimizing Pages for Classic Plus
November 14, 2018
Authors: Vishwanath Bv, Swetapadma Parida, and Dave Pierce