Also indicate password change aborted if it is canceled.
<td class="edit"><input type="password" wicket:id="confirmPassword" size="30" tabindex="2" /></td>\r
</tr>\r
</table>\r
- <input class="btn" type="submit" wicket:message="value:gb.cancel" wicket:id="cancel" tabindex="3" />\r
- <input class="btn primary" type="submit" wicket:message="value:gb.save" wicket:id="save" tabindex="4" />\r
+ <input class="btn primary" type="submit" wicket:message="value:gb.save" wicket:id="save" tabindex="3" />\r
+ <input class="btn" type="submit" wicket:message="value:gb.cancel" wicket:id="cancel" tabindex="4" />\r
</center>\r
</form> \r
</div>\r
\r
@Override\r
public void onSubmit() {\r
+ setRedirect(false);\r
+ error("Password change aborted.");\r
setResponsePage(RepositoriesPage.class);\r
}\r
};\r