1 / 15

JSF Tab Controls

Tab Controls. ?Tab controls are used to organize related information through a convenient, folder/style U.I. structure that consumes little

edena
Télécharger la présentation

JSF Tab Controls

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. JSF Tab Controls This Learning Module shows how to develop server-side EGL applications with dynamic content organized in JSF Tab Components

    2. Tab Controls ?Tab controls are used to organize related information through a convenient, folder/style U.I. structure that consumes little real estate. See example below of a common master/detail page pattern. See Notes*** Lets do a workshop that will show you how to create a page design pattern like this. Tab Controls are a very popular form of data display. They allow users to click from one informational view to another rather easily, and are excellent display components ESPECIALLY for one-to-many data models. For example, show a single customers details in a master section, then their purchases, returns, transactions, history, etc. all in different tabs. Tab controls are easy to create and use and can be programmatically manipulated using the JSF Component Tree (see section later in this course). They also allow users to flip through them in the browser. Lets check them out. Note that well use a fairly detailed example so this workshop will take a few minutes to complete Additional TechNotes: Tab panels support two levels of Events: Events that are across all of the panels in the tabs: onInitialPanelEnter and Exit, onInitialPanelShow Events that are fired off ONLY when the user clicks a specific panel: onenter/onexit. You must be selecting a panel in the tooling, in order to see these events in the QuickEdit viewTab Controls are a very popular form of data display. They allow users to click from one informational view to another rather easily, and are excellent display components ESPECIALLY for one-to-many data models. For example, show a single customers details in a master section, then their purchases, returns, transactions, history, etc. all in different tabs. Tab controls are easy to create and use and can be programmatically manipulated using the JSF Component Tree (see section later in this course). They also allow users to flip through them in the browser. Lets check them out. Note that well use a fairly detailed example so this workshop will take a few minutes to complete Additional TechNotes: Tab panels support two levels of Events: Events that are across all of the panels in the tabs: onInitialPanelEnter and Exit, onInitialPanelShow Events that are fired off ONLY when the user clicks a specific panel: onenter/onexit. You must be selecting a panel in the tooling, in order to see these events in the QuickEdit view

    3. ? Tab Controls 1 of 2 Create the Master Detail Record View Create a new .JSP page named: tabPage.jsp. Use a template. Add the page heading text, and drop an HTML table on the page: 3 Rows X 3 Columns. Width: 100% Add the literal text to the cells as shown below Add Output controls within the cells as shown below Optional Using copy/paste (of existing) and/or Content Assist, add two new .CSS entries to stylesheet.css Add a new outputText class Add a new transparent row class For the Tab control

More Related