-
Book Overview & Buying
-
Table Of Contents
JSF 1.2 Components
By :
In desktop software applications, trees represent a convenient and intuitive type of control that users can interact with to perform a variety of tasks, such as navigating a file system, managing operating system users and groups, browsing threaded messages on an Internet newsgroup, exploring an XML document, and working with other types of hierarchically structured data.
The Tomahawk component library includes a number of components that can be used to implement tree controls for our JSF applications. Let's look at some examples of how we can integrate a tree component with our file management example to enable users to browse the files that they've uploaded to our web application.
In this example, the<t:tree> tag is used to render a tree component on our JSF page. This time, instead of rendering the uploaded files as an ordered list, we render them as a dynamic tree.
<h:form enctype="multipart/form-data"> <h:panelGrid columns="1"> <...
Change the font size
Change margin width
Change background colour