HAWHAW JSP tag library
Tag deck


The haw:deck tag is nested inside the haw:haw tag. Each HawTags document must contain exactly one haw:deck tag. The term "deck" comes from the WAP terminology. Using HAWHAW you can consider a deck as a small web page, which contains the content you have declared in the HawTags document.

A lot of attributes allow to control the appearance of the haw:deck tag on various browsers and devices.

The markup language and the HTTP response headers created by HAWHAW are depending from the detected browser/device. For WML browsers one deck with one card will be generated. For HDML browsers one deck including as much cards as necessary will be generated. HTML browsers will receive a normal HTML page. PDA browsers will receive handheldfriendly HTML etc.

Do not overload HAWHAW decks because a lot of WAP clients can not handle more than about 1400 byte of compiled data.


Tag Information
Tag Classde.hawhaw.hawtags.tags.DeckTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
titlefalsetrueString(optional) - The title will be displayed in the HTML title bar, respectively somewhere on a WAP display. Using a title you will normally have to spend one of your few lines on your WAP display. Consider that some WAP phones/SDK's and handheld devices don't display the title at all!
alignfalsetrueStringControls the alignment of the whole deck.
"left" (default) | "center" | "right"
outputfalsetrueStringautomatic (default) | bigscreen | wap | hdml | pda | imode | mml | voicexml | xhtml
You can override HAWHAW's automatic browser detection and force a certain output type. With this attribute you can offer dedicated links for PC's, WAP phones, PDA's, XHTML phones etc.
redirectionfalsetrueString(optional) - Causes redirection after specified seconds to a URL.
Syntax: redirection="10; URL=http://www.foo.com/bar.jsp"
Redirection is not necessarily supported by all devices. It is always a good idea to declare an additional link in case the automatic redirection does fail.
cachefalsetrueStringyes (default) | no
Disables deck caching in the users client.
Note: Use this attribute, if you intend to provide changing content under the same URL.
charsetfalsetrueStringSets a given charset (default: utf-8, until hawhaw.inc V5.19: iso-8859-1)
skinfalsetrueString(optional) - Replaces the default skin with a user-defined skin, which has to be defined in a CSS file that is addressed by the skin attribute.
See CSS file of HAWHAW default skin for more info.
Set to "none" to disable skinning or "classic" to enable classic HAWHAW style.
cssfalsetrueString(optional) - Sets a css file for css-enabled browsers.
css_classfalsetrueString(optional) - sets a css class for this deck
backgroundfalsetrueString(optional) - Sets a window wallpaper for a HTML (big-screen browser) page.
bgcolorfalsetrueString(optional) - Sets a window background color for a HTML (big-screen browser) page. Has no effect on WML/handheld pages. See HTML specification for possible values (e.g. "#CCFFFF", "red", ...).
sizefalsetrueString(optional) - Sets the font size for all characters in a (X)HTML created page. Has no effect on WML/handheld pages. See HTML specification for possible values (e.g. "12pt", ...).
colorfalsetrueString(optional) - Sets the color for all characters in a (X)HTML created page. Has no effect on WML/handheld pages. Nevertheless, haw:text tags can overwrite this attribute by defining their own color attributes. See HTML specification for possible values (e.g. "#CCFFFF", "red", ...).
link_colorfalsetrueString(optional) - Sets the color of links in a (X)HTML created page. Has no effect on WML/handheld pages. See HTML specification for possible values (e.g. "#CCFFFF", "red", ...).
vlink_colorfalsetrueString(optional) - Sets the color of visited links in a (X)HTML created page. Has no effect on WML/handheld pages. See HTML specification for possible values (e.g. "#CCFFFF", "red", ...).
link_bracketsfalsetrueStringyes (default) | no
Defines whether links are shown within square brackets or not.
facefalsetrueString(optional) - Sets the font for all characters in a (X)HTML created page. Has no effect on WML/handheld pages. See HTML specification for possible values (e.g. "Avalon", "Wide Latin", ...).
languagefalsetrueString(optional) - Sets a given language.
Note: Specifies the main language of the deck, as e.g. english, german, japanese or whatever. Language declaration is highly recommended in order to provide barrierfree content and as is required to validate a deck as Bobby AAA approved!
The language code is to be specified according ISO 639, e.g. "en", "de", etc.
waphomefalsetrueString(optional) - Sets the URL of a WAP site, a HTML-browsing user is invited to enter wireless. Has no effect on WML/handheld created pages.
Note: Below the display of a HTML-created page, a small copyright link to the HAWHAW information page will be created automatically by HAWHAW. The information page in return invites the visitor to take a look via WAP at your hybrid page. Therefore by default your hostname and your refering script will be part of this copyright link. You can modify this value, e.g. if your application directs the user with get-method queries across different pages, but you want to make visible the entry page only.
voice_jinglefalsetrueString(optional) - Play jingle before haw:a link labels are spoken.
Note: Voice users can not distinguish between plain text and link text. Playing a short jingle before each link will make voice navigation easier.
Example: voice_jingle="http://www.foo.com/jingle.wav"

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.