[ https://issues.apache.org/jira/browse/WICKET-3139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-3139. ------------------------------------- Resolution: Fixed Fix Version/s: 1.5-M4 The comment is improved with r1029431. The method is deprecated in 1.4 since a while. You should use org.apache.wicket.markup.html.form.Form.process(IFormSubmittingComponent). I added an entry to the table with API changes in the migration page. > Fix comments for Form.process() to be consistent with method declaration > ------------------------------------------------------------------------ > > Key: WICKET-3139 > URL: https://issues.apache.org/jira/browse/WICKET-3139 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.5-M2.1 > Environment: All > Reporter: Daniel Toffetti > Assignee: Martin Grigorov > Priority: Trivial > Fix For: 1.5-M4 > > > /** > * Process the form. Though you can override this method to provide > your whole own algorithm, it > * is not recommended to do so. > * <p> > * See the class documentation for further details on the form > processing > * </p> > * > * @return False if the form had an error > */ > private boolean process() > { > The comment for Form.process() states "you can override" when in fact the > method is declared private. This is most likely caused by the method being > public previously. Either make it protected, or change the comment. Also > compare to this other method in Form which is public and overridable: > public void process(IFormSubmittingComponent submittingComponent) > { > And lastly, please provide some help in the Migration Guide for those who > used to override it. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.