Re: DropDownChoice problem

2010-05-28 Thread Dr. Wolf Blecher
Hi, just a few guesses: - I don't think that this is according to a language problem. - as far as I can see in your HTML code the DropDown is inside the span wicket:id=adress_border, so maybe this is an issue - may be you just ommited it, but I don't see a closing tag for your select

Re: DropDownChoice problem

2010-05-28 Thread Matthieu
with \ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-problem-tp2233814p2235230.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr

Re: DropDownChoice problem

2010-05-28 Thread James Carman
html file, i get the same error... yes, i ommited /select in this mail but not in my code :) and i write my mails in html format so i have to break the html code with \ -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownChoice-problem-tp2233814p2235230.html Sent

DropDownChoice problem

2010-05-27 Thread Matthieu
wicket:id=address id=address class=address title=an address in Belgium type=text /\select wicket:id=address_city I don't really understand why, anyone to explain me the problem? Thank you. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DropDownChoice

Re: DropDownChoice problem

2010-04-29 Thread Josh Kamau
Thanks all for your response. It worked after i override the equals Method on my beans Thanks again Regards Josh On Wed, Apr 28, 2010 at 5:28 PM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: I remember having a similar problem because missing the equal on some bean. Could that be

DropDownChoice problem

2010-04-28 Thread Josh Kamau
Hi team I need your help I am using a DropDownChoiceT in a form as follows: DropDownChoiceNationality lstNationality = new DropDownChoiceNationality(nationality,getNationalities()); The form has a CompoundPropertyModel After adding the dropdown to the form, i am able to save the record

Re: DropDownChoice problem

2010-04-28 Thread Ernesto Reinaldo Barreiro
I remember having a similar problem because missing the equal on some bean. Could that be the case? Ernesto On Wed, Apr 28, 2010 at 4:20 PM, Josh Kamau joshnet2...@gmail.com wrote: Hi team I need your help I am using a DropDownChoiceT in a form as follows: DropDownChoiceNationality

SV: DropDownChoice problem

2010-04-28 Thread Wilhelmsen Tor Iver
After adding the dropdown to the form, i am able to save the record properly. However, when i display a form with an existing record, the DropDownChoice is not showing the current 'nationality' and it is only showing Choose One; Sounds like Wicket gets confused regarding value/id, try

Re: DropDownChoice problem

2010-04-28 Thread Xavier López
Hi, I also bumped into this matter when starting with Wicket, make sure the Collection returned by getNationalities() contains the value of the 'nationality' attribute of the CPM's backing object, or use a suitable ChoiceRenderer, as Wilhelmsen suggests, in order to be able to put as choices the

Re: DropDownChoice problem

2010-04-28 Thread Swanthe Lindgren
I had the same problem you do. Solved it by doing lstNationality.setDefaultModel(new PropertyModelNationality(getDefaultModel(), nationality)); but I bet you that Igor is gonna jump right in an say how its supposed to be done and why. //Swanthe On 2010-04-28 16:20, Josh Kamau wrote: Hi

Wicket DropDownChoice problem

2010-02-24 Thread saravana kumar
Hi, My DropDownChoice have Values like follows Choose One(default for wicket) One Two Three If i choose one,some panel disabled and enabled If i choose two,some panel disabled and enabled when i choose to default(Choose One) nothing will happen here after and i couldn't catch

Re: Wicket DropDownChoice problem

2010-02-24 Thread Pedro Santos
You may want use setNullValid method On Wed, Feb 24, 2010 at 6:55 AM, saravana kumar shav...@gmail.com wrote: Hi, My DropDownChoice have Values like follows Choose One(default for wicket) One Two Three If i choose one,some panel disabled and enabled If i choose two,some panel

Re: DropDownChoice problem

2008-04-18 Thread Johan Compagner
Yes i also hope that these questions are finally dont come any more. Checkout the current trunk and its way more clear On 4/18/08, John Krasnay [EMAIL PROTECTED] wrote: This has to qualify as one of the most common questions on the list! Hopefully, generics in 1.4 will make it more clear. The

DropDownChoice problem

2008-04-17 Thread Andrew Broderick
Hi, I have a DropDownChoice in a form, with markup: select wicket:id=authors / In my Form class, I add it like this: add(new DropDownChoice(authors, new PropertyModel(this.article, articleAuthorId), acService.getAuthors(), new

Re: DropDownChoice problem

2008-04-17 Thread Ryan Gravener
Use Long instead of long On Thu, Apr 17, 2008 at 5:05 PM, Andrew Broderick [EMAIL PROTECTED] wrote: Hi, I have a DropDownChoice in a form, with markup: select wicket:id=authors / In my Form class, I add it like this: add(new DropDownChoice(authors, new

RE: DropDownChoice problem

2008-04-17 Thread Andrew Broderick
: Thursday, April 17, 2008 4:23 PM To: users@wicket.apache.org Subject: Re: DropDownChoice problem Use Long instead of long On Thu, Apr 17, 2008 at 5:05 PM, Andrew Broderick [EMAIL PROTECTED] wrote: Hi, I have a DropDownChoice in a form, with markup: select wicket:id=authors / In my Form

Re: DropDownChoice problem

2008-04-17 Thread John Krasnay
This has to qualify as one of the most common questions on the list! Hopefully, generics in 1.4 will make it more clear. The items in your list have to be the same type as the value model (the PropertyModel in your case). In your case, Wicket is complaining because the PropertyModel returns a

Re: DropDownChoice problem

2008-01-25 Thread Mathias P.W Nilsson
Yes, I have read all about it. It solved when I used just new Model() and not PropertyModel -- View this message in context: http://www.nabble.com/DropDownChoice-problem-tp15095051p15097813.html Sent from the Wicket - User mailing list archive at Nabble.com

DropDownChoice problem

2008-01-25 Thread Mathias P.W Nilsson
and when onSelectionChanged is fired I want to Category object. Can this be done? In my renderer I want the childcategories to be indented -- View this message in context: http://www.nabble.com/DropDownChoice-problem-tp15095051p15095051.html Sent from the Wicket - User mailing list archive

Re: DropDownChoice problem

2008-01-25 Thread icecode
of child Categories. I want to render the Category id and name in the list and when onSelectionChanged is fired I want to Category object. Can this be done? In my renderer I want the childcategories to be indented -- View this message in context: http://www.nabble.com/DropDownChoice

Re: DropDownChoice problem

2008-01-25 Thread icecode
().toString(); } return null; } } } -- View this message in context: http://www.nabble.com/DropDownChoice-problem-tp15095051p15097014.html Sent from the Wicket - User mailing list archive at Nabble.com