Thank you for the responses. theDropdownComponent.nullValid=Choose one
worked.
Regards,
Vinay Karmarkar
-Original Message-
From: Wilhelmsen Tor Iver [mailto:toriv...@arrive.no]
Sent: Monday, November 09, 2009 6:37 PM
To: users@wicket.apache.org
Subject: Re: Getting the "Choose O
> I have 2 drop-downs and a search button my page. When the page is
> loaded
> for the first time, the first option in both the drop-downs is "Choose
> Option". Now if I select some value and click Search, the page is
> rendered again and the Choose Option is gone forever. But I want it
> back. How
you can set the dropdown model object to a value which you will read it from
pageparams,
and you will set the pageparams in onsubmit,
on first page load you will not be able to retrieve from pageparams so in
this case set the modelobject to default
value.
--
regards,
Vineet Semwal
On Fri, Nov
Hi,
I have 2 drop-downs and a search button my page. When the page is loaded
for the first time, the first option in both the drop-downs is "Choose
Option". Now if I select some value and click Search, the page is
rendered again and the Choose Option is gone forever. But I want it
back. How do I