0% found this document useful (0 votes)
264 views17 pages

Ui8 PDF

A popup is a UI form that is displayed within the same window as the calling screen and returns the user to the previous screen once closed. True popups open in a separate window, but Guidewire avoids these due to potential issues. Popups are commonly used to view/edit existing objects and create new objects. The key steps to creating a view/edit popup are: 1) Create an inner detail view; 2) Create a popup file; 3) Specify popup properties; 4) Specify popup variables; 5) Specify the entry point. The navigation widget then opens the popup by calling the entry point and passing objects.

Uploaded by

Kevin Cool
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
264 views17 pages

Ui8 PDF

A popup is a UI form that is displayed within the same window as the calling screen and returns the user to the previous screen once closed. True popups open in a separate window, but Guidewire avoids these due to potential issues. Popups are commonly used to view/edit existing objects and create new objects. The key steps to creating a view/edit popup are: 1) Create an inner detail view; 2) Create a popup file; 3) Specify popup properties; 4) Specify popup variables; 5) Specify the entry point. The navigation widget then opens the popup by calling the entry point and passing objects.

Uploaded by

Kevin Cool
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

Popups

A popup is a location with a single screen and returns the

user to the previous location once the popup is closed


- Automatically has "Return to <previous location>" link

Why not use true popups?


An industry-standard popup is a UI form displayed in an

entirely separate window


Guidewire avoids true popups because of: - Potential synchronization problems with Internet Explorer when passing context and objects between windows - User tendency to have popup blockers Guidewire popups provide almost all the functionality of

true popups while avoiding these issues

Typical use cases for popups

new object Popup Popup Popup

selected object

Viewing and editing existing objects Creating new objects Executing "popped" searches

Viewing and editing existing objects

popup

Creating new objects


popup

Executing "popped" searches

popup

Lesson outline
Popup basics View/edit object popups

Widgets involved in view/edit popups


navigation widget (in FlagEntriesLV)

popup (FlagEntryPopup) screen (inline in popup)

inner detail view (FlagEntryDV)

Steps to create a view/edit object popup


1. Create inner detail view 2. Create popup file 3. Specify the popup properties 4. Specify the popup variables 5. Specify the popup entry point

6. Create screen and reference detail view


7. Configure the navigation widget 8. Reload the metadata

Step 1: Create inner detail view


Inner detail view created

in same manner as any other detail view


- If inner detail view does

not need to be reusable, it can instead be created inline as part of step 6

Step 2: Create popup file


"Popup" automatically appended to end of file name

Step 3: Specify popup properties


title - sets top label canEdit - if false, no

container or widget in location's screen is editable


canVisit - if false, no

widget navigating to location is visible/clickable


startInEditMode -

determines if popup starts in read-only or edit mode

Step 4: Specify popup variables

One variable needed for every object passed to popup

Step 5: Specify popup entry point


An entry point is a reference used by widgets to navigate

to a given location
Syntax: popupName( objName : objType ) - Can specify multiple comma-delimited objects

Step 6: Create screen and reference DV

A. Add a screen to popup B. Add a panel ref to screen

that references inner detail view

Use def property

C. If necessary, add toolbar and

add Edit buttons to toolbar

Step 7: Configure the navigation widget


Syntax: entryPointName.push( objectList )
FlagEntriesLV

FlagEntryPopup

Step 8: Reload the metadata

Deploy UI changes by pressing ALT + SHIFT + L

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy