Hi all,
    I moved to wicket 1.3.6, the lastest before 1.4, without any luck. What
I did next, it was to cut the code that was bother me and It is working now.
Of course, I am afraid that this could have colateral effects. This is the
code,

        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");
                    }
                }
            }
        }

If I liked to write a Jira with an example, What would I do? I've never done
this before.




On Thu, May 14, 2009 at 4:13 PM, Martijn Dashorst <
martijn.dasho...@gmail.com> wrote:

> upgrading to a newer version is always preferred as a first measure.
>
> Martijn
>
> On Fri, May 15, 2009 at 1:12 AM, Igor Vaynberg <igor.vaynb...@gmail.com>
> wrote:
> > you can search jira for all known issues, i dont remember all of them
> > from the top of my head :)
> >
> > -igor
> >
> > On Thu, May 14, 2009 at 4:09 PM, Fernando Wermus
> > <fernando.wer...@gmail.com> wrote:
> >> Igor,
> >>    I can move to a newer wicket version. Do you know if this is a known
> >> bug?
> >>
> >>
> >> On Thu, May 14, 2009 at 4:05 PM, Igor Vaynberg <igor.vaynb...@gmail.com
> >wrote:
> >>
> >>> 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
> >>>
> >>>
> >>
> >>
> >> --
> >> 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
> >
> >
>
>
>
> --
> Become a Wicket expert, learn from the best: http://wicketinaction.com
> Apache Wicket 1.3.5 is released
> Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Fernando Wermus.

www.linkedin.com/in/fernandowermus

Reply via email to