36
5 things you need to know before you start building fluid projects SESSION 37066 Oct 12, 2016 EMEA Alliance 11-12 October 2016 10 Best Fluid UI controles and how to implement them

10 Best Fluid UI controles

  • Upload
    ledieu

  • View
    216

  • Download
    2

Embed Size (px)

Citation preview

Page 1: 10 Best Fluid UI controles

5 things you need to

know before you

start building fluid

projects

SESSION 37066

Oct 12, 2016

EMEA Alliance 11-12 October 2016

10 Best Fluid UI

controlesand how to implement them

Page 2: 10 Best Fluid UI controles

presenters

Priya Patel

Role: Developer

[email protected]

Stefan van Liempt

Role: Technical Consultant

[email protected]

EMEA Alliance 11-12 October 2016

PRESENTERS

Page 3: 10 Best Fluid UI controles

4

Objectives

Give you an idea what you can do with Fluid UI

controles.

How to implement them.

When to use them.

Page 4: 10 Best Fluid UI controles

5

Our Demo Application

Pop-up Menu

Stacked grid

<TOTAL SCREENSHOT>

Page to menu

Custom Grid header Related Actions

Page 5: 10 Best Fluid UI controles

6

Our Demo Application

Custom Action

<TOTAL SCREENSHOT>

Master/Detail Button bar

Accordions

Header

Footer

Page 6: 10 Best Fluid UI controles

7

# 1 – Stacked GridWhat is it and how to use it?

Combines two or more columns of data into a single column

Use it when more columns of data need to be displayed than will fit on

the page without introducing horizontal scrolling

Page 7: 10 Best Fluid UI controles

8

DEMO

8

How to implement?#1 – Stacked Grid

Page 8: 10 Best Fluid UI controles

9

# 2 – Custom Grid HeaderWhat is it and how to use it?

Allows to add your application buttons into the header of a grid like a filter

or any other button.

Peopletools provides a default Sort

Page 9: 10 Best Fluid UI controles

10

DEMO10

Outer groupbox

How to implement?#2 – Custom Grid Header

Page 10: 10 Best Fluid UI controles

11

# 3 – Pop-up Button / More buttonWhat is it and how to use it?

Pop-up button are used when you have limited button space on

your page

It allows you to tie multiple actions to one button

Page 11: 10 Best Fluid UI controles

1212

Outer groupbox

2nd groupbox

Inner groupbox

How to implement?#3 – Pop Up button

Page 12: 10 Best Fluid UI controles

1313

Outer groupboxHow to implement?#3 – Pop Up button

Page 13: 10 Best Fluid UI controles

1414

On pageActivate add the following

&sMenuTitle = "MyActions";

CY2_POPMENU_WRK.HEADER_ACTIONGROUP.SetGroupletMOptions("sStyle

@ps_popup-menu ps_menutype-act;sTitle@" | &sMenuTitle |

";bAutoClose@1;bMask@1;sMaskStyle@ps_masktrans;bVertical@1;bHe

ader@1;");

For a better layout and menu header.

How to implement?#3 – Pop Up button

Page 14: 10 Best Fluid UI controles

15

# 4 – Related ActionsWhat is it and how to use it?

Transfers the user to other functionality from the Grid

Provide quick access

Page 15: 10 Best Fluid UI controles

16

How to implement?#4 – Related Actions

16

DEMO

Page 16: 10 Best Fluid UI controles

1717

Define Related Content Services

Manage Related

Content Services

How to implement?#4 – Related Actions

Page 17: 10 Best Fluid UI controles

18

# 5 – Button BarWhat is it and how to use it?

Navigation headers that is places at the top of the page

Usually it gives a different view of certain data.

Page 18: 10 Best Fluid UI controles

1919

Create a new Fluid Subpage (PSL_APPS_CONTENT)

SUBPAGE

How to implement?#5 – Button Bar

Page 19: 10 Best Fluid UI controles

2020

Create a new Fluid Subpage (PSL_APPS_CONTENT)

How to implement?#5 – Button Bar

Page 20: 10 Best Fluid UI controles

2121

Add Subpage to Main page

How to implement?#5 – Button Bar

Page 21: 10 Best Fluid UI controles

Button bar subpagegroupbox

2222

Add Subpage to Main page

How to implement?#5 – Button Bar

Both groupbox

Page 22: 10 Best Fluid UI controles

23

# 6 - AccordionWhat is it and how to use it?

Allows large amounts of content into tiny spaces on the page.

E.g.: for menu items with category and subcategory

Page 23: 10 Best Fluid UI controles

2424

Outer groupbox

Inner groupbox

How to implement?#6 – Accordion

DEMO

Page 24: 10 Best Fluid UI controles

25

# 7 – Page to Menu Creation

What is it and how to use it?

• Component with multiple tabs(folder tabs) can be set

up with left side navigation (8.55).

Page 25: 10 Best Fluid UI controles

26

DEMO

26

How to implement?#7 – Page to Menu Creation

Page 26: 10 Best Fluid UI controles

27

# 8 – Master / DetailWhat is it and how to use it?

Shows left side

navigation(Master) with right

side content(Detail -

Fluid/classic components).

Cross-component ability.

Uses grouplets, group boxes

that show content from

another source.

PT delivers a component

(PT_MDSTARTPAGE_NUI) that

can be used to display

Master-Detail application

Page 27: 10 Best Fluid UI controles

28

DEMO28

Create a new Fluid Page (PSL_PANEL_NAV)

Wrap into subpages will give you more design space

How to implement?#8 – Master/Detail

Page 28: 10 Best Fluid UI controles

2929

How to implement?#8 – Master/Detail Outer Groupbox

Groupbox in the grid

Page 29: 10 Best Fluid UI controles

3030

Create a pageActivate on the MD page you just created.

How to implement?#8 – Master/Detail

Page 30: 10 Best Fluid UI controles

31

# 9 – Custom Action What is it and how to use it?

Approach to add custom links (with minimal impact) as additional list

items.

This will be done on the "Action Menu" aka the "Hamburger" icon.

Page 31: 10 Best Fluid UI controles

3232

Inner groupbox

Outer groupbox

How to implement?#9 – Custom Action

DEMO

Page 32: 10 Best Fluid UI controles

33

# 10 – Headers and FootersWhat is it and how to use it?

• Outside the scrollable portion of the page.

• Application header objects appear on all pages of the component.

• Only use footers for small form factor devices.

Page 33: 10 Best Fluid UI controles

3434

How to implement?#10 – Header/Footer

Outer Groupbox

Innermost GroupboxSecond Groupbox

Page 34: 10 Best Fluid UI controles

3535

Add the custom page to component.

Save as PT_FOOTER_SAVEONLY with custom page name.

Note: Add save/cancel peoplecode as desired to the added

buttons

How to implement?#10 – Header/Footer

Page 35: 10 Best Fluid UI controles

Other presentations at the HEUG-EMEA

• What is new in PeopleTools 8.55-

• Using the power of Fluid to build modern

Self-service functionality – Part 1

• Using the power of Fluid to build modern

Self-service functionality – Part 2

• Offering continuing education using

Program Enrollment & Campus Events

• Exploring the benefits of Fluid; three

example projects from a functional

perspective.

Page 36: 10 Best Fluid UI controles

Stefan van [email protected]

Priya [email protected]

Enjoy sharing knowledge

Thanks for

attending

this presentation!