if you care to submit a quickstart that demonstrates this in a jira
issue im sure someone will fix it relatively quickly.

of course patches are applied even quicker :)

-igor

On Thu, May 14, 2009 at 4:02 PM, Fernando Wermus
<fernando.wer...@gmail.com> wrote:
> Hi!,
>    I am facing a problem that I don't know how to face.
>
> I have a wizard several steps. One of them has a checkGroup and several
> check. If I go to a step back and then a step foward, the checked boxes are
> lost. The same happens when a required field is not completed.
>       I verified several times if there was a problem between models and It
> is not the case. What I found is that the checkgroup is raw, according to
> check impl, and it doesn't compare the second elseif. I don't know how to
> manage this situation and I looked up in Google and I saw some people asking
> about the same problem. I am using wicket 1.3.0.
>
> (check.class)
>        if (group.hasRawInput())
>        {
>            final String[] input = group.getInputAsArray();
>
>            if (input != null)
>            {
>                for (int i = 0; i < input.length; i++)
>                {
>                    if (uuid.equals(input[i]))
>                    {
>                        tag.put("checked", "checked");
>                    }
>                }
>            }
>        }
>        else if (collection.contains(getModelObject()))
>        {
>            tag.put("checked", "checked");
>        }
>
> Thanks in advance.
>
> --
> Fernando Wermus.
>
> www.linkedin.com/in/fernandowermus
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to