You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by wicketworker <si...@gmail.com> on 2008/12/23 21:56:24 UTC
DropDownChoice Dynamically adding a panel
Hi,
I have a DropDownChoice with 5 selections, and based on the choice the user
selected, i need to add a specific panel (out of 5 panels) to the page..
For example : If user selection is A, add panel A
If user selection is B, add panel B
I know this might sound very basic, but i am new to wicket..
--
View this message in context: http://www.nabble.com/DropDownChoice-Dynamically-adding-a-panel-tp21151136p21151136.html
Sent from the Wicket - User 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: DropDownChoice Dynamically adding a panel
Posted by Peter Neubauer <pe...@jayway.se>.
I think the concept is explained here:
http://www.nabble.com/Show-hide-WebMarkupContainer-td19290460.html
HTH
/peter
Open Hearts, Open Minds, OpenCauses.
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer
http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
On Tue, Dec 23, 2008 at 10:20 PM, wicketworker <si...@gmail.com> wrote:
>
> Thanks Peter.. Yes, Lets wait and see any body has done this..
>
>
>
> Peter Neubauer-3 wrote:
>>
>> Hi Siva,
>> I am not sure but I have seen this being done with a placeholder panel
>> that you replace with the chosen one upon changing of the choice,
>> using placeholder.replaceWith(newPanel) ... maybe someone else can
>> explain it more in detail?
>>
>> /peter
>>
>> Open Hearts, Open Minds, OpenCauses.
>>
>> GTalk: neubauer.peter
>> Skype peter.neubauer
>> Phone +46 704 106975
>> LinkedIn http://www.linkedin.com/in/neubauer
>> Twitter http://twitter.com/peterneubauer
>>
>> http://www.neo4j.org - New Energy for Data - the Graph Database.
>> http://www.ops4j.org - New Energy for OSS Communities - Open
>> Participation Software.
>> http://www.qi4j.org - New Energy for Java - Domain Driven
>> Development.
>>
>>
>>
>>
>> On Tue, Dec 23, 2008 at 9:56 PM, wicketworker <si...@gmail.com>
>> wrote:
>>>
>>> Hi,
>>> I have a DropDownChoice with 5 selections, and based on the choice the
>>> user
>>> selected, i need to add a specific panel (out of 5 panels) to the page..
>>> For example : If user selection is A, add panel A
>>> If user selection is B, add panel B
>>>
>>> I know this might sound very basic, but i am new to wicket..
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/DropDownChoice-Dynamically-adding-a-panel-tp21151136p21151136.html
>>> Sent from the Wicket - User 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
>>
>>
>>
>
> --
> View this message in context: http://www.nabble.com/DropDownChoice-Dynamically-adding-a-panel-tp21151136p21151500.html
> Sent from the Wicket - User 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: DropDownChoice Dynamically adding a panel
Posted by wicketworker <si...@gmail.com>.
Thanks Peter.. Yes, Lets wait and see any body has done this..
Peter Neubauer-3 wrote:
>
> Hi Siva,
> I am not sure but I have seen this being done with a placeholder panel
> that you replace with the chosen one upon changing of the choice,
> using placeholder.replaceWith(newPanel) ... maybe someone else can
> explain it more in detail?
>
> /peter
>
> Open Hearts, Open Minds, OpenCauses.
>
> GTalk: neubauer.peter
> Skype peter.neubauer
> Phone +46 704 106975
> LinkedIn http://www.linkedin.com/in/neubauer
> Twitter http://twitter.com/peterneubauer
>
> http://www.neo4j.org - New Energy for Data - the Graph Database.
> http://www.ops4j.org - New Energy for OSS Communities - Open
> Participation Software.
> http://www.qi4j.org - New Energy for Java - Domain Driven
> Development.
>
>
>
>
> On Tue, Dec 23, 2008 at 9:56 PM, wicketworker <si...@gmail.com>
> wrote:
>>
>> Hi,
>> I have a DropDownChoice with 5 selections, and based on the choice the
>> user
>> selected, i need to add a specific panel (out of 5 panels) to the page..
>> For example : If user selection is A, add panel A
>> If user selection is B, add panel B
>>
>> I know this might sound very basic, but i am new to wicket..
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/DropDownChoice-Dynamically-adding-a-panel-tp21151136p21151136.html
>> Sent from the Wicket - User 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
>
>
>
--
View this message in context: http://www.nabble.com/DropDownChoice-Dynamically-adding-a-panel-tp21151136p21151500.html
Sent from the Wicket - User 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: DropDownChoice Dynamically adding a panel
Posted by Peter Neubauer <pe...@jayway.se>.
Hi Siva,
I am not sure but I have seen this being done with a placeholder panel
that you replace with the chosen one upon changing of the choice,
using placeholder.replaceWith(newPanel) ... maybe someone else can
explain it more in detail?
/peter
Open Hearts, Open Minds, OpenCauses.
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer
http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.
On Tue, Dec 23, 2008 at 9:56 PM, wicketworker <si...@gmail.com> wrote:
>
> Hi,
> I have a DropDownChoice with 5 selections, and based on the choice the user
> selected, i need to add a specific panel (out of 5 panels) to the page..
> For example : If user selection is A, add panel A
> If user selection is B, add panel B
>
> I know this might sound very basic, but i am new to wicket..
>
>
>
>
> --
> View this message in context: http://www.nabble.com/DropDownChoice-Dynamically-adding-a-panel-tp21151136p21151136.html
> Sent from the Wicket - User 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