Re: Wizard, checkGroup and check
Hi, Finally I got solved the problem and I wanna share with you. My checkgroup in the wizard panel werent setting up the setReuseItem in the ListView It was hard to realize but I get it. On Thu, May 14, 2009 at 9:17 PM, Jeremy Thomerson jer...@wickettraining.com wrote: Please file a JIRA at the URL below [1]. The most effective issues are ones that are submitted with a patch. To make it even more effective, please run all tests against the patched codebase (run mvn clean test) and notate that you did so when you submit your patch. [1] - https://issues.apache.org/jira/browse/WICKET -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 14, 2009 at 6:56 PM, Fernando Wermus fernando.wer...@gmail.com wrote: 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:
Re: Wizard, checkGroup and check
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
Re: Wizard, checkGroup and check
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.comwrote: 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
Re: Wizard, checkGroup and check
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.comwrote: 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
Re: Wizard, checkGroup and check
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.comwrote: 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
Re: Wizard, checkGroup and check
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
Re: Wizard, checkGroup and check
Please file a JIRA at the URL below [1]. The most effective issues are ones that are submitted with a patch. To make it even more effective, please run all tests against the patched codebase (run mvn clean test) and notate that you did so when you submit your patch. [1] - https://issues.apache.org/jira/browse/WICKET -- Jeremy Thomerson http://www.wickettraining.com On Thu, May 14, 2009 at 6:56 PM, Fernando Wermus fernando.wer...@gmail.com wrote: 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 - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org