Help!! TextField in ListView = NULL

2008-08-07 Thread Alvin_my
Hi, I am very new with wicket and I have a problem with TextField within ListView , I try to getModelObject from the Textfield but return NULL ? I am trying my best to find the solution, unfortunately I am running out of time with my final project. Already spent 2 days dealing with this small

Re: Help!! TextField in ListView = NULL

2008-08-07 Thread Martijn Dashorst
2 days without using google [1,2]? listview.setreuseitems(true); Martijn [1] http://www.google.com/search?q=wicket+form+component+listview [2] http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html#ListViewandotherrepeaters-Usingformcomponentsinarepeater On Thu, Aug 7, 2008 at 10:09

Re: Help!! TextField in ListView = NULL

2008-08-07 Thread Alvin_my
I have add testsListView.setReuseItems(true), but still doesn't work. :confused: Hope anyone able to give me hints and guide me to the correct implementation... thanks Refer to HERE below: ListView testsListView = new ListView(tests, tests) { public void populateItem(final

Re: Help!! TextField in ListView = NULL

2008-08-07 Thread Al Maw
Have you done any web development before using Wicket? If so, you should be able to solve this problem by asking yourself the following questions: What happens if you click a link on a web page? Do you think the browser sends the data in a text field on the page to the server if you click a