You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by midikem <ex...@apotekensservice.se> on 2010/06/04 11:23:50 UTC
DataTable in DataTable
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<test>("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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: DataTable in DataTable
Posted by midikem <ex...@apotekensservice.se>.
columns.add(new LinkPropertyColumn<test>(new StringResourceModel("one", this,
null), "ONE", "one"){
private static final long serialVersionUID = 1L;
@Override
public void onClick(Item item, String componentId, IModel<test> 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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: DataTable in DataTable
Posted by Igor Vaynberg <ig...@gmail.com>.
just like you would with any other component, wicket doesnt care
-igor
On Fri, Jun 4, 2010 at 2:23 AM, midikem
<ex...@apotekensservice.se> 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<test>("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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org