[ 
https://issues.apache.org/jira/browse/WICKET-846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jean-Baptiste Quenot updated WICKET-846:
----------------------------------------

    Summary: Javadocs for 
AbstractDefaultAjaxBehaviorPrecondition#getSuccessScript() and 
#getPreconditionScript() are swapped  (was: javadoc for 
AbstractDefaultAjaxBehavior is wrong)

> Javadocs for AbstractDefaultAjaxBehaviorPrecondition#getSuccessScript() and 
> #getPreconditionScript() are swapped
> ----------------------------------------------------------------------------------------------------------------
>
>                 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
>             Fix For: 1.3.0-beta4
>
>
> 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