Software

Páginas: 47 (11585 palabras) Publicado: 18 de febrero de 2013
1

JSF Jumpstart
Copyright © 2007 by Wakaleo Consulting Ltd
Published by
Wakaleo Consulting Limited
PO Box 25223
Panama Street
Wellington, New Zealand
Book web site: http://www.wakaleo.com
All rights reserved. This publication is protected by copyright, and permission must be
obtained from the publisher prior to any prohibited reproduction, storage in a retrieval
system, ortransmission in any form or by any means, electronic, mechanical,
photocopying, recording or likewise.

Table of Contents
1 Getting Started..................................................................................................................................1
1.1Introduction...............................................................................................................................1
1.2 Setting up your work environment...........................................................................................1
1.2.1 Installing the Java Development Kit.................................................................................2
1.2.2 InstallingEclipse...............................................................................................................2
1.2.3 Installing Exadel Studio Pro.............................................................................................2
2 Your First JSF Application...............................................................................................................4
2.1 Creating a new JSF project inEclipse......................................................................................6
2.2 Getting to know the Eclipse workspace....................................................................................7
2.2.1 The Package Explorer and Web Project views.................................................................8
2.2.2 The Editor view.................................................................................................................9
2.2.3The Servers view...............................................................................................................9
2.2.4 The Exadel palette.............................................................................................................9
2.3 Creating our firstpage............................................................................................................10
2.3.1 Writing the CurrencyConverterPage class......................................................................10
2.3.2 Configuring the bean as a JSF Managed Bean................................................................13
2.3.3 Creating the JSF page.....................................................................................................15
3 Introducing JSFnavigation.............................................................................................................26
3.1 The ConversionResultsPage Managed Bean..........................................................................26
3.2 Implementing the Results JSF Page........................................................................................28
3.2.1 Displaying and formattingoutput...................................................................................29
3.3 JSF Navigation: getting from page to page............................................................................30
3.4 Implementing the business logic and preparing the result page.............................................34
4 More complex user interfaceelements...........................................................................................39
4.1 Using Select Lists...................................................................................................................39
4.2 Using check boxes..................................................................................................................41
5 More advanced techniques: table components and...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Software
  • Software
  • Software
  • Software
  • Software
  • el software
  • El Software
  • Que Es El Software

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS