Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Alfresco Developer Guide
  • Table Of Contents Toc
  • Feedback & Rating feedback
Alfresco Developer Guide

Alfresco Developer Guide

4 (7)
close
close
Alfresco Developer Guide

Alfresco Developer Guide

4 (7)

Overview of this book

Table of Contents (17 chapters)
close
close
Alfresco Developer Guide
Credits
About the Author
About the Reviewers
Preface
Index

Customizing Web Client JSP Pages


There may be requirements you can't meet simply by adding new menu items, dialogs, or wizards. Customizing the login page, which you did in Chapter 2, is one example. Regardless of whether you are overriding an existing JSP with your own version or creating a new JSP from scratch, the steps involved are the same:

  1. Create (or copy and modify) the JSP using JSF, Alfresco, and custom tag libraries.

  2. Write JSF-managed backing beans as necessary to handle logic.

  3. Update faces-config.xml with the appropriate navigation rules.

  4. Optionally, update web-client-config-custom.xml with navigation rule overrides.

  5. Externalize strings to a properties file.

Overriding Navigation Rules with Type-specific Settings

One thing the login page example didn't cover is navigation rule overrides. Let's look at a simple out of the box example to understand how this works.

In Alfresco WCM, web projects are stored in web project folders (wca:webfolder). Just like standard folders, you can browse...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech

Create a Note

Modal Close icon
You need to login to use this feature.
notes
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Delete Note

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete

Edit Note

Modal Close icon
Write a note (max 255 characters)
Cancel
Update Note

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY