Re: Navigating Wicket DataTable's

2009-11-30 Thread Keith Bennett
Igor - Are you saying that your approach below is better than parsing the component path string as I was doing, for navigating up the component hierarchy? That makes sense to me. That addresses the first three questions: * What row am I in? * What column am I in? * What is the table that

Re: Navigating Wicket DataTable's

2009-11-30 Thread Igor Vaynberg
On Mon, Nov 30, 2009 at 12:02 PM, Keith Bennett keithrbenn...@gmail.com wrote: Igor - Are you saying that your approach below is  better than parsing the component path string as I was doing, for navigating up the component hierarchy?  That makes sense to me. That addresses the first three

Navigating Wicket DataTable's

2009-11-26 Thread Keith Bennett
Hi, all. I'd like some feedback as to whether my need is already addressed in Wicket, or, if not, if I'm on the right track with some code I've written to address this need. I've been working with a DataTable and need to be able to query it for things like: For a given component: *

Re: Navigating Wicket DataTable's

2009-11-26 Thread Igor Vaynberg
datatable { populateitem(item i) { int col=i.getindex(); int row=i.getparent(Item.class).getindex(); } } -igor On Thu, Nov 26, 2009 at 7:27 PM, Keith Bennett keithrbenn...@gmail.com wrote: Hi, all.  I'd like some feedback as to whether my need is already addressed in Wicket, or, if