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

Martin Makundi updated WICKET-2522:
-----------------------------------

    Attachment: Wicket-Quickstart.zip

Line "if (!((formComponent instanceof Button) && (component instanceof Button)) 
||"

of "BaseWicketTester" should be changed into

Line "if (!((formComponent instanceof IFormSubmittingComponent) && (component 
instanceof IFormSubmittingComponent)) ||"

See attached quickstart.

> Easy fix suggestion: In BaseWicketTester 'IFormSubmitting' component should 
> be the submitting component, not just a 'Button'
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-2522
>                 URL: https://issues.apache.org/jira/browse/WICKET-2522
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Martin Makundi
>         Attachments: Wicket-Quickstart.zip
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Line "if (!((formComponent instanceof Button) && (component instanceof 
> Button)) ||"
> should be changed into
> Line "if (!((formComponent instanceof IFormSubmittingComponent) && (component 
> instanceof IFormSubmittingComponent)) ||"
> See attached quickstart.

-- 
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