Author: jbq Date: Sat Jun 23 03:33:33 2007 New Revision: 550028 URL: http://svn.apache.org/viewvc?view=rev&rev=550028 Log: Improve Javadoc for wantOnSelectionChangedNotifications() mentioning the "onchange" JavaScript event. Reported by Timo Rantalaiho.
Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/DropDownChoice.java Modified: incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/DropDownChoice.java URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/DropDownChoice.java?view=diff&rev=550028&r1=550027&r2=550028 ============================================================================== --- incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/DropDownChoice.java (original) +++ incubator/wicket/trunk/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/form/DropDownChoice.java Sat Jun 23 03:33:33 2007 @@ -214,7 +214,8 @@ * onSelectionChanged being called. This method returns false by default. If * you wish to use Ajax instead, let * [EMAIL PROTECTED] #wantOnSelectionChangedNotifications()} return false and add an - * [EMAIL PROTECTED] AjaxFormComponentUpdatingBehavior} to the component. + * [EMAIL PROTECTED] AjaxFormComponentUpdatingBehavior} to the component using the + * <tt>onchange</tt> event. * * @return True if this component's onSelectionChanged event handler should * called using javascript if the selection changes