Re: Choose One problem with DropDownChoice

2011-04-15 Thread Mike Mander
Am 15.04.2011 15:55, schrieb tech7: Any suggestion? - Wicket-Java -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Choose-One-problem-with-DropDownChoice-tp3451837p3452096.html Sent from the Users forum mailing list archive at Nabble.com

Re: Choose One problem with DropDownChoice

2011-04-15 Thread tech7
Any suggestion? - Wicket-Java -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Choose-One-problem-with-DropDownChoice-tp3451837p3452096.html Sent from the Users forum mailing list archive at Nabble.com

problem with dropdownchoice and setType(Integer.class)

2010-08-18 Thread Jarkko Rantamaki
Hello! I got confused on what is the intended behavior of the dropdownchoice with integers. I wanted to create a dropdownchoice, which would list a range of integers for user to select. It seems to me, that if I call the setType(Integer.class), then it changes the way it is processed when I subm

Re: problem with dropdownchoice

2009-01-20 Thread jWeekend
Object object, >>> int index) { >>> return >>> ((Device)object).getDeviceID(); >>> } >>> }); >>> >>>

Re: problem with dropdownchoice

2009-01-20 Thread itayke
return >> ((Device)object).getDeviceID(); >> } >> }); >> >> add(ddc); >> } >> >> I also have a simple "Device" PO

Re: problem with dropdownchoice

2009-01-20 Thread Dipu
} > > I also have a simple "Device" POJO class with getters and setters. > The HTML looks like that: > > ... > > > >Select Device > >Some device > > > > > > >

Re: problem with dropdownchoice

2009-01-20 Thread Alex Objelean
like that: > > ... > > > > Select Device > > Some device > > > > > > > > ... > > > > Any ideas what i'm doing wrong? > > -- View this message in context: http://www.nabble.com/p

problem with dropdownchoice

2009-01-20 Thread itayke
add(ddc); } I also have a simple "Device" POJO class with getters and setters. The HTML looks like that: ... Select Device Some device ... Any ideas what i'm doing wrong? -- View this message in context:

Re: SOLVED Re: Problem with DropDownChoice on 1.4M3

2008-09-17 Thread Daan van Etten
Great you figured it out! Some problems have simple solutions... Regards, Daan On 17 sep 2008, at 16:07, Anders Peterson wrote: Isn't it always like this; as soon as you ask someone you start thinking about the problem differently. Or should I say you start thinking straight. The problem w

SOLVED Re: Problem with DropDownChoice on 1.4M3

2008-09-17 Thread Anders Peterson
Isn't it always like this; as soon as you ask someone you start thinking about the problem differently. Or should I say you start thinking straight. The problem was, of course, with the equals-method of the listed objects (two instances of that class would never be equal). Thanks for being the

Re: Problem with DropDownChoice on 1.4M3

2008-09-17 Thread Anders Peterson
This is the code that creates the DropDownChoice: myForm.add(new DropDownChoice("views", this.getPortfolio().getViews(), new ChoiceRenderer("toDisplayString")) { @Override protected void onSelectionChanged(BLView newSelection) { super.onSelectionChange

Re: Problem with DropDownChoice on 1.4M3

2008-09-17 Thread Daan van Etten
On 17 sep 2008, at 14:55, Anders Peterson wrote: My DropDownChoice always displays as if nothing is selected. Using it works fine, but every time the page is (re)loaded the selection is reset. wantOnSelectionChangedNotifications return true. I have an older version of my app deployed (usin

Problem with DropDownChoice on 1.4M3

2008-09-17 Thread Anders Peterson
My DropDownChoice always displays as if nothing is selected. Using it works fine, but every time the page is (re)loaded the selection is reset. wantOnSelectionChangedNotifications return true. I have an older version of my app deployed (using an older version of Wicket) that works as expected.

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-07 Thread JulianS
odelObject(null); > target.addComponent(dropDown2); > } > -- View this message in context: http://www.nabble.com/Problem-with-DropDownChoice-and-AjaxFormComponentUpdatingBehavior-tf4394596.html#a12561183 Sent from the Wicket - User mailing li

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread Carlos Pita
use PropertyModels. > > > > > > > > This all works fine until the form is submitted and validation fails. > > In > > > > this (normal) situation the form is still visible, with the feedback > > > > messages displayed, but the 2nd and 3rd DropDo

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread Igor Vaynberg
uation the form is still visible, with the feedback > > > messages displayed, but the 2nd and 3rd DropDownChoices no longer > react to > > > the first DropDownChoice. I have verified that the properties on which > > > DropDownChoices depend are being correctly set.

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread Carlos Pita
still visible, with the feedback > > messages displayed, but the 2nd and 3rd DropDownChoices no longer react to > > the first DropDownChoice. I have verified that the properties on which > > DropDownChoices depend are being correctly set. > > > > Is there anything I ca

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread Igor Vaynberg
s, > Julian > > -- > View this message in context: > http://www.nabble.com/Problem-with-DropDownChoice-and-AjaxFormComponentUpdatingBehavior-tf4394596.html#a12531138 > Sent from the Wicket - User mailing list archive at Nabble.com. > > > -

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread Carlos Pita
longer react to > > the first DropDownChoice. I have verified that the properties on which > > DropDownChoices depend are being correctly set. > > > > Is there anything I can do to make them behave properly? Any help is > > appreciated. > > >

Re: Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread Carlos Pita
nd are being correctly set. > > Is there anything I can do to make them behave properly? Any help is > appreciated. > > Thanks, > Julian > > -- > View this message in context: > http://www.nabble.com/Problem-with-DropDownChoice-and-AjaxFormComponentUpdat

Problem with DropDownChoice and AjaxFormComponentUpdatingBehavior

2007-09-06 Thread JulianS
rectly set. Is there anything I can do to make them behave properly? Any help is appreciated. Thanks, Julian -- View this message in context: http://www.nabble.com/Problem-with-DropDownChoice-and-AjaxFormComponentUpdatingBehavior-tf4394596.html#a12531138 Sent from the Wicket - User mailing list