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

  Prepare a bitcoin buy-sell website

Prepare a bitcoin buy/sell website add payment methods. Add direct deposit. The user will enter the user ID of his bank username then the bank will ask for security question.

  Css rules for form elements

Basic user input controls that make sense for your site. Include as many types

  Use a gridview control to provide access to the list of tags

Add a web page Users.aspx for administrative viewing of user data. Use a GridView to display the top level of user information: user name, full name, the date when the user was added, and the date when the user was confirmed.

  Identify potential security weaknesses

In this phase you will choose either Aircraft Solutions or Quality Web Design as the company you will work with. You will then identify potential security weaknesses

  Agile project management

Imagine you are the project manager for a critical project for an organization. The organization wants to implement a state of the art real-time marketing campaign system. This system has many components.

  Explain intranet web technology

Suggest alternative architectures that could be used to overcome the problems faced by Hures' current Client/Server technology. One of the suggestions proposed by Hures' IS department is the use of intranet web technology. Examine the pros and cons..

  Design a site that explains implementation plan

Design an application or site that presents and explains your Implementation Plan. The site must include all sections of the plan and related content and consist of multiple web pages. Ensure there is an index or some type of introductory text doc..

  Web development and design foundations

Web Development & Design Foundations with HTML 5, 7th ed. You have three attempts to complete the concepts exam and 60 minutes per attempt

  Discussion on the future of html

HTML was original Web page protocol, developed for hypertext documents on the emerging Web. Several different protocols and technologies have since been developed.

  How will the new standard for building web pages

Based on the article by Mulroy (2010), how will the new standard for building web pages, HTML5, improve the web experience for a typical end-user

  Traditional approaches for training professionals

Webinars and other web conferencing techniques have proved most beneficial for the provision of affordable quality corporate training.

  Notes on cms project

CMS Systems, Inc. is a company that provides information systems consulting services to companies in the telecom industry in the United States and the United Kingdom.

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