Bug Report
Page (Second Edition)cd ch1\login\web to cd
ch1\login\src\java. Change mkdir WEB-INF\classes to
mkdir ..\..\web\WEB-INF\classes.insrc/java/com/corejsf/” to “in
src/java/com/corejsf/”answerAction method with
public String answerAction() {
tries++;
if (problems[currentProblem].isCorrect(response)) {
score++;
nextProblem();
if (currentProblem == problems.length) return "done";
else return "success";
}
else if (tries == 1) {
return "again";
}
else {
nextProblem();
if (currentProblem == problems.length) return "done";
else return "failure";
}
}
secure” to
“such as /secure/*”vlude to valueanchor
attribute” to “There is no need for an action
attribute”false.” to
“Default value is true.”new
ArrayListList<SelectItem>();” to “new
ArrayList<SelectItem>();”Remove styleClass, value from Table 5-2
for (int i=0; i < rowCnt; ++i) {
rows[i] = new Row(i);
to
for (int i=0; i < rowCnt; ++i) {
rows[i] = new Row(i);
}
Fix the indenting in
public void setRowIndex(int rowIndex) {
if (rowIndex == -1 || rowIndex >= model.getRowCount()) {
model.setRowIndex(rowIndex);
}
else {
model.setRowIndex(rows[rowIndex].row);
}
}
to
public void setRowIndex(int rowIndex) {
if (rowIndex == -1 || rowIndex >= model.getRowCount()) {
model.setRowIndex(rowIndex);
}
else {
model.setRowIndex(rows[rowIndex].row);
}
}
(i.e. indent the four bold lines)
http://metro.dev.java.net. Refer to the Metro
documentation”http://myfaces.apache.org/tomahawk/panelStack.html after
tomahawk/ so that it doesn't have a hyphen.Thanks to Ognjen Blagojevic, Guus Bonnema, Luca Borzani, Tim Colburn, Michele Costabile, Chris Dailey, Shawn Flahave, Jeremy Flowers, Eef Goeyenbier, Scott Healy, Pieter Kuijpers, Donna Lamb, Else Lervik, Tom Nagle, Larry Sanford, Aaron Shettleroe, Andreas Watermeyer, Shane Wilson, Aldo Ahmed Solis Zenteno, and (your name might go here) for their help!
Please use this form to report any bugs that you find. Please check the list of known bugs and the list of frequently asked questions first before you report a bug. Unfortunately, we do not have the time to respond personally to every report, but we do read them all and will post updates to this page. Thank you!