Re: How to submit a result of dropdownchoice and a result of input text simultaneously?

2012-03-13 Thread xiaowang
I am totally new in wicket, can anyone help me? Now my code is: //dropdownbox add(new FeedbackPanel("dropdownfeedback")); DropDownChoice listSites = new DropDownChoice( "sites", new PropertyModel(this, "selected"), SEARCH_ENGINES);

Re: How to submit a result of dropdownchoice and a result of input text simultaneously?

2012-03-14 Thread xiaowang
Thanks very much for your help. I have finished it. I know it is a very simple question. But if any other new people have the same question, just email me. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-submit-a-result-of-dropdownchoice-and-a-result-of-input-t

Why I cannot receive default value in Textfield?

2012-03-18 Thread xiaowang
Hi, Now I am using: html - Java - public class MerchantEditPanel extends Panel { private String ContactPerson1 = "some text"; public MerchantEditPanel{ TextField ContactPerson1 = new TextField("ContactPerson1",new PropertyModel(this,"ContactPerson1")); xxform. add(ContactPerson

Re: Why I cannot receive default value in Textfield?

2012-03-19 Thread xiaowang
Hi, thanks for the replay. I checked onsubmit() and the value has not been transferred if I don't delete the default value. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Why-I-cannot-receive-default-value-in-Textfield-tp4483603p4486021.html Sent from the Users forum