You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by "N. Metzger" <nm...@odu.edu> on 2012/12/13 15:19:17 UTC

Re: Has DropDownChoice changed?

Anybody with a clue about the DropDownChoice?

I had to set 

dropDownChoice.setNullValid(true);

which is not my favorite option. I miss the old behavior where in the
initial rendering the was a "Choose one" option which vanished after the
user made the first "real" choice. Has that been removed in 6.3? 

Natalie



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Has-DropDownChoice-changed-tp4653271p4654770.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Has DropDownChoice changed?

Posted by "N. Metzger" <nm...@odu.edu>.
I did all that, that's not my point.

I'm just going to go ahead a create the behavior that I want myself, so
please consider this thread be closed.

Natalie



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Has-DropDownChoice-changed-tp4653271p4654819.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Has DropDownChoice changed?

Posted by Sven Meier <sv...@meiers.net>.
>I would like to set dropDownChoice.setNullValid(false);

Why? This property is false anyway.

>But in 1.5 on the first upload I got a choice of
>Choose One
>Option 1
>Option2

Did you take a look at In wicket-example's DropDownChoicePage? That's exactly how the 'site' DropDownChoice works in Wicket 6.

Sven


On 12/13/2012 05:26 PM, N. Metzger wrote:
> I don't think I made myself clear. I would like to set
> dropDownChoice.setNullValid(false);
>
> And yes, I can do it. But in 1.5 on the first upload I got a choice of
> Choose One
> Option 1
> Option2
>
> Then the user would choose either option 1 or 2 and "Choose One" would
> vanish.
>
> In 6.3 I only get
> Option 1
> Option 2
>
> that's why I was asking if the behavior had changed. A better question would
> be: why did the behavior change? I liked it the way it was.
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Has-DropDownChoice-changed-tp4653271p4654774.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Has DropDownChoice changed?

Posted by "N. Metzger" <nm...@odu.edu>.
I don't think I made myself clear. I would like to set
dropDownChoice.setNullValid(false);

And yes, I can do it. But in 1.5 on the first upload I got a choice of
Choose One
Option 1
Option2

Then the user would choose either option 1 or 2 and "Choose One" would
vanish.

In 6.3 I only get
Option 1
Option 2

that's why I was asking if the behavior had changed. A better question would
be: why did the behavior change? I liked it the way it was.



--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Has-DropDownChoice-changed-tp4653271p4654774.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Has DropDownChoice changed?

Posted by Sven Meier <sv...@meiers.net>.
In wicket-example's DropDownChoicePage it works fine as ever.

Sven

On 12/13/2012 03:19 PM, N. Metzger wrote:
> Anybody with a clue about the DropDownChoice?
>
> I had to set
>
> dropDownChoice.setNullValid(true);
>
> which is not my favorite option. I miss the old behavior where in the
> initial rendering the was a "Choose one" option which vanished after the
> user made the first "real" choice. Has that been removed in 6.3?
>
> Natalie
>
>
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Has-DropDownChoice-changed-tp4653271p4654770.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org