HAWHAW JSP tag library


Standard Syntax:
     <%@ taglib prefix="haw" uri="/hawtags" %>

XML Syntax:
     <anyxmlelement xmlns:haw="urn:jsptld:/hawtags" />

HAWHAW JSP tag library 

(see also HAWHAW XML reference for more information and examples)

Tag Library Information
Display NameHAWHAW JSP tag library
Version0.1.9.1.1
Short Namehaw
URI/hawtags
 

Tag Summary
aProvides a link in a haw:deck, haw:linkset or haw:td sections.
buttonProvides a "button" within a haw:radio element.
checkboxProvides a single checkbox element in a haw:form section.
deckThe 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.
formDefines a form with the following elements: haw:input, haw:select, haw:radio, haw:checkbox, haw:hidden, haw:submit, haw:text, haw:img, haw:table or haw:hr

One haw:deck section can contain only one haw:form tag.
hawRoot tag of a HAWHAW JSP taglib file. Each HAWHAW JSP document must start with an opening haw:haw tag, followed by a more or less complex haw:deck section, and must finally end with the closing haw:haw tag.
hiddenProvides a transfer mechanism for "hidden" data in a haw:form element.
hrDraws a (hawrizontal) rule across the screen. You can use it to separate paragraphs in haw:deck or haw:form sections.
imgDisplays an image inside of haw:deck, haw:form or haw:td sections.
inputProvides a text input area in a haw:form section.
linksetDefines a set of links within a haw:deck section. The links have to be defined as haw:a tags within the haw:linkset section. On many mobile devices linksets allow easier navigation through decks and therefore are improving the "usability" of a site. Instead of painfully navigating through the links "sports->football->results->today" the mobile user e.g. can press "2431" on his keypad to enter his favorite deck.

One haw:deck section can contain only one haw:linkset tag.
optionProvides an "option" within a haw:select element.
phoneProvides a phone number in a haw:deck section. If supported by their mobile device, users can establish a voice connection to the specified number.
radioProvides a radiobutton element in a haw:form section.
rawInsert raw markup code for a given markup language. You can bypass HAWHAW's automatic markup code generation with this element. Handle with care!
selectProvides a "select" element in a haw:form element in order to choose one from various haw:option elements. This tag creates optimized WML for WAP devices which are capable to interprete the Openwave GUI extensions for WML 1.3. All other WAP devices receive WML 1.1 compatible markup code, which is quite similar to the markup code created by the haw:radio tag.
submitProvides a submit button in a haw:form section. One haw:form tag can contain only one haw:submit tag.
tableProvides a table in haw:deck or haw:form sections.

Note: Not all WAP clients are able to display tables properly! HDML is not supporting tables at all. For HDML users the table's content will be generated column-by-column, respectively row-by-row, where each table cell will result in one separate line on the display.
tdProvides a table data element in a haw:tr table row section. The haw:td tag can contain one haw:text, haw:img or haw:a tag. An empty haw:td tag results in an empty table cell.
textInserts some text inside of haw:deck, haw:form or haw:td sections.
trOne row of a haw:table tag.
voice_helpSets help text for voice browsers (VoiceXML only)
Applies within the parent tag, which can be haw:deck, haw:input, haw:checkbox, haw:radio or haw:select.
voice_noinputSets noinput text for voice browsers (VoiceXML only)
Applies for the parent tag, which can be haw:deck, haw:input, haw:checkbox, haw:radio or haw:select.
voice_nomatchSets nomatch text for voice browsers (VoiceXML only)
Applies for the parent tag, which can be haw:deck, haw:input, haw:checkbox, haw:radio or haw:select.
voice_textSets special text for voice browsers (VoiceXML only)
Default text is replaced. Tags without text output like haw:deck or haw:image can be enhanced.
 


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