Introduction to Rational:javaserver faces data template

Source: Internet
Author: User

Learn how to use and customize templates to make it easier to control the content and appearance of WEB pages

Based on existing javabeans™ or other data sources, ibm®rational®application Developer V7.5.4 makes it easier to create javaserver™faces (JSF) controls. After your data is integrated into page Data view, you can drag data onto the Faces page, and you can use the wizard on the page to select the type of control you want to place (Input text fields,output text Fields,combo Boxes,da Ta Tables, and so on). After you make your decision, Rational application Developer will create these controls on the page for you. In addition, these controls will automatically be associated with your data.

Data templates enable you to control the options that appear in this wizard. You can edit options that already exist, such as changing all the StyleClass properties on the Check Box label, or adding a minimum or maximum length value to all Input Text controls. You can also delete any existing template options, add your own templates, or share templates between teams or organizations.

Create

Create a Web project, create a Faces JavaServer Page (JSP), and import it into the JavaBeans you are about to use.

To create a WEB project:

Choose File > New > Project > Dynamic Web Project from the menu.

In the New Project Wizard, do the following (see Figure 1):

Enter Employee as the project name.

Select JavaServer Faces IBM Enhanced project configuration item.

Click Finish.

Figure 1. New Web Project

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.