You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by sravan g <sr...@gmail.com> on 2010/03/03 06:43:26 UTC

Dynamic Generation of wicket Screen

Hi, Any one have idea about Dynamic Generation of wicket Screen depends on
value Stored on Database?

Re: Dynamic Generation of wicket Screen

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
DropDownChoice has options like setNullValid, setRequired, etc. and
also you can localize the defalult text "choose one"

2010/3/3 sravang <sr...@gmail.com>:
>
> i will try and ask u later.
> i have another one doubt, i want to remove default choose one for
> DropDownChoice
> If u have any code pls send me.
>
>
> MartinM wrote:
>>
>> There are many ways to accomplish this. You need to repaint the form
>> or components on the screen. You can either reload the whole page or
>> use ajax.
>>
>> **
>> Martin
>>
>> 2010/3/3 sravang <sr...@gmail.com>:
>>>
>>> Thank u. But i want when i change the customer(textfield) through search
>>> option it automatically disable/enable some fields(have 42 fields) and
>>> positions also change depends on DB Sequence No.
>>> If u give id, i will send my screen also.
>>>
>>>
>>> MartinM wrote:
>>>>
>>>> Hi!
>>>>
>>>>>                lblCustName = new Label("LblCustName", "Customer
>>>>> Name*");
>>>>>                journalPanel.add(lblCustName);
>>>>
>>>>>
>>>>>                custNameProp=new PropertyModel(customerDOM,
>>>>> "customerName");
>>>>>                txtCustName = new TextField("TxtCustName",custNameProp);
>>>>>                journalPanel.add(txtCustName);
>>>>
>>>> So if you want to hide/show label you can do like this:
>>>>
>>>> lblCustName = new Label("LblCustName", "Customer Name*") {
>>>>    @Override
>>>>    public boolean isVisible() {
>>>>       return true if visible false if should be hidden for this
>>>> customer;
>>>>    }
>>>> };
>>>>
>>>> txtCustName = new TextField("TxtCustName",custNameProp) {
>>>>    @Override
>>>>    public boolean isVisible() {
>>>>       return true if visible false if should be hidden for this
>>>> customer;
>>>>    }
>>>> };
>>>>
>>>>> Awaiting for your reply.
>>>>>
>>>>>
>>>>> MartinM wrote:
>>>>>>
>>>>>> No just show me code of one component you want to show/hide. It can be
>>>>>> textfield, panel, label,... button...
>>>>>>
>>>>>> **
>>>>>> Martin
>>>>>>
>>>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>>>
>>>>>>> Give me your Mail id. i will send screen shots.
>>>>>>>
>>>>>>> MartinM wrote:
>>>>>>>>
>>>>>>>> Show me a code snipplet of component that you want to hide or show
>>>>>>>> conditionally. I will do the same for that component.
>>>>>>>>
>>>>>>>> **
>>>>>>>> Martin
>>>>>>>>
>>>>>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>>>>>
>>>>>>>>> Didn't understand. pls explain me.
>>>>>>>>>
>>>>>>>>> MartinM wrote:
>>>>>>>>>>
>>>>>>>>>> Hi!
>>>>>>>>>>
>>>>>>>>>> You can always use:
>>>>>>>>>>
>>>>>>>>>> field = new Field(...) {
>>>>>>>>>>    @Override
>>>>>>>>>>    public boolean isVisible() {
>>>>>>>>>>        return showIfVisible;
>>>>>>>>>>    }
>>>>>>>>>> }
>>>>>>>>>>
>>>>>>>>>> **
>>>>>>>>>> Martin
>>>>>>>>>>
>>>>>>>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>>>>>>>
>>>>>>>>>>> Thank u for your reply.
>>>>>>>>>>>
>>>>>>>>>>> I will explain my work. if have any idea pls let me know.
>>>>>>>>>>>
>>>>>>>>>>> My screen have one TextField name is like Customer.
>>>>>>>>>>>
>>>>>>>>>>> That customer's name come from DB through search option.
>>>>>>>>>>>
>>>>>>>>>>> Based on the customer screen will display field-wise(some fields
>>>>>>>>>>> display
>>>>>>>>>>> for
>>>>>>>>>>> some customer and some fields disable for some customer based on
>>>>>>>>>>> the
>>>>>>>>>>> fields
>>>>>>>>>>> stored in DB)
>>>>>>>>>>>
>>>>>>>>>>> Awaiting for your reply.
>>>>>>>>>>>
>>>>>>>>>>> Thanks,
>>>>>>>>>>> Sravang.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> MartinM wrote:
>>>>>>>>>>>>
>>>>>>>>>>>> Hi!
>>>>>>>>>>>>
>>>>>>>>>>>> You mean likea a table or like markup from db?
>>>>>>>>>>>>
>>>>>>>>>>>> Or maybe mashup approach?
>>>>>>>>>>>> http://code.google.com/p/wicket-mashup/
>>>>>>>>>>>>
>>>>>>>>>>>> **
>>>>>>>>>>>> Martin
>>>>>>>>>>>>
>>>>>>>>>>>> 2010/3/3 sravan g <sr...@gmail.com>:
>>>>>>>>>>>>> Hi, Any one have idea about Dynamic Generation of wicket Screen
>>>>>>>>>>>>> depends
>>>>>>>>>>>>> on
>>>>>>>>>>>>> value Stored on Database?
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>>> 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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27764659.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765090.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765597.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765829.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27766227.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27766514.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: Dynamic Generation of wicket Screen

Posted by sravang <sr...@gmail.com>.
i will try and ask u later.
i have another one doubt, i want to remove default choose one for
DropDownChoice
If u have any code pls send me.


MartinM wrote:
> 
> There are many ways to accomplish this. You need to repaint the form
> or components on the screen. You can either reload the whole page or
> use ajax.
> 
> **
> Martin
> 
> 2010/3/3 sravang <sr...@gmail.com>:
>>
>> Thank u. But i want when i change the customer(textfield) through search
>> option it automatically disable/enable some fields(have 42 fields) and
>> positions also change depends on DB Sequence No.
>> If u give id, i will send my screen also.
>>
>>
>> MartinM wrote:
>>>
>>> Hi!
>>>
>>>>                lblCustName = new Label("LblCustName", "Customer
>>>> Name*");
>>>>                journalPanel.add(lblCustName);
>>>
>>>>
>>>>                custNameProp=new PropertyModel(customerDOM,
>>>> "customerName");
>>>>                txtCustName = new TextField("TxtCustName",custNameProp);
>>>>                journalPanel.add(txtCustName);
>>>
>>> So if you want to hide/show label you can do like this:
>>>
>>> lblCustName = new Label("LblCustName", "Customer Name*") {
>>>    @Override
>>>    public boolean isVisible() {
>>>       return true if visible false if should be hidden for this
>>> customer;
>>>    }
>>> };
>>>
>>> txtCustName = new TextField("TxtCustName",custNameProp) {
>>>    @Override
>>>    public boolean isVisible() {
>>>       return true if visible false if should be hidden for this
>>> customer;
>>>    }
>>> };
>>>
>>>> Awaiting for your reply.
>>>>
>>>>
>>>> MartinM wrote:
>>>>>
>>>>> No just show me code of one component you want to show/hide. It can be
>>>>> textfield, panel, label,... button...
>>>>>
>>>>> **
>>>>> Martin
>>>>>
>>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>>
>>>>>> Give me your Mail id. i will send screen shots.
>>>>>>
>>>>>> MartinM wrote:
>>>>>>>
>>>>>>> Show me a code snipplet of component that you want to hide or show
>>>>>>> conditionally. I will do the same for that component.
>>>>>>>
>>>>>>> **
>>>>>>> Martin
>>>>>>>
>>>>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>>>>
>>>>>>>> Didn't understand. pls explain me.
>>>>>>>>
>>>>>>>> MartinM wrote:
>>>>>>>>>
>>>>>>>>> Hi!
>>>>>>>>>
>>>>>>>>> You can always use:
>>>>>>>>>
>>>>>>>>> field = new Field(...) {
>>>>>>>>>    @Override
>>>>>>>>>    public boolean isVisible() {
>>>>>>>>>        return showIfVisible;
>>>>>>>>>    }
>>>>>>>>> }
>>>>>>>>>
>>>>>>>>> **
>>>>>>>>> Martin
>>>>>>>>>
>>>>>>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>>>>>>
>>>>>>>>>> Thank u for your reply.
>>>>>>>>>>
>>>>>>>>>> I will explain my work. if have any idea pls let me know.
>>>>>>>>>>
>>>>>>>>>> My screen have one TextField name is like Customer.
>>>>>>>>>>
>>>>>>>>>> That customer's name come from DB through search option.
>>>>>>>>>>
>>>>>>>>>> Based on the customer screen will display field-wise(some fields
>>>>>>>>>> display
>>>>>>>>>> for
>>>>>>>>>> some customer and some fields disable for some customer based on
>>>>>>>>>> the
>>>>>>>>>> fields
>>>>>>>>>> stored in DB)
>>>>>>>>>>
>>>>>>>>>> Awaiting for your reply.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>> Sravang.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> MartinM wrote:
>>>>>>>>>>>
>>>>>>>>>>> Hi!
>>>>>>>>>>>
>>>>>>>>>>> You mean likea a table or like markup from db?
>>>>>>>>>>>
>>>>>>>>>>> Or maybe mashup approach?
>>>>>>>>>>> http://code.google.com/p/wicket-mashup/
>>>>>>>>>>>
>>>>>>>>>>> **
>>>>>>>>>>> Martin
>>>>>>>>>>>
>>>>>>>>>>> 2010/3/3 sravan g <sr...@gmail.com>:
>>>>>>>>>>>> Hi, Any one have idea about Dynamic Generation of wicket Screen
>>>>>>>>>>>> depends
>>>>>>>>>>>> on
>>>>>>>>>>>> value Stored on Database?
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>>> 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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27764659.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765090.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765597.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765829.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27766227.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27766514.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: Dynamic Generation of wicket Screen

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
There are many ways to accomplish this. You need to repaint the form
or components on the screen. You can either reload the whole page or
use ajax.

**
Martin

2010/3/3 sravang <sr...@gmail.com>:
>
> Thank u. But i want when i change the customer(textfield) through search
> option it automatically disable/enable some fields(have 42 fields) and
> positions also change depends on DB Sequence No.
> If u give id, i will send my screen also.
>
>
> MartinM wrote:
>>
>> Hi!
>>
>>>                lblCustName = new Label("LblCustName", "Customer Name*");
>>>                journalPanel.add(lblCustName);
>>
>>>
>>>                custNameProp=new PropertyModel(customerDOM,
>>> "customerName");
>>>                txtCustName = new TextField("TxtCustName",custNameProp);
>>>                journalPanel.add(txtCustName);
>>
>> So if you want to hide/show label you can do like this:
>>
>> lblCustName = new Label("LblCustName", "Customer Name*") {
>>    @Override
>>    public boolean isVisible() {
>>       return true if visible false if should be hidden for this customer;
>>    }
>> };
>>
>> txtCustName = new TextField("TxtCustName",custNameProp) {
>>    @Override
>>    public boolean isVisible() {
>>       return true if visible false if should be hidden for this customer;
>>    }
>> };
>>
>>> Awaiting for your reply.
>>>
>>>
>>> MartinM wrote:
>>>>
>>>> No just show me code of one component you want to show/hide. It can be
>>>> textfield, panel, label,... button...
>>>>
>>>> **
>>>> Martin
>>>>
>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>
>>>>> Give me your Mail id. i will send screen shots.
>>>>>
>>>>> MartinM wrote:
>>>>>>
>>>>>> Show me a code snipplet of component that you want to hide or show
>>>>>> conditionally. I will do the same for that component.
>>>>>>
>>>>>> **
>>>>>> Martin
>>>>>>
>>>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>>>
>>>>>>> Didn't understand. pls explain me.
>>>>>>>
>>>>>>> MartinM wrote:
>>>>>>>>
>>>>>>>> Hi!
>>>>>>>>
>>>>>>>> You can always use:
>>>>>>>>
>>>>>>>> field = new Field(...) {
>>>>>>>>    @Override
>>>>>>>>    public boolean isVisible() {
>>>>>>>>        return showIfVisible;
>>>>>>>>    }
>>>>>>>> }
>>>>>>>>
>>>>>>>> **
>>>>>>>> Martin
>>>>>>>>
>>>>>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>>>>>
>>>>>>>>> Thank u for your reply.
>>>>>>>>>
>>>>>>>>> I will explain my work. if have any idea pls let me know.
>>>>>>>>>
>>>>>>>>> My screen have one TextField name is like Customer.
>>>>>>>>>
>>>>>>>>> That customer's name come from DB through search option.
>>>>>>>>>
>>>>>>>>> Based on the customer screen will display field-wise(some fields
>>>>>>>>> display
>>>>>>>>> for
>>>>>>>>> some customer and some fields disable for some customer based on
>>>>>>>>> the
>>>>>>>>> fields
>>>>>>>>> stored in DB)
>>>>>>>>>
>>>>>>>>> Awaiting for your reply.
>>>>>>>>>
>>>>>>>>> Thanks,
>>>>>>>>> Sravang.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> MartinM wrote:
>>>>>>>>>>
>>>>>>>>>> Hi!
>>>>>>>>>>
>>>>>>>>>> You mean likea a table or like markup from db?
>>>>>>>>>>
>>>>>>>>>> Or maybe mashup approach? http://code.google.com/p/wicket-mashup/
>>>>>>>>>>
>>>>>>>>>> **
>>>>>>>>>> Martin
>>>>>>>>>>
>>>>>>>>>> 2010/3/3 sravan g <sr...@gmail.com>:
>>>>>>>>>>> Hi, Any one have idea about Dynamic Generation of wicket Screen
>>>>>>>>>>> depends
>>>>>>>>>>> on
>>>>>>>>>>> value Stored on Database?
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>>> 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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27764659.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765090.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765597.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765829.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27766227.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: Dynamic Generation of wicket Screen

Posted by sravang <sr...@gmail.com>.
Thank u. But i want when i change the customer(textfield) through search
option it automatically disable/enable some fields(have 42 fields) and
positions also change depends on DB Sequence No.
If u give id, i will send my screen also.


MartinM wrote:
> 
> Hi!
> 
>>                lblCustName = new Label("LblCustName", "Customer Name*");
>>                journalPanel.add(lblCustName);
> 
>>
>>                custNameProp=new PropertyModel(customerDOM,
>> "customerName");
>>                txtCustName = new TextField("TxtCustName",custNameProp);
>>                journalPanel.add(txtCustName);
> 
> So if you want to hide/show label you can do like this:
> 
> lblCustName = new Label("LblCustName", "Customer Name*") {
>    @Override
>    public boolean isVisible() {
>       return true if visible false if should be hidden for this customer;
>    }
> };
> 
> txtCustName = new TextField("TxtCustName",custNameProp) {
>    @Override
>    public boolean isVisible() {
>       return true if visible false if should be hidden for this customer;
>    }
> };
> 
>> Awaiting for your reply.
>>
>>
>> MartinM wrote:
>>>
>>> No just show me code of one component you want to show/hide. It can be
>>> textfield, panel, label,... button...
>>>
>>> **
>>> Martin
>>>
>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>
>>>> Give me your Mail id. i will send screen shots.
>>>>
>>>> MartinM wrote:
>>>>>
>>>>> Show me a code snipplet of component that you want to hide or show
>>>>> conditionally. I will do the same for that component.
>>>>>
>>>>> **
>>>>> Martin
>>>>>
>>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>>
>>>>>> Didn't understand. pls explain me.
>>>>>>
>>>>>> MartinM wrote:
>>>>>>>
>>>>>>> Hi!
>>>>>>>
>>>>>>> You can always use:
>>>>>>>
>>>>>>> field = new Field(...) {
>>>>>>>    @Override
>>>>>>>    public boolean isVisible() {
>>>>>>>        return showIfVisible;
>>>>>>>    }
>>>>>>> }
>>>>>>>
>>>>>>> **
>>>>>>> Martin
>>>>>>>
>>>>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>>>>
>>>>>>>> Thank u for your reply.
>>>>>>>>
>>>>>>>> I will explain my work. if have any idea pls let me know.
>>>>>>>>
>>>>>>>> My screen have one TextField name is like Customer.
>>>>>>>>
>>>>>>>> That customer's name come from DB through search option.
>>>>>>>>
>>>>>>>> Based on the customer screen will display field-wise(some fields
>>>>>>>> display
>>>>>>>> for
>>>>>>>> some customer and some fields disable for some customer based on
>>>>>>>> the
>>>>>>>> fields
>>>>>>>> stored in DB)
>>>>>>>>
>>>>>>>> Awaiting for your reply.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Sravang.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> MartinM wrote:
>>>>>>>>>
>>>>>>>>> Hi!
>>>>>>>>>
>>>>>>>>> You mean likea a table or like markup from db?
>>>>>>>>>
>>>>>>>>> Or maybe mashup approach? http://code.google.com/p/wicket-mashup/
>>>>>>>>>
>>>>>>>>> **
>>>>>>>>> Martin
>>>>>>>>>
>>>>>>>>> 2010/3/3 sravan g <sr...@gmail.com>:
>>>>>>>>>> Hi, Any one have idea about Dynamic Generation of wicket Screen
>>>>>>>>>> depends
>>>>>>>>>> on
>>>>>>>>>> value Stored on Database?
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> 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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27764659.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765090.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765597.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765829.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27766227.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: Dynamic Generation of wicket Screen

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Hi!

>                lblCustName = new Label("LblCustName", "Customer Name*");
>                journalPanel.add(lblCustName);

>
>                custNameProp=new PropertyModel(customerDOM, "customerName");
>                txtCustName = new TextField("TxtCustName",custNameProp);
>                journalPanel.add(txtCustName);

So if you want to hide/show label you can do like this:

lblCustName = new Label("LblCustName", "Customer Name*") {
   @Override
   public boolean isVisible() {
      return true if visible false if should be hidden for this customer;
   }
};

txtCustName = new TextField("TxtCustName",custNameProp) {
   @Override
   public boolean isVisible() {
      return true if visible false if should be hidden for this customer;
   }
};

> Awaiting for your reply.
>
>
> MartinM wrote:
>>
>> No just show me code of one component you want to show/hide. It can be
>> textfield, panel, label,... button...
>>
>> **
>> Martin
>>
>> 2010/3/3 sravang <sr...@gmail.com>:
>>>
>>> Give me your Mail id. i will send screen shots.
>>>
>>> MartinM wrote:
>>>>
>>>> Show me a code snipplet of component that you want to hide or show
>>>> conditionally. I will do the same for that component.
>>>>
>>>> **
>>>> Martin
>>>>
>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>
>>>>> Didn't understand. pls explain me.
>>>>>
>>>>> MartinM wrote:
>>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> You can always use:
>>>>>>
>>>>>> field = new Field(...) {
>>>>>>    @Override
>>>>>>    public boolean isVisible() {
>>>>>>        return showIfVisible;
>>>>>>    }
>>>>>> }
>>>>>>
>>>>>> **
>>>>>> Martin
>>>>>>
>>>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>>>
>>>>>>> Thank u for your reply.
>>>>>>>
>>>>>>> I will explain my work. if have any idea pls let me know.
>>>>>>>
>>>>>>> My screen have one TextField name is like Customer.
>>>>>>>
>>>>>>> That customer's name come from DB through search option.
>>>>>>>
>>>>>>> Based on the customer screen will display field-wise(some fields
>>>>>>> display
>>>>>>> for
>>>>>>> some customer and some fields disable for some customer based on the
>>>>>>> fields
>>>>>>> stored in DB)
>>>>>>>
>>>>>>> Awaiting for your reply.
>>>>>>>
>>>>>>> Thanks,
>>>>>>> Sravang.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> MartinM wrote:
>>>>>>>>
>>>>>>>> Hi!
>>>>>>>>
>>>>>>>> You mean likea a table or like markup from db?
>>>>>>>>
>>>>>>>> Or maybe mashup approach? http://code.google.com/p/wicket-mashup/
>>>>>>>>
>>>>>>>> **
>>>>>>>> Martin
>>>>>>>>
>>>>>>>> 2010/3/3 sravan g <sr...@gmail.com>:
>>>>>>>>> Hi, Any one have idea about Dynamic Generation of wicket Screen
>>>>>>>>> depends
>>>>>>>>> on
>>>>>>>>> value Stored on Database?
>>>>>>>>>
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> 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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27764659.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765090.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765597.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765829.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: Dynamic Generation of wicket Screen

Posted by sravang <sr...@gmail.com>.
If i tell like this we cant come to clear idea. that's y i asked your mail-id
to send my screen. because my customer details are stored in DB. Depends
upon customer selection in wicket, some fields will display and ordered way
(it means if customer name have Sequence no is 3 which is stored id DB,it
will show 3 place of our panel(Screen)
if customer address have Sequence no is 1 which is stored id DB,it will show
1 place of our panel(Screen)
if customer contact no name have Sequence no is 2 which is stored id DB,it
will show 2 place of our panel(Screen))

Any way i attached code also.

		lblCustName = new Label("LblCustName", "Customer Name*");
		journalPanel.add(lblCustName);

		custNameProp=new PropertyModel(customerDOM, "customerName");
		txtCustName = new TextField("TxtCustName",custNameProp);
		journalPanel.add(txtCustName);
Awaiting for your reply.


MartinM wrote:
> 
> No just show me code of one component you want to show/hide. It can be
> textfield, panel, label,... button...
> 
> **
> Martin
> 
> 2010/3/3 sravang <sr...@gmail.com>:
>>
>> Give me your Mail id. i will send screen shots.
>>
>> MartinM wrote:
>>>
>>> Show me a code snipplet of component that you want to hide or show
>>> conditionally. I will do the same for that component.
>>>
>>> **
>>> Martin
>>>
>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>
>>>> Didn't understand. pls explain me.
>>>>
>>>> MartinM wrote:
>>>>>
>>>>> Hi!
>>>>>
>>>>> You can always use:
>>>>>
>>>>> field = new Field(...) {
>>>>>    @Override
>>>>>    public boolean isVisible() {
>>>>>        return showIfVisible;
>>>>>    }
>>>>> }
>>>>>
>>>>> **
>>>>> Martin
>>>>>
>>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>>
>>>>>> Thank u for your reply.
>>>>>>
>>>>>> I will explain my work. if have any idea pls let me know.
>>>>>>
>>>>>> My screen have one TextField name is like Customer.
>>>>>>
>>>>>> That customer's name come from DB through search option.
>>>>>>
>>>>>> Based on the customer screen will display field-wise(some fields
>>>>>> display
>>>>>> for
>>>>>> some customer and some fields disable for some customer based on the
>>>>>> fields
>>>>>> stored in DB)
>>>>>>
>>>>>> Awaiting for your reply.
>>>>>>
>>>>>> Thanks,
>>>>>> Sravang.
>>>>>>
>>>>>>
>>>>>>
>>>>>> MartinM wrote:
>>>>>>>
>>>>>>> Hi!
>>>>>>>
>>>>>>> You mean likea a table or like markup from db?
>>>>>>>
>>>>>>> Or maybe mashup approach? http://code.google.com/p/wicket-mashup/
>>>>>>>
>>>>>>> **
>>>>>>> Martin
>>>>>>>
>>>>>>> 2010/3/3 sravan g <sr...@gmail.com>:
>>>>>>>> Hi, Any one have idea about Dynamic Generation of wicket Screen
>>>>>>>> depends
>>>>>>>> on
>>>>>>>> value Stored on Database?
>>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>> 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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27764659.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765090.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765597.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765829.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: Dynamic Generation of wicket Screen

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
No just show me code of one component you want to show/hide. It can be
textfield, panel, label,... button...

**
Martin

2010/3/3 sravang <sr...@gmail.com>:
>
> Give me your Mail id. i will send screen shots.
>
> MartinM wrote:
>>
>> Show me a code snipplet of component that you want to hide or show
>> conditionally. I will do the same for that component.
>>
>> **
>> Martin
>>
>> 2010/3/3 sravang <sr...@gmail.com>:
>>>
>>> Didn't understand. pls explain me.
>>>
>>> MartinM wrote:
>>>>
>>>> Hi!
>>>>
>>>> You can always use:
>>>>
>>>> field = new Field(...) {
>>>>    @Override
>>>>    public boolean isVisible() {
>>>>        return showIfVisible;
>>>>    }
>>>> }
>>>>
>>>> **
>>>> Martin
>>>>
>>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>>
>>>>> Thank u for your reply.
>>>>>
>>>>> I will explain my work. if have any idea pls let me know.
>>>>>
>>>>> My screen have one TextField name is like Customer.
>>>>>
>>>>> That customer's name come from DB through search option.
>>>>>
>>>>> Based on the customer screen will display field-wise(some fields
>>>>> display
>>>>> for
>>>>> some customer and some fields disable for some customer based on the
>>>>> fields
>>>>> stored in DB)
>>>>>
>>>>> Awaiting for your reply.
>>>>>
>>>>> Thanks,
>>>>> Sravang.
>>>>>
>>>>>
>>>>>
>>>>> MartinM wrote:
>>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> You mean likea a table or like markup from db?
>>>>>>
>>>>>> Or maybe mashup approach? http://code.google.com/p/wicket-mashup/
>>>>>>
>>>>>> **
>>>>>> Martin
>>>>>>
>>>>>> 2010/3/3 sravan g <sr...@gmail.com>:
>>>>>>> Hi, Any one have idea about Dynamic Generation of wicket Screen
>>>>>>> depends
>>>>>>> on
>>>>>>> value Stored on Database?
>>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> 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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27764659.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765090.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765597.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: Dynamic Generation of wicket Screen

Posted by sravang <sr...@gmail.com>.
Give me your Mail id. i will send screen shots.

MartinM wrote:
> 
> Show me a code snipplet of component that you want to hide or show
> conditionally. I will do the same for that component.
> 
> **
> Martin
> 
> 2010/3/3 sravang <sr...@gmail.com>:
>>
>> Didn't understand. pls explain me.
>>
>> MartinM wrote:
>>>
>>> Hi!
>>>
>>> You can always use:
>>>
>>> field = new Field(...) {
>>>    @Override
>>>    public boolean isVisible() {
>>>        return showIfVisible;
>>>    }
>>> }
>>>
>>> **
>>> Martin
>>>
>>> 2010/3/3 sravang <sr...@gmail.com>:
>>>>
>>>> Thank u for your reply.
>>>>
>>>> I will explain my work. if have any idea pls let me know.
>>>>
>>>> My screen have one TextField name is like Customer.
>>>>
>>>> That customer's name come from DB through search option.
>>>>
>>>> Based on the customer screen will display field-wise(some fields
>>>> display
>>>> for
>>>> some customer and some fields disable for some customer based on the
>>>> fields
>>>> stored in DB)
>>>>
>>>> Awaiting for your reply.
>>>>
>>>> Thanks,
>>>> Sravang.
>>>>
>>>>
>>>>
>>>> MartinM wrote:
>>>>>
>>>>> Hi!
>>>>>
>>>>> You mean likea a table or like markup from db?
>>>>>
>>>>> Or maybe mashup approach? http://code.google.com/p/wicket-mashup/
>>>>>
>>>>> **
>>>>> Martin
>>>>>
>>>>> 2010/3/3 sravan g <sr...@gmail.com>:
>>>>>> Hi, Any one have idea about Dynamic Generation of wicket Screen
>>>>>> depends
>>>>>> on
>>>>>> value Stored on Database?
>>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> 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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27764659.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765090.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765597.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: Dynamic Generation of wicket Screen

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Show me a code snipplet of component that you want to hide or show
conditionally. I will do the same for that component.

**
Martin

2010/3/3 sravang <sr...@gmail.com>:
>
> Didn't understand. pls explain me.
>
> MartinM wrote:
>>
>> Hi!
>>
>> You can always use:
>>
>> field = new Field(...) {
>>    @Override
>>    public boolean isVisible() {
>>        return showIfVisible;
>>    }
>> }
>>
>> **
>> Martin
>>
>> 2010/3/3 sravang <sr...@gmail.com>:
>>>
>>> Thank u for your reply.
>>>
>>> I will explain my work. if have any idea pls let me know.
>>>
>>> My screen have one TextField name is like Customer.
>>>
>>> That customer's name come from DB through search option.
>>>
>>> Based on the customer screen will display field-wise(some fields display
>>> for
>>> some customer and some fields disable for some customer based on the
>>> fields
>>> stored in DB)
>>>
>>> Awaiting for your reply.
>>>
>>> Thanks,
>>> Sravang.
>>>
>>>
>>>
>>> MartinM wrote:
>>>>
>>>> Hi!
>>>>
>>>> You mean likea a table or like markup from db?
>>>>
>>>> Or maybe mashup approach? http://code.google.com/p/wicket-mashup/
>>>>
>>>> **
>>>> Martin
>>>>
>>>> 2010/3/3 sravan g <sr...@gmail.com>:
>>>>> Hi, Any one have idea about Dynamic Generation of wicket Screen depends
>>>>> on
>>>>> value Stored on Database?
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> 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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27764659.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765090.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: Dynamic Generation of wicket Screen

Posted by sravang <sr...@gmail.com>.
Didn't understand. pls explain me.

MartinM wrote:
> 
> Hi!
> 
> You can always use:
> 
> field = new Field(...) {
>    @Override
>    public boolean isVisible() {
>        return showIfVisible;
>    }
> }
> 
> **
> Martin
> 
> 2010/3/3 sravang <sr...@gmail.com>:
>>
>> Thank u for your reply.
>>
>> I will explain my work. if have any idea pls let me know.
>>
>> My screen have one TextField name is like Customer.
>>
>> That customer's name come from DB through search option.
>>
>> Based on the customer screen will display field-wise(some fields display
>> for
>> some customer and some fields disable for some customer based on the
>> fields
>> stored in DB)
>>
>> Awaiting for your reply.
>>
>> Thanks,
>> Sravang.
>>
>>
>>
>> MartinM wrote:
>>>
>>> Hi!
>>>
>>> You mean likea a table or like markup from db?
>>>
>>> Or maybe mashup approach? http://code.google.com/p/wicket-mashup/
>>>
>>> **
>>> Martin
>>>
>>> 2010/3/3 sravan g <sr...@gmail.com>:
>>>> Hi, Any one have idea about Dynamic Generation of wicket Screen depends
>>>> on
>>>> value Stored on Database?
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27764659.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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27765090.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: Dynamic Generation of wicket Screen

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Hi!

You can always use:

field = new Field(...) {
   @Override
   public boolean isVisible() {
       return showIfVisible;
   }
}

**
Martin

2010/3/3 sravang <sr...@gmail.com>:
>
> Thank u for your reply.
>
> I will explain my work. if have any idea pls let me know.
>
> My screen have one TextField name is like Customer.
>
> That customer's name come from DB through search option.
>
> Based on the customer screen will display field-wise(some fields display for
> some customer and some fields disable for some customer based on the fields
> stored in DB)
>
> Awaiting for your reply.
>
> Thanks,
> Sravang.
>
>
>
> MartinM wrote:
>>
>> Hi!
>>
>> You mean likea a table or like markup from db?
>>
>> Or maybe mashup approach? http://code.google.com/p/wicket-mashup/
>>
>> **
>> Martin
>>
>> 2010/3/3 sravan g <sr...@gmail.com>:
>>> Hi, Any one have idea about Dynamic Generation of wicket Screen depends
>>> on
>>> value Stored on Database?
>>>
>>
>> ---------------------------------------------------------------------
>> 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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27764659.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: Dynamic Generation of wicket Screen

Posted by sravang <sr...@gmail.com>.
Thank u for your reply.

I will explain my work. if have any idea pls let me know.

My screen have one TextField name is like Customer.

That customer's name come from DB through search option.

Based on the customer screen will display field-wise(some fields display for
some customer and some fields disable for some customer based on the fields
stored in DB)

Awaiting for your reply.

Thanks,
Sravang. 



MartinM wrote:
> 
> Hi!
> 
> You mean likea a table or like markup from db?
> 
> Or maybe mashup approach? http://code.google.com/p/wicket-mashup/
> 
> **
> Martin
> 
> 2010/3/3 sravan g <sr...@gmail.com>:
>> Hi, Any one have idea about Dynamic Generation of wicket Screen depends
>> on
>> value Stored on Database?
>>
> 
> ---------------------------------------------------------------------
> 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://old.nabble.com/Dynamic-Generation-of-wicket-Screen-tp27764572p27764659.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: Dynamic Generation of wicket Screen

Posted by Martin Makundi <ma...@koodaripalvelut.com>.
Hi!

You mean likea a table or like markup from db?

Or maybe mashup approach? http://code.google.com/p/wicket-mashup/

**
Martin

2010/3/3 sravan g <sr...@gmail.com>:
> Hi, Any one have idea about Dynamic Generation of wicket Screen depends on
> value Stored on Database?
>

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