Creating the configuration file – HP Integrity NonStop J-Series User Manual

Page 173

Advertising
background image

((Boolean)event.getNewValue()).booleanValue();
setUsingColorNames(!flag);
}

public String showPreview() {
if (isColorSupported && fgColor.equals(bgColor)) {
return("same-color");
} else {
return("success");
}
}
}

Creating the Configuration File

Create the faces-config.xml file so that it includes navigation rules and a reference to the
managed beans in the SkinSelector/WebContent/WEB-INF directory.

To write the configuration file, complete the following steps:
1.

Create a new XML file.
1.

On the Project Explorer frame, right-click SkinSelector project, and select New > File.

The New File dialog box appears.

Getting Started with MyFaces

173

Advertising
This manual is related to the following products: