Re: DataTable in DataTable

2010-06-15 Thread midikem

columns.add(new LinkPropertyColumn(new StringResourceModel("one", this,
null), "ONE", "one"){
private static final long serialVersionUID = 1L;

@Override
public void onClick(Item item, String componentId, IModel model) {
try {
new SubRowPage(getDao(), model.getObject());
} catch (ApplicationException e) {
error(e);
}
}
});

I am still a little bit confused on this. Any tips on witch method to use or
how to add the new datatable below the line that i am clicking on? 
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DataTable-in-DataTable-tp2242922p2255547.html
Sent from the Wicket - User 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



Re: DataTable in DataTable

2010-06-04 Thread Igor Vaynberg
just like you would with any other component, wicket doesnt care

-igor

On Fri, Jun 4, 2010 at 2:23 AM, midikem
 wrote:
>
> Hi is it possible to add a dataTable in a DataTable and how?
> I have a dataTable and when i press on a line in it i want a new dataTable
> to popup
> below the line i have pressed. How do i do this?
> I have a DefaultDataTable("dataTable", columns, provider, 10)
> where i have added the columns to a arrayList.
> --
> View this message in context: 
> http://apache-wicket.1842946.n4.nabble.com/DataTable-in-DataTable-tp2242922p2242922.html
> Sent from the Wicket - User 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
>
>

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



DataTable in DataTable

2010-06-04 Thread midikem

Hi is it possible to add a dataTable in a DataTable and how?
I have a dataTable and when i press on a line in it i want a new dataTable
to popup
below the line i have pressed. How do i do this?
I have a DefaultDataTable("dataTable", columns, provider, 10)
where i have added the columns to a arrayList.
-- 
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DataTable-in-DataTable-tp2242922p2242922.html
Sent from the Wicket - User 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