Skip to Content
WebObjects® Developer's Guide
book

WebObjects® Developer's Guide

by Ravi Mendis
June 2002
Intermediate to advanced content levelIntermediate to advanced
400 pages
7h 48m
English
Sams
Content preview from WebObjects® Developer's Guide

Providing User Personalization and Preferences

Now we'll look at providing functionality for the user to change her password or signature when required.

Given that these functions are accessible only to those users who are logged on, we can implement them as standard WebObjects actions and components.

Using WOTabPanel to Create a Tabbed Interface

First, add a new page component to the project: Preferences.

1.
Place a WOTabPanel on the page. You might want to position it on the page using a table if appropriate.
2.
Bind the tabs attribute to a new key of the same name. Bind selectedTab, similarly.
protected NSArray tabs = new NSArray(new String[]{ "Password",
"Signature"} );
protected String selectedTab;

public String selectedTab() { return (selectedTab ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Real World XML

Real World XML

Steven Holzner
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 0672323265Purchase book