Re: [Wicket-user] default value (Choose One) lost in DropDownChoice selection

2006-11-22 Thread Charlie Dobbie
Hi Jaime,

The Choose One selection only appears when nulls are not considered
valid but the selection is currently null.  If you want a default
no-decision option, the cleanest solution is to set the DropDownChoice
to allow nulls, and set the formName.componentName.nullValid property
to the text you'd like to display.

Charlie.




On 11/21/06, Jaime De La Jara [EMAIL PROTECTED] wrote:
 Basically as a way to force the user to choose a value each time and have
 the possibility to reset the value. Besides, it could be a little disturbing
 for the user to have a different list after a submit. In any case it can be
 solved setting to null the corresponding field of the model.
 Thanks for the quick answer,

 Jaime.



 Igor Vaynberg [EMAIL PROTECTED] wrote:
  actually we think of this as a feature :)

 why would you want it to still be there?

 -igor


 On 11/21/06, Jaime De La Jara  [EMAIL PROTECTED] wrote:
  Hi, I've noticed a strange behavior of the DropDownChoice component when
 one selects a value in the list, the message Choose One is lost and one
 has to reload the page to recover it. This also occurs in the FormInput
 example on line, how could it be fixed?
 
  Thanks,
 
  Jaime.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] default value (Choose One) lost in DropDownChoice selection

2006-11-21 Thread Igor Vaynberg

actually we think of this as a feature :)

why would you want it to still be there?

-igor


On 11/21/06, Jaime De La Jara [EMAIL PROTECTED] wrote:


Hi, I've noticed a strange behavior of the DropDownChoice component when
one selects a value in the list, the message Choose One is lost and one
has to reload the page to recover it. This also occurs in the FormInput
example on line, how could it be fixed?

Thanks,

Jaime.

--
Sponsored Link

Rates near 39yr lows. $420,000 Loan for $1399/mo - Calculate new house
paymenthttp://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9136-16418moid=4116

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV

___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user