javadoc for AbstractDefaultAjaxBehavior is wrong
------------------------------------------------

                 Key: WICKET-846
                 URL: https://issues.apache.org/jira/browse/WICKET-846
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.0-beta2, 1.3.0-beta3
            Reporter: Carlos Pita
            Priority: Minor


Precondition and success description are swapped:

        /**
         * @return javascript that will run when the ajax call finishes
         *            successfully
         */
        protected CharSequence getPreconditionScript()
        {
                return null;
        }

        /**
         * @return an optional javacript expression that determines whether the 
request
         *            will actually execute (in form of return XXX;);
         */
        protected CharSequence getSuccessScript()
        {
                return null;
        }

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to