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
Hi, thanks for you input! It's not a html problem, when i copy/paste the english html code (who is working) into my _fr 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 \ --

Re: DropDownChoice problem

2010-05-28 Thread James Carman
Make sure it's using the markup files you think it is. Turn on the logging for the markup finder thingy. On May 28, 2010 5:23 PM, Matthieu m_fradco...@hotmail.com wrote: Hi, thanks for you input! It's not a html problem, when i copy/paste the english html code (who is working) into my _fr

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

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

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

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

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.

Re: DropDownChoice problem

2008-01-25 Thread icecode
can you post some code? and wicket tags? Mathias P.W Nilsson wrote: Hi! I can't get the simples DropDownChoice to work! I want to return the object in my model but it returns string This is what I have so far. I have a ArrayList of Category objects. Each of this Objects have a list

Re: DropDownChoice problem

2008-01-25 Thread icecode
sorry dudu, i am new to wicket as well, have you came across this link yet? http://cwiki.apache.org/WICKET/dropdownchoice-examples.html if not give it a shot Mathias P.W Nilsson wrote: html head titleWicket Quickstart Archetype Homepage/title /head body