suppose you have a single text keyword box: class searchpage extends webpage { private String keywords;
public searchpage() { Form form=new Form("form"); form.add(new TextBox("keywords", new PropertyModel(this, "keywords"))); add(new DataView("results", new MyDataProvider()) { protected void populateitem(item) { .. } }); } private class MyDataProvider implements IDataProvider { public Iterator iterator(int first, int count) { return query(first, count, keywords); } public int size() { return size(keywords); } } } -igor On Jan 27, 2008 4:59 PM, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote: > > I don't quit follow what you mean since I'm a newbie. Can you please explain > in a little more detail or give me some pointers. > -- > View this message in context: > http://www.nabble.com/Filter-data-with-wicket-tp15124809p15126484.html > > Sent from the Wicket - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]