Sun Java Studio Creator 2 – Online Help
 

About Components

See Also | Tutorials

Components are reusable user interface elements that you can use to build the visual interface for your page. Components are rendered into HTML page elements such as text, hyperlinks, or form elements. The components in the IDE are based on JavaServer Faces technology and use JavaScript.

Components have properties, which describe the appearance, state, or other features of a specific component on a page. You can edit properties by using the Properties window, or you can bind properties to values contained in other components or services such as databases or web services.

By default, components that you add to a page are arranged on the page by position: Where you place them in the Visual Designer is where they will appear on the final HTML page. You can stack components on top of each other using the Bring to Front and Send to Back menu items, and you can nest components together using the Grid Panel and Group Panel components.

Finally, components can have associated event handlers, written in the Java language, that are executed when the page is submitted.

Component Categories

Components are located in the Components tab of the Palette  and are grouped under categories. Click a category in the Components tab to see the associated components.

The Components tab contains the following categories:

Viewing and Managing Components

You can view or manage components in the following ways:

See Also
Working With Components
Component Tasks: Quick Reference
About Pages
Tutorials
Delving Into Components Tutorial
 
 
 
Legal Notices. Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Close