• Introduction
• Site Structure
• Page Assembly
• URL Handlers
• Multi-View Strings
• Authentication
• Database
• Error Handling
• Validation
• Config Data
• Logging
• EDP
•
• Formatters
• Images
• API Utilities
• Developer Tools
Tags:
fwpGui_checkboxTypes:
fwp_listRcrdsConfigs:
listTbl_{name}There are several common web page user interface features that the pageblocks GUI toolkit will automatically write the code for based upon simple configuation data. Value lists, vertical and horizontal text menus, and graphical rollover menus are all drawn from short configuration files with a significant degree of flexibility.
Popup menus, list boxes, checkbox and radio button groups are all implemented with simple tags and universal configuration files. The tags allow for multiple list types as sources, and a single source list can be rendered as any value list type. Checkbox and radio buttons have clickable labels (for browsers that support them) and can be displayed vertically or horizontally. Parameters also allow control of default values, blank options, and more.
Even if you're used to using a GUI web editor, you'll want to use this method of creating rollover menus. The code is smaller and faster than that of the GUI editors, and takes less time to prepare and maintain. Multiple menus per page are supported, and entire image arrays consisting of active buttons and inactive support graphics are supported. This awesome time saver can be used to construct whole mastheads or single buttons.
Rollover states of mouseover, mouseout, and onclick are all supported. Context aware highlighting of buttons to indicate navigation location is automated. Buttons can be highlighed based just on the individual page or on the folder the current page is within. GET form parameters can be automatically added to the links.
Text menu tags use a simple configuration file or array to construct horizontal and vertical layouts. Horizontal menus have user defined separator and end cap characters, and vertical menus support indentation levels for sub-menus. Highlighting of menu items is supported based on the current page name or folder name. Menus can include dynamic GET form parameters.
Another massive time saver, the pageblocks user interface framework includes a feature rich list drawing routine that creates a table of found records from a database search. Links to individual records for viewing, updating, or deleting, can be made through a text link or a graphic button in a POST form if included. The most significant feature is the support of list sorting. Each column can be configured to sort with the click of a small graphic in the column label. The sorted column is highlighted, and alternating row colors is also supported. Clicking the same column alternates ascending and descending sort order. The entire table definition is based on CSS classes. Three levels of sorting are supported (i.e. sort by names within a city within a state). The list accepts a named inline, an array of arrays, or an array of maps as the input source.
A custom text markup system can be used in standard web forms fields to allow web site administrators to stylize text, include links, and embed images without learning HTML, and without exposing your system to JavaScript injection.
© 2002-2012, pageblocks.org