Why don't you rename your parameters so that you can clearly see which item
is which.

/protected void populateItem(ListItem<IncomeDetail> *parentItem*) {
    ...
    protected void populateItem(ListItem<IncomeA> *childItem *) {
         ...
         yesRadio.setOutputMarkupId(true).setMarkupId("corectRadio_Y_"+
*parentItem.getIndex()*  ); /


regards,
Gabriel.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/how-to-get-parent-listView-item-index-in-the-child-listview-populateItem-method-tp4678401p4678432.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to