Re: Dynamic Generation of wicket Screen

2010-03-03 Thread sravang
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 sravangs...@gmail.com: Didn't understand. pls explain me. MartinM

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread Martin Makundi
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 sravangs...@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

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread sravang
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

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread Martin Makundi
Hi!                lblCustName = new Label(LblCustName, Customer Name*);                journalPanel.add(lblCustName); custNameProp=new PropertyModel(customerDOM, customerName); txtCustName = new TextField(TxtCustName,custNameProp);

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread sravang
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

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread Martin Makundi
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 sravangs...@gmail.com: Thank u. But i want when i change the customer(textfield) through search option it

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread sravang
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

Re: Dynamic Generation of wicket Screen

2010-03-03 Thread Martin Makundi
DropDownChoice has options like setNullValid, setRequired, etc. and also you can localize the defalult text choose one 2010/3/3 sravang sravangs...@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

Re: Dynamic Generation of wicket Screen

2010-03-02 Thread sravang
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 sravangs...@gmail.com: Thank u for your reply. I will explain my

Re: Dynamic Generation of wicket Screen

2010-03-02 Thread Martin Makundi
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 sravangs...@gmail.com: Didn't understand. pls explain me. MartinM wrote: Hi! You can always use: field = new Field(...) {   �...@override