--- Igor Vaynberg <[EMAIL PROTECTED]> wrote:
> you know that the cell item is somewhere inside the > row item, so you can do Thanks again, Igor > > Component c=cellItem.getParent(); > while (!(c instanceof MyItem)) { c=c.getParent(); } > MyItem mi=(MyItem)c; > > -Igor > > > On 9/23/06, Decebal Suiu <[EMAIL PROTECTED]> > wrote: > > > > I have a link in a table column (MyColumn) and I > want > > to highlight the entire row when I press the link. > > The functionality that I try to obtain is the same > > with example from > > > > > http://www.wicket-library.com/wicket-examples/repeater?wicket:bookmarkablePage=:wicket.examples.repeater.OIRPage > > but with DataTable (DefaultDataTable) instead > DataView > > for filtering. > > My problem is that in the column with link > (extends > > PropertyColumn), in populateItem(Item item, ...) > > method, the item parameter is an instance of Item > > class and not an instance of MyItem class returned > by > > MyDataTable.newRowItem(...) method. > > Is it possible to access the MyItem instance from > > MyColumn instance? > > > > Thank you, > > Decebal > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of > IT > > Join SourceForge.net's Techsay panel and you'll > get the chance to share > > your > > opinions on IT & business topics through brief > surveys -- and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get > the chance to share your > opinions on IT & business topics through brief > surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user