Facelets-master page for formatting

Assignment Help Web Project
Reference no: EM13844530

Introduction

This assignment is the first of five assignments, in which you will gradually build up the web site for your term project.

It is meant to give you practice in creating templates for the pages on your site, based on facelets in JSF.

It will also allow you to begin the process of implementing the pages on your site by creating several prototype content pages that will use your templates, including:
• A home page for your site.

• A page that allows the user to create a new type of item.

• A page listing the items the user can select (initially this will just be a stub).

You will also begin implementing some of the underlying logic for your site. Specifically, you will begin creating a managed bean for the site.

Facelets/Master page for Formatting

You should begin by designing and creating a template for your site, using a facelet template page. I strongly suggest that you do this first, since it is much easier to add content pages to an existing template, rather than creating the content pages first and then adapting them to your template.

Your template is required to contain the following:

• The name of your (fictional) organization. It should be in a larger font than the rest of the content, along with an image of some sort.

• A set of links to the major pages on your site. This is to include:

o The "home page" of your site.

o The "new item" page.

o The "item selection" page.

• A content area where the specific page content will be displayed.

You are also required to put these things in different areas of your template. For example:

I also encourage you to be creative about your design. If you are familiar with CSS, I encourage you to add CSS to your site (or to manipulate the built-in CSS of the facelet template).

1687_11.png

Prototype Pages

Most web sites (or other types of software) are never implemented all at once. Instead, a few prototypes of the major pages are created first, in order to see how they would look in the context of the web site as a whole, and to possibly get feedback from potential customers (such as myself).

You will be developing three such pages as part of this initial project. However, if you wish to start developing other pages on your site, feel free to begin those as well.

These page should all be template client page, using the facelet template you created above.

Home Page

Since this will be the simplest page that you create, I strongly encourage you build it first after creating your templates. It should contain the following:
• A simple "welcome message" for your site, briefly explaining the purpose of your site to users.

• Anything else you think would be appropriate for this page (images, etc.).

To simplify things, it should be the default page the user goes to on your site, index.xhtml.

Item Selection Page

The next page should display a list of products/services/choice/etc. - that is the "list of things" that your customer will have to choose from.

However, we will not actually implement this until Project Assignment 3, in which we will actually define the support class representing the items on your site. For now, you can just create a very simple "stub page":

1643_22.png

The "Create New Item" Page

This page should allow the user to enter all information necessary to create a new instance of the items your site supports.

As an example, my "widget" site allows a user (presumably an administrator) to define the following attributes about a new type of widget:

• The type of widget (a String).

• The price of that type of widget (a number).

• The color of the widget (either red, orange, yellow, green, blue, or purple).

1776_33.png

The exact nature of your page will vary greatly, based on the type of item your site sells/rents/etc. However, you are required to have inputs for the following:

• At least one field that enters numeric input.

• At least one field that is a list of some sort (such as the color list above).

You can add a button (such as the one I have above) that allows the information to be submitted. However, it does not have to do anything for this assignment (we will actually use it in the next assignment, where the information entered by the user is validated.

Creating a Managed Bean

You are also to begin creation of the managed bean that your JSF pages will communicate with.

For now, it is required to contain member variables (as well as corresponding getters and setters) for each property of your items. For example, my Widget bean contains member variables for type, price, and color.

The form elements on your "create new item" page should be bound to these member variables.

Finally, the elements of the "list" input element must be generated as an array of selectItem in the bean. The list itself should then be populated

using a single <f:selectItems tag.

As before, you can find the source code as a subdirectory of the NewBeans Projects directory of Documents. Please use a zip program such as gzip to compress the entire directory and send it to me.

Reference no: EM13844530

Questions Cloud

Strategies for successful implementation : Strategies for successful implementation.
Paragraph on your analysis of your company''s ratios : Specifically define the issue that you selected from your updated SWOT as the most important issue for your company.
How does csma-ca in dcf handle media contention : How does CSMA/CA in DCF handle media contention
Explain the role portfolios play in an effective assessment : "Teachers compile and summarize classroom data to integrate and distill information from different sources, contexts, and methods, reduce it to a manageable size; and keep past assessments accessible for continued analysis and interpretation"
Facelets-master page for formatting : I also encourage you to be creative about your design. If you are familiar with CSS, I encourage you to add CSS to your site (or to manipulate the built-in CSS of the facelet template).
Explain gaap requirement from which costs for environment : Briefly explain the GAAP requirement from which the costs/obligations for environmental cleanup and product liability/tort claim matters were accrued in the financial statements.
What are implications of information for borders liquidity : Consider the appropriate classification of these long-term debt obligations. Assuming no more long-term debt will be issued, what are the implications of the information above for Border's liquidity and solvency risk in 2013 and the following year..
Determine the true status of jennifer portion of the project : Using earned value measurements along with the other information and metrics available, determine the true status of Jennifer's portion of the project
What amount should captain cook report as a liability : Captain Cook sold 6 million boxes of Granola and 900,000 of the coupons were redeemed. What amount should Captain Cook report as a liability for coupons on its December 31, 2013, balance sheet?

Reviews

Write a Review

Web Project Questions & Answers

  Define the process of creating and maintaining a website

The process of creating and maintaining a website typically involves both development and production environments. What is one reason for maintaining the two separate environments and the purpose of each

  Discussion of the project research activity

Maintain a journal of the activities and research that you have engaged in in the completion of this assignment.

  Create the application and web site for a business

Create the application and/or a web site for a business (choice is yours). You must use five (5) programming techniques discussed in this class.

  Project on web analytics software

In this project it mainly deals with the improvement of the current data base data warehouse and data transfer and data retrieving. XYZ Company's project proposes to provide best quality services regarding data collection and database for our clie..

  How best to perform landing page optimization tactics

Explain how best to perform landing page optimization tactics

  Web page project

Purpose of this assignment: This assignment gets you thinking about your website project. Your team will later flesh out each of these web pages in much more detail. See the actual web site project in assignments to get a better idea of what wil..

  Why the web architecture can be considered ambiguous

Based on the article by Hayes and Halpin (2010), describe why the web's architecture can be considered ambiguous

  Human factors to consider when building a web site

What are some human factors to consider when building a Web site and what are some technical factors to consider when building a Web site?

  The emotional design model

The user experience framework can help designers constrain and scope the user experience of a given system. The user experience framework also informs about the relationship between a conceptual model and a user's understanding of it for past, c..

  Describe other advantages other than security gained

Architecting web-applications using web-services has advantages. Forexample, you can gain increased security. Describe other advantages other than security gained by using web-services.

  Starting structure for development of all static web page

Create a static Web page that includes the basic structure of a valid HTML (not XHTML) document. Make sure to include the language attribute of the html element and the character set attribute of the metadata element.

  What makes the poorly written job descriptions weak

What makes the poorly written job descriptions weak. What makes the better job descriptions more effective. Respond to each question with a minimum of 250 words.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd