You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Timo Rantalaiho (JIRA)" <ji...@apache.org> on 2008/12/01 17:13:44 UTC

[jira] Resolved: (WICKET-1893) Extend FormTester to easily handle CheckBox components.

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

Timo Rantalaiho resolved WICKET-1893.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4-RC2

Committed a fix for this in 1.4, the workaround is enough for 1.3.

> Extend FormTester to easily handle CheckBox components.
> -------------------------------------------------------
>
>                 Key: WICKET-1893
>                 URL: https://issues.apache.org/jira/browse/WICKET-1893
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.3.5, 1.4-M3
>            Reporter: Minto van der Sluis
>            Assignee: Timo Rantalaiho
>            Priority: Minor
>             Fix For: 1.4-RC2
>
>
> Add methods to the FormTester to support unittesting CheckBox.
> The following methods could be added:
> public boolean getCheckBoxComponentValue(java.lang.String id);
> public void setValue(java.lang.String formComponentId, boolean value);
> When the given component ID is not a CheckBox (or one of its subclasses) then these methods could/should throw an exception.

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