NetUI Tag Library Documentation (Version 1.0.1)

netui Library

NetUI HTML controls taglibrary.


Standard Syntax:
<%@ taglib prefix="netui" uri="http://beehive.apache.org/netui/tags-html-1.0" %>
XML Syntax:
<anyxmlelement xmlns:netui="http://beehive.apache.org/netui/tags-html-1.0" />

Tag Summary
anchor

Generates an anchor that can link to another document or invoke an action method in the Controller file. 

areaGenerates a URL-encoded area to a specified URI. 
attribute

Adds an attribute to the parent tag rendered in the browser. 

baseProvides the base for every URL on the page. 
behaviorAdd an attribute to the parent tag rendered. 
bindingUpdateErrorsRenders the set of error messages found during the process of resolving data binding expressions (${pageFlow.firstname}, ${requestScope.firstname}, etc.). 
body

Renders an HTML <body> tag with the attributes specified. 

buttonRenders an <input type="button"> tag with the specified attributes. 
checkBox

Generates a single HTML checkbox. 

checkBoxGroupRenders a collection of checkbox options as <input type="checkbox"> and handles the data binding. 
checkBoxOptionRenders a single HTML checkbox within a group of checkboxes. 
configurePopupConfigures popup window parameters for parent tags that can open popup windows. 
contentDisplays text or the result of an expression. 
divPanelCreates an HTML <div> tag that may contain additional <div> tags. 
errorRenders an error message with a given error key if that key can be found in the ActionMessages registered in the PageContext at org.apache.struts.action.Action.ERROR_KEY
errorsRenders the set of error messages found in the ActionMessages registered in the PageContext at org.apache.struts.action.Action.ERROR_KEY. 
exceptionsRenders exception messages and stack traces inline on the JSP page. 
fileUploadRenders an HTML input tag with which users can browse, select, and upload files from their local machine. 
formRenders an HTML form that can be submitted to a Java method in the Controller file for processesing. 
formatDateA formatter used to format dates. 
formatNumberA formatter used to format numbers. 
formatStringA formatter used to format strings. 
hiddenGenerates an HTML hidden tag with a given value. 
html

Renders an <html> tag. 

imageRenders an HTML <img> tag with specified attributes. 
imageAnchor

Generates a hyperlink with a clickable image. 

imageButtonRenders an <input type="image"> tag with the specified attributes. 
labelAssociates text with an input element in a <netui:form>
parameterWrites a name/value pair to the URL or the parent tag. 
parameterMap

Writes a group of name/value pairs to the URL or the parent tag. 

radioButtonGroupRenders a collection of radiobutton options as <input type="radio"> and handles the data binding of their values. 
radioButtonOptionGenerates a single radiobutton option in a group of options. 
retrievePopupOutputCauses a value to be retrieved when a popup window closes. 
rewriteNameAllows a name, typically either an id or name attribute, to participate in URL rewritting. 
rewriteURLAllows a URL to participate in URL rewritting. 
scriptBlock

Outputs a script block into the generated HTML. 

scriptContainerActs as a container that will bundle up JavaScript created by other <netui...> tags, and outputs it within a single <script> tag. 
scriptHeaderScriptHeader will write the <script> and JavaScript includes into the HTML <head> tag. 
selectRenders an HTML <select> tag containing a set of selectable options. 
selectOptionRenders a single <option> tag. 
span

Generates styled text based on a String literal or data binding expression. 

textAreaRenders an HTML <textarea> tag. 
textBoxRenders an HTML <input type="text"> tag. 
treeRenders a navigable tree of org.apache.beehive.netui.tags.tree.TreeElement objects. 
treeContentSet the additional content that will be displayed on the right of the label of a tree. 
treeHtmlAttributeSet an attribute on the tree. 
treeItemAdds a tree node to the parent node (either a <netui:tree> or another <netui:treeItem>). 
treeLabelSet the text displayed for the selection link the given tree node (the TreeItem tag). 
treePropertyOverrideOverrides the tree properties. 
 

Library Information
Display NameNone
Version1.0
Short Namenetui
URIhttp://beehive.apache.org/netui/tags-html-1.0