|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
table inside a td in wicket tableI'm trying put a table inside a <td> in datatable so that my column can have more than one row I overode the createLableModel method and tried to but html tag like this <wicket:panel> <table><tbody><tr><td>fads</td></tr><tr><td>fdsafas</td></tr></tbody></table><table> </table></wicket:panel> look like it everything in a cell is put under <td wicket:id="cells"> <span wicket:id="cell"> because it of <span wicket:id="cell"> it gets displayed as text. Is there anyway you could overide this or any better way of doing this thank you |
|
|
Re: table inside a td in wicket tableshow us some code.
-igor On Wed, Nov 4, 2009 at 5:06 PM, Swarnim Ranjitkar <swarnimr@...> wrote: > > I'm trying put a table inside a <td> in datatable so that my column can have more than one row I overode the createLableModel method and tried to but html tag like this > <wicket:panel> <table><tbody><tr><td>fads</td></tr><tr><td>fdsafas</td></tr></tbody></table><table> </table></wicket:panel> > look like it everything in a cell is put under > <td wicket:id="cells"> <span wicket:id="cell"> > > because it of <span wicket:id="cell"> it gets displayed as text. Is there anyway you could overide this or any better way of doing this > thank you > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: table inside a td in wicket tableHere are the two classes. What I was thinking was i would overide createLabelModel and create table with the tag like below. import java.math.BigDecimal; import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn; import org.apache.wicket.markup.html.basic.Label ; import org.apache.wicket.markup.html.link.Link; import org.apache.wicket.markup.html.link.PopupSettings; import org.apache.wicket.markup.html.panel.Panel; import org.apache.wicket.markup.repeater.Item; import org.apache.wicket.model.AbstractReadOnlyModel; import org.apache.wicket.model.IModel; public class TablePropertyColumn extends PropertyColumn { public TablePropertyColumn(IModel displayModel, final String sortProperty, final String propertyExpression) { super(displayModel, sortProperty, propertyExpression); // TODO Auto-generated constructor stub } protected IModel createLabelModel(final IModel rowModel) { final IModel prop = super.createLabelModel(rowModel); return new AbstractReadOnlyModel() { public Object getObject() { String data = (String) prop.getObject(); // will get it from the object and create table dataString = "<wicket:panel> <table><tbody><tr><td>fads</td></tr><tr><td>fdsafas</td></tr></tbody></table><table> </table></wicket:panel>"; return dataString; } }; } } import java.util.ArrayList; import java.util.List; import org.apache.wicket.markup.html.panel.Panel; import org.apache.wicket.extensions.ajax.markup.html.repeater.data.table.AjaxFallbackDefaultDataTable; import org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn; import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn; import org.apache.wicket.model.Model; import com.swishmark.tugboat.util.ReportTemplateListProvider; import com.swishmark.tugboat.util.TablePropertyColumn; // http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html // AJAX: http://www.wicket-library.com/wicket-examples/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.AjaxDataTablePage public class RelatedProductListPanel extends Panel { public RelatedProductListPanel(String id, int transNodeId) { super(id); List<IColumn<?>> columns = new ArrayList<IColumn<?>>(); columns.add(new PropertyColumn(new Model("product_id"), "product_id", "product_id")); columns.add(new PropertyColumn(new Model("Name"), "name", "name")); columns.add(new PropertyColumn(new Model("Status"), "status", "status")); columns.add(new PropertyColumn(new Model("vertical"), "vertical", "vertical")); columns.add(new TablePropertyColumn(new Model("transname"), "transname", "transname")); add(new AjaxFallbackDefaultDataTable("relatedProductListTable", columns, new RelatedProductListProvider(transNodeId), 8)); } } ------------------------- Even though I use a panel and write my own and populate my panel i think it will put everything inside <wicket:cell> . I'm looking for a way so that it doesn't write the tag. public void populateItem(Item item, String componentId, IModel model) { item.add(new TablePanel(item, componentId, model)); <wicket:panel> <table> <tr wicket:id="tablerow"> <td wicket:id="tabletd"></td> </tr> </table> </wicket:panel> > From: igor.vaynberg@... > Date: Wed, 4 Nov 2009 17:37:59 -0800 > Subject: Re: table inside a td in wicket table > To: users@... > > show us some code. > > -igor > > On Wed, Nov 4, 2009 at 5:06 PM, Swarnim Ranjitkar <swarnimr@...> wrote: > > > > I'm trying put a table inside a <td> in datatable so that my column can have more than one row I overode the createLableModel method and tried to but html tag like this > > <wicket:panel> <table><tbody><tr><td>fads</td></tr><tr><td>fdsafas</td></tr></tbody></table><table> </table></wicket:panel> > > look like it everything in a cell is put under > > <td wicket:id="cells"> <span wicket:id="cell"> > > > > because it of <span wicket:id="cell"> it gets displayed as text. Is there anyway you could overide this or any better way of doing this > > thank you > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > |
|
|
Re: table inside a td in wicket tableyou should start by subclassing abstractcolumn and adding a panel that
contains a table in populateitem() -igor On Wed, Nov 4, 2009 at 5:53 PM, Swarnim Ranjitkar <swarnimr@...> wrote: > > Here are the two classes. What I was thinking was i would overide createLabelModel and create table with the tag like below. > > > import java.math.BigDecimal; > > import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn; > import org.apache.wicket.markup.html.basic.Label > ; > import org.apache.wicket.markup.html.link.Link; > import org.apache.wicket.markup.html.link.PopupSettings; > import org.apache.wicket.markup.html.panel.Panel; > import org.apache.wicket.markup.repeater.Item; > import org.apache.wicket.model.AbstractReadOnlyModel; > import org.apache.wicket.model.IModel; > > public class TablePropertyColumn extends PropertyColumn { > > > > public TablePropertyColumn(IModel displayModel, > final String sortProperty, final String propertyExpression) { > super(displayModel, sortProperty, propertyExpression); > // TODO Auto-generated constructor stub > } > > > > protected IModel createLabelModel(final IModel rowModel) { > final IModel prop = super.createLabelModel(rowModel); > return new AbstractReadOnlyModel() { > public Object getObject() { > String data = (String) prop.getObject(); > // will get it from the object and create table > dataString = "<wicket:panel> <table><tbody><tr><td>fads</td></tr><tr><td>fdsafas</td></tr></tbody></table><table> </table></wicket:panel>"; > > return dataString; > > } > }; > } > > } > > > > import java.util.ArrayList; > import java.util.List; > > import org.apache.wicket.markup.html.panel.Panel; > import org.apache.wicket.extensions.ajax.markup.html.repeater.data.table.AjaxFallbackDefaultDataTable; > import org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn; > import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn; > import org.apache.wicket.model.Model; > > import com.swishmark.tugboat.util.ReportTemplateListProvider; > import com.swishmark.tugboat.util.TablePropertyColumn; > > // http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html > // AJAX: http://www.wicket-library.com/wicket-examples/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.AjaxDataTablePage > > public class RelatedProductListPanel extends Panel { > > public RelatedProductListPanel(String id, int transNodeId) { > super(id); > > List<IColumn<?>> columns = new ArrayList<IColumn<?>>(); > columns.add(new PropertyColumn(new Model("product_id"), "product_id", "product_id")); > columns.add(new PropertyColumn(new Model("Name"), "name", "name")); > columns.add(new PropertyColumn(new Model("Status"), "status", "status")); > columns.add(new PropertyColumn(new Model("vertical"), "vertical", "vertical")); > columns.add(new TablePropertyColumn(new Model("transname"), "transname", "transname")); > add(new AjaxFallbackDefaultDataTable("relatedProductListTable", columns, new RelatedProductListProvider(transNodeId), 8)); > } > } > ------------------------- > Even though I use a panel and write my own and populate my panel i > think it will put everything inside <wicket:cell> . I'm looking > for a way so that it doesn't write the tag. > > public void populateItem(Item item, String componentId, IModel model) { > > item.add(new TablePanel(item, componentId, model)); > > > > <wicket:panel> > > <table> > > <tr wicket:id="tablerow"> > > <td wicket:id="tabletd"></td> > > </tr> > > </table> > > </wicket:panel> > > >> From: igor.vaynberg@... >> Date: Wed, 4 Nov 2009 17:37:59 -0800 >> Subject: Re: table inside a td in wicket table >> To: users@... >> >> show us some code. >> >> -igor >> >> On Wed, Nov 4, 2009 at 5:06 PM, Swarnim Ranjitkar <swarnimr@...> wrote: >> > >> > I'm trying put a table inside a <td> in datatable so that my column can have more than one row I overode the createLableModel method and tried to but html tag like this >> > <wicket:panel> <table><tbody><tr><td>fads</td></tr><tr><td>fdsafas</td></tr></tbody></table><table> </table></wicket:panel> >> > look like it everything in a cell is put under >> > <td wicket:id="cells"> <span wicket:id="cell"> >> > >> > because it of <span wicket:id="cell"> it gets displayed as text. Is there anyway you could overide this or any better way of doing this >> > thank you >> > >> > >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: table inside a td in wicket tableIf you do that will it not put the panel with table inside <span wicket:id="cell"> which will make anything inside it as literal string. > From: igor.vaynberg@... > Date: Wed, 4 Nov 2009 17:58:16 -0800 > Subject: Re: table inside a td in wicket table > To: users@... > > you should start by subclassing abstractcolumn and adding a panel that > contains a table in populateitem() > > -igor > > On Wed, Nov 4, 2009 at 5:53 PM, Swarnim Ranjitkar <swarnimr@...> wrote: > > > > Here are the two classes. What I was thinking was i would overide createLabelModel and create table with the tag like below. > > > > > > import java.math.BigDecimal; > > > > import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn; > > import org.apache.wicket.markup.html.basic.Label > > ; > > import org.apache.wicket.markup.html.link.Link; > > import org.apache.wicket.markup.html.link.PopupSettings; > > import org.apache.wicket.markup.html.panel.Panel; > > import org.apache.wicket.markup.repeater.Item; > > import org.apache.wicket.model.AbstractReadOnlyModel; > > import org.apache.wicket.model.IModel; > > > > public class TablePropertyColumn extends PropertyColumn { > > > > > > > > public TablePropertyColumn(IModel displayModel, > > final String sortProperty, final String propertyExpression) { > > super(displayModel, sortProperty, propertyExpression); > > // TODO Auto-generated constructor stub > > } > > > > > > > > protected IModel createLabelModel(final IModel rowModel) { > > final IModel prop = super.createLabelModel(rowModel); > > return new AbstractReadOnlyModel() { > > public Object getObject() { > > String data = (String) prop.getObject(); > > // will get it from the object and create table > > dataString = "<wicket:panel> <table><tbody><tr><td>fads</td></tr><tr><td>fdsafas</td></tr></tbody></table><table> </table></wicket:panel>"; > > > > return dataString; > > > > } > > }; > > } > > > > } > > > > > > > > import java.util.ArrayList; > > import java.util.List; > > > > import org.apache.wicket.markup.html.panel.Panel; > > import org.apache.wicket.extensions.ajax.markup.html.repeater.data.table.AjaxFallbackDefaultDataTable; > > import org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn; > > import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn; > > import org.apache.wicket.model.Model; > > > > import com.swishmark.tugboat.util.ReportTemplateListProvider; > > import com.swishmark.tugboat.util.TablePropertyColumn; > > > > // http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html > > // AJAX: http://www.wicket-library.com/wicket-examples/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.AjaxDataTablePage > > > > public class RelatedProductListPanel extends Panel { > > > > public RelatedProductListPanel(String id, int transNodeId) { > > super(id); > > > > List<IColumn<?>> columns = new ArrayList<IColumn<?>>(); > > columns.add(new PropertyColumn(new Model("product_id"), "product_id", "product_id")); > > columns.add(new PropertyColumn(new Model("Name"), "name", "name")); > > columns.add(new PropertyColumn(new Model("Status"), "status", "status")); > > columns.add(new PropertyColumn(new Model("vertical"), "vertical", "vertical")); > > columns.add(new TablePropertyColumn(new Model("transname"), "transname", "transname")); > > add(new AjaxFallbackDefaultDataTable("relatedProductListTable", columns, new RelatedProductListProvider(transNodeId), 8)); > > } > > } > > ------------------------- > > Even though I use a panel and write my own and populate my panel i > > think it will put everything inside <wicket:cell> . I'm looking > > for a way so that it doesn't write the tag. > > > > public void populateItem(Item item, String componentId, IModel model) { > > > > item.add(new TablePanel(item, componentId, model)); > > > > > > > > <wicket:panel> > > > > <table> > > > > <tr wicket:id="tablerow"> > > > > <td wicket:id="tabletd"></td> > > > > </tr> > > > > </table> > > > > </wicket:panel> > > > > > >> From: igor.vaynberg@... > >> Date: Wed, 4 Nov 2009 17:37:59 -0800 > >> Subject: Re: table inside a td in wicket table > >> To: users@... > >> > >> show us some code. > >> > >> -igor > >> > >> On Wed, Nov 4, 2009 at 5:06 PM, Swarnim Ranjitkar <swarnimr@...> wrote: > >> > > >> > I'm trying put a table inside a <td> in datatable so that my column can have more than one row I overode the createLableModel method and tried to but html tag like this > >> > <wicket:panel> <table><tbody><tr><td>fads</td></tr><tr><td>fdsafas</td></tr></tbody></table><table> </table></wicket:panel> > >> > look like it everything in a cell is put under > >> > <td wicket:id="cells"> <span wicket:id="cell"> > >> > > >> > because it of <span wicket:id="cell"> it gets displayed as text. Is there anyway you could overide this or any better way of doing this > >> > thank you > >> > > >> > > >> > > >> > > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: users-unsubscribe@... > >> For additional commands, e-mail: users-help@... > >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > |
|
|
Re: table inside a td in wicket tablecall item.setrenderbodyonly(true)
-igor On Wed, Nov 4, 2009 at 6:06 PM, Swarnim Ranjitkar <swarnimr@...> wrote: > > If you do that will it not put the panel with table inside <span wicket:id="cell"> which will make anything inside it as literal string. > >> From: igor.vaynberg@... >> Date: Wed, 4 Nov 2009 17:58:16 -0800 >> Subject: Re: table inside a td in wicket table >> To: users@... >> >> you should start by subclassing abstractcolumn and adding a panel that >> contains a table in populateitem() >> >> -igor >> >> On Wed, Nov 4, 2009 at 5:53 PM, Swarnim Ranjitkar <swarnimr@...> wrote: >> > >> > Here are the two classes. What I was thinking was i would overide createLabelModel and create table with the tag like below. >> > >> > >> > import java.math.BigDecimal; >> > >> > import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn; >> > import org.apache.wicket.markup.html.basic.Label >> > ; >> > import org.apache.wicket.markup.html.link.Link; >> > import org.apache.wicket.markup.html.link.PopupSettings; >> > import org.apache.wicket.markup.html.panel.Panel; >> > import org.apache.wicket.markup.repeater.Item; >> > import org.apache.wicket.model.AbstractReadOnlyModel; >> > import org.apache.wicket.model.IModel; >> > >> > public class TablePropertyColumn extends PropertyColumn { >> > >> > >> > >> > public TablePropertyColumn(IModel displayModel, >> > final String sortProperty, final String propertyExpression) { >> > super(displayModel, sortProperty, propertyExpression); >> > // TODO Auto-generated constructor stub >> > } >> > >> > >> > >> > protected IModel createLabelModel(final IModel rowModel) { >> > final IModel prop = super.createLabelModel(rowModel); >> > return new AbstractReadOnlyModel() { >> > public Object getObject() { >> > String data = (String) prop.getObject(); >> > // will get it from the object and create table >> > dataString = "<wicket:panel> <table><tbody><tr><td>fads</td></tr><tr><td>fdsafas</td></tr></tbody></table><table> </table></wicket:panel>"; >> > >> > return dataString; >> > >> > } >> > }; >> > } >> > >> > } >> > >> > >> > >> > import java.util.ArrayList; >> > import java.util.List; >> > >> > import org.apache.wicket.markup.html.panel.Panel; >> > import org.apache.wicket.extensions.ajax.markup.html.repeater.data.table.AjaxFallbackDefaultDataTable; >> > import org.apache.wicket.extensions.markup.html.repeater.data.table.IColumn; >> > import org.apache.wicket.extensions.markup.html.repeater.data.table.PropertyColumn; >> > import org.apache.wicket.model.Model; >> > >> > import com.swishmark.tugboat.util.ReportTemplateListProvider; >> > import com.swishmark.tugboat.util.TablePropertyColumn; >> > >> > // http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html >> > // AJAX: http://www.wicket-library.com/wicket-examples/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.AjaxDataTablePage >> > >> > public class RelatedProductListPanel extends Panel { >> > >> > public RelatedProductListPanel(String id, int transNodeId) { >> > super(id); >> > >> > List<IColumn<?>> columns = new ArrayList<IColumn<?>>(); >> > columns.add(new PropertyColumn(new Model("product_id"), "product_id", "product_id")); >> > columns.add(new PropertyColumn(new Model("Name"), "name", "name")); >> > columns.add(new PropertyColumn(new Model("Status"), "status", "status")); >> > columns.add(new PropertyColumn(new Model("vertical"), "vertical", "vertical")); >> > columns.add(new TablePropertyColumn(new Model("transname"), "transname", "transname")); >> > add(new AjaxFallbackDefaultDataTable("relatedProductListTable", columns, new RelatedProductListProvider(transNodeId), 8)); >> > } >> > } >> > ------------------------- >> > Even though I use a panel and write my own and populate my panel i >> > think it will put everything inside <wicket:cell> . I'm looking >> > for a way so that it doesn't write the tag. >> > >> > public void populateItem(Item item, String componentId, IModel model) { >> > >> > item.add(new TablePanel(item, componentId, model)); >> > >> > >> > >> > <wicket:panel> >> > >> > <table> >> > >> > <tr wicket:id="tablerow"> >> > >> > <td wicket:id="tabletd"></td> >> > >> > </tr> >> > >> > </table> >> > >> > </wicket:panel> >> > >> > >> >> From: igor.vaynberg@... >> >> Date: Wed, 4 Nov 2009 17:37:59 -0800 >> >> Subject: Re: table inside a td in wicket table >> >> To: users@... >> >> >> >> show us some code. >> >> >> >> -igor >> >> >> >> On Wed, Nov 4, 2009 at 5:06 PM, Swarnim Ranjitkar <swarnimr@...> wrote: >> >> > >> >> > I'm trying put a table inside a <td> in datatable so that my column can have more than one row I overode the createLableModel method and tried to but html tag like this >> >> > <wicket:panel> <table><tbody><tr><td>fads</td></tr><tr><td>fdsafas</td></tr></tbody></table><table> </table></wicket:panel> >> >> > look like it everything in a cell is put under >> >> > <td wicket:id="cells"> <span wicket:id="cell"> >> >> > >> >> > because it of <span wicket:id="cell"> it gets displayed as text. Is there anyway you could overide this or any better way of doing this >> >> > thank you >> >> > >> >> > >> >> > >> >> > >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: users-unsubscribe@... >> >> For additional commands, e-mail: users-help@... >> >> >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
DefaultDataTable or AjaxFallbackDefaultDataTable examplesAll,
I've obviously checked out; http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html And various other incomplete example, on the web. There seems to be very few examples of these components being used. The basic problem is that I've followed the example above, and nothing happens. Nothing gets rendered and there is no error. Wouldn't mind it so much if there was an error! I've tried to breakpoint the problem, but nothing seems to be being called - "iterator" is never called on the implementation of SortableDataProvider, nor is "model". I'm obviously not setting the model correctly somewhere and the component is therefore not bothering to iterate. Can anyone help, or provide me with another example that I could follow? Or point me in the direction of another sortable table component? Cheers, Col. Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. GroundSure Ltd. Company number 03421028 (England and Wales) Emap Limited. Company number: 0537204 (England and Wales). Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. Details of the operating companies forming part of the Emap group can be found at www.emap.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: DefaultDataTable or AjaxFallbackDefaultDataTable examplesPosting some more info (e.g. your code) might help others help you.
Cheers, Ernesto On Thu, Nov 5, 2009 at 12:28 PM, Colin Rogers <colin-r@...>wrote: > All, > > I've obviously checked out; > > http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html > > And various other incomplete example, on the web. There seems to be very > few examples of these components being used. > > The basic problem is that I've followed the example above, and nothing > happens. Nothing gets rendered and there is no error. Wouldn't mind it > so much if there was an error! > > I've tried to breakpoint the problem, but nothing seems to be being > called - "iterator" is never called on the implementation of > SortableDataProvider, nor is "model". I'm obviously not setting the > model correctly somewhere and the component is therefore not bothering > to iterate. > > Can anyone help, or provide me with another example that I could follow? > Or point me in the direction of another sortable table component? > > Cheers, > Col. > > Emap delivers intelligence, inspiration and access through publications, > events and data businesses in retail, media, the public sector and the built > environment. www.emap.com. > > The information in or attached to this email is confidential and may be > legally privileged. If you are not the intended recipient of this message > any use, disclosure, copying, distribution or any action taken in reliance > on it is prohibited and may be unlawful. If you have received this message > in error, please notify the sender immediately by return email or by > telephone on +44(0)207 728 5000 and delete this message and any copies from > your computer and network. The Emap group does not warrant that this email > and any attachments are free from viruses and accepts no liability for any > loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this email may > be those of the originator and do not necessarily reflect those of the Emap > group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, > United Kingdom. > Details of the operating companies forming part of the Emap group can be > found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > |
|
|
RE: DefaultDataTable or AjaxFallbackDefaultDataTable examplesErnesto - sorry - having pretty much taken that example verbatim - bar a
few changes, I didn't think it necessary - especially when I'm looking for another example to follow. Do you know of another example? While you are here and good for code checking, I thought I should implement the code example verbatim (http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html), as a way of getting some result, and piece together where I went wrong. Having literally copied and pasted the code, I now get an error - weirdly that seems like a step forward. Naturally I have in my HTML; <table class="datatable"></table> And the component is added as per the code examples; DefaultDataTable table = new DefaultDataTable("datatable", columns, userProvider, 10); add(table); I'm using Wicket 1.4.3. Any help on either this problem or providing a working example, would be gratefully appreciated. I'm guessing the error below is a simple one...? The error from the example; WicketMessage: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered). 1. [MarkupContainer [Component id = datatable]] 2. [MarkupContainer [Component id = rows]] 3. [MarkupContainer [Component id = 1]] 4. [MarkupContainer [Component id = cells]] 5. [MarkupContainer [Component id = 1]] 6. [Component id = cell] 7. [MarkupContainer [Component id = 2]] 8. [Component id = cell] 9. [MarkupContainer [Component id = 2]] 10. [MarkupContainer [Component id = cells]] 11. [MarkupContainer [Component id = 1]] 12. [Component id = cell] 13. [MarkupContainer [Component id = 2]] 14. [Component id = cell] 15. [MarkupContainer [Component id = 3]] 16. [MarkupContainer [Component id = cells]] 17. [MarkupContainer [Component id = 1]] 18. [Component id = cell] 19. [MarkupContainer [Component id = 2]] 20. [Component id = cell] 21. [MarkupContainer [Component id = 4]] 22. [MarkupContainer [Component id = cells]] 23. [MarkupContainer [Component id = 1]] 24. [Component id = cell] 25. [MarkupContainer [Component id = 2]] 26. [Component id = cell] 27. [MarkupContainer [Component id = 5]] 28. [MarkupContainer [Component id = cells]] 29. [MarkupContainer [Component id = 1]] 30. [Component id = cell] 31. [MarkupContainer [Component id = 2]] 32. [Component id = cell] 33. [MarkupContainer [Component id = 6]] 34. [MarkupContainer [Component id = cells]] 35. [MarkupContainer [Component id = 1]] 36. [Component id = cell] 37. [MarkupContainer [Component id = 2]] 38. [Component id = cell] 39. [MarkupContainer [Component id = topToolbars]] 40. [MarkupContainer [Component id = 1]] 41. [MarkupContainer [Component id = 2]] 42. [MarkupContainer [Component id = toolbar]] 43. [MarkupContainer [Component id = headers]] 44. [MarkupContainer [Component id = 1]] 45. [MarkupContainer [Component id = header]] 46. [MarkupContainer [Component id = orderByLink]] 47. [MarkupContainer [Component id = _body]] 48. [Component id = label] 49. [MarkupContainer [Component id = 2]] 50. [MarkupContainer [Component id = header]] 51. [MarkupContainer [Component id = orderByLink]] 52. [MarkupContainer [Component id = _body]] 53. [Component id = label] 54. [MarkupContainer [Component id = bottomToolbars]] 55. [MarkupContainer [Component id = 1]] Root cause: org.apache.wicket.WicketRuntimeException: The component(s) below failed to render. A common problem is that you have added a component in code but forgot to reference it in the markup (thus the component will never be rendered). 1. [MarkupContainer [Component id = datatable]] 2. [MarkupContainer [Component id = rows]] 3. [MarkupContainer [Component id = 1]] 4. [MarkupContainer [Component id = cells]] 5. [MarkupContainer [Component id = 1]] 6. [Component id = cell] 7. [MarkupContainer [Component id = 2]] 8. [Component id = cell] 9. [MarkupContainer [Component id = 2]] 10. [MarkupContainer [Component id = cells]] 11. [MarkupContainer [Component id = 1]] 12. [Component id = cell] 13. [MarkupContainer [Component id = 2]] 14. [Component id = cell] 15. [MarkupContainer [Component id = 3]] 16. [MarkupContainer [Component id = cells]] 17. [MarkupContainer [Component id = 1]] 18. [Component id = cell] 19. [MarkupContainer [Component id = 2]] 20. [Component id = cell] 21. [MarkupContainer [Component id = 4]] 22. [MarkupContainer [Component id = cells]] 23. [MarkupContainer [Component id = 1]] 24. [Component id = cell] 25. [MarkupContainer [Component id = 2]] 26. [Component id = cell] 27. [MarkupContainer [Component id = 5]] 28. [MarkupContainer [Component id = cells]] 29. [MarkupContainer [Component id = 1]] 30. [Component id = cell] 31. [MarkupContainer [Component id = 2]] 32. [Component id = cell] 33. [MarkupContainer [Component id = 6]] 34. [MarkupContainer [Component id = cells]] 35. [MarkupContainer [Component id = 1]] 36. [Component id = cell] 37. [MarkupContainer [Component id = 2]] 38. [Component id = cell] 39. [MarkupContainer [Component id = topToolbars]] 40. [MarkupContainer [Component id = 1]] 41. [MarkupContainer [Component id = 2]] 42. [MarkupContainer [Component id = toolbar]] 43. [MarkupContainer [Component id = headers]] 44. [MarkupContainer [Component id = 1]] 45. [MarkupContainer [Component id = header]] 46. [MarkupContainer [Component id = orderByLink]] 47. [MarkupContainer [Component id = _body]] 48. [Component id = label] 49. [MarkupContainer [Component id = 2]] 50. [MarkupContainer [Component id = header]] 51. [MarkupContainer [Component id = orderByLink]] 52. [MarkupContainer [Component id = _body]] 53. [Component id = label] 54. [MarkupContainer [Component id = bottomToolbars]] 55. [MarkupContainer [Component id = 1]] at org.apache.wicket.Page.checkRendering(Page.java:1162) at org.apache.wicket.Page.renderPage(Page.java:922) at org.apache.wicket.request.target.component.BookmarkablePageRequestTarget .respond(BookmarkablePageRequestTarget.java:262) at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(Abstract RequestCycleProcessor.java:105) at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java :1258) at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468 ) at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java: 301) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan dler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2 16) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne ction.java:828) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: 395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja va:450) -----Original Message----- From: Ernesto Reinaldo Barreiro [mailto:reiern70@...] Sent: 05 November 2009 11:34 To: users@... Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples Posting some more info (e.g. your code) might help others help you. Cheers, Ernesto On Thu, Nov 5, 2009 at 12:28 PM, Colin Rogers <colin-r@...>wrote: > All, > > I've obviously checked out; > > http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html > > And various other incomplete example, on the web. There seems to be very > few examples of these components being used. > > The basic problem is that I've followed the example above, and nothing > happens. Nothing gets rendered and there is no error. Wouldn't mind it > so much if there was an error! > > I've tried to breakpoint the problem, but nothing seems to be being > called - "iterator" is never called on the implementation of > SortableDataProvider, nor is "model". I'm obviously not setting the > model correctly somewhere and the component is therefore not bothering > to iterate. > > Can anyone help, or provide me with another example that I could > Or point me in the direction of another sortable table component? > > Cheers, > Col. > > Emap delivers intelligence, inspiration and access through publications, > events and data businesses in retail, media, the public sector and the built > environment. www.emap.com. > > The information in or attached to this email is confidential and may be > legally privileged. If you are not the intended recipient of this message > any use, disclosure, copying, distribution or any action taken in reliance > on it is prohibited and may be unlawful. If you have received this message > in error, please notify the sender immediately by return email or by > telephone on +44(0)207 728 5000 and delete this message and any copies from > your computer and network. The Emap group does not warrant that this > and any attachments are free from viruses and accepts no liability for any > loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this email may > be those of the originator and do not necessarily reflect those of the Emap > group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, > United Kingdom. > Details of the operating companies forming part of the Emap group can be > found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. GroundSure Ltd. Company number 03421028 (England and Wales) Emap Limited. Company number: 0537204 (England and Wales). Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. Details of the operating companies forming part of the Emap group can be found at www.emap.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: DefaultDataTable or AjaxFallbackDefaultDataTable examplesMaybe
<table wicket:id="datatable" class="datatable"></table> instead <table class="datatable"></table> will get the example working. Best, Ernesto On Thu, Nov 5, 2009 at 1:22 PM, Colin Rogers <colin-r@...> wrote: > Ernesto - sorry - having pretty much taken that example verbatim - bar a > few changes, I didn't think it necessary - especially when I'm looking > for another example to follow. > > Do you know of another example? > > While you are here and good for code checking, I thought I should > implement the code example verbatim > (http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html), > as a way of getting some result, and piece together where I went wrong. > Having literally copied and pasted the code, I now get an error - > weirdly that seems like a step forward. > > Naturally I have in my HTML; > > <table class="datatable"></table> > > And the component is added as per the code examples; > > DefaultDataTable table = new DefaultDataTable("datatable", > columns, userProvider, 10); > add(table); > > I'm using Wicket 1.4.3. Any help on either this problem or providing a > working example, would be gratefully appreciated. I'm guessing the error > below is a simple one...? > > The error from the example; > > > WicketMessage: The component(s) below failed to render. A common problem > is that you have added a component in code but forgot to reference it in > the markup (thus the component will never be rendered). > > 1. [MarkupContainer [Component id = datatable]] > 2. [MarkupContainer [Component id = rows]] > 3. [MarkupContainer [Component id = 1]] > 4. [MarkupContainer [Component id = cells]] > 5. [MarkupContainer [Component id = 1]] > 6. [Component id = cell] > 7. [MarkupContainer [Component id = 2]] > 8. [Component id = cell] > 9. [MarkupContainer [Component id = 2]] > 10. [MarkupContainer [Component id = cells]] > 11. [MarkupContainer [Component id = 1]] > 12. [Component id = cell] > 13. [MarkupContainer [Component id = 2]] > 14. [Component id = cell] > 15. [MarkupContainer [Component id = 3]] > 16. [MarkupContainer [Component id = cells]] > 17. [MarkupContainer [Component id = 1]] > 18. [Component id = cell] > 19. [MarkupContainer [Component id = 2]] > 20. [Component id = cell] > 21. [MarkupContainer [Component id = 4]] > 22. [MarkupContainer [Component id = cells]] > 23. [MarkupContainer [Component id = 1]] > 24. [Component id = cell] > 25. [MarkupContainer [Component id = 2]] > 26. [Component id = cell] > 27. [MarkupContainer [Component id = 5]] > 28. [MarkupContainer [Component id = cells]] > 29. [MarkupContainer [Component id = 1]] > 30. [Component id = cell] > 31. [MarkupContainer [Component id = 2]] > 32. [Component id = cell] > 33. [MarkupContainer [Component id = 6]] > 34. [MarkupContainer [Component id = cells]] > 35. [MarkupContainer [Component id = 1]] > 36. [Component id = cell] > 37. [MarkupContainer [Component id = 2]] > 38. [Component id = cell] > 39. [MarkupContainer [Component id = topToolbars]] > 40. [MarkupContainer [Component id = 1]] > 41. [MarkupContainer [Component id = 2]] > 42. [MarkupContainer [Component id = toolbar]] > 43. [MarkupContainer [Component id = headers]] > 44. [MarkupContainer [Component id = 1]] > 45. [MarkupContainer [Component id = header]] > 46. [MarkupContainer [Component id = orderByLink]] > 47. [MarkupContainer [Component id = _body]] > 48. [Component id = label] > 49. [MarkupContainer [Component id = 2]] > 50. [MarkupContainer [Component id = header]] > 51. [MarkupContainer [Component id = orderByLink]] > 52. [MarkupContainer [Component id = _body]] > 53. [Component id = label] > 54. [MarkupContainer [Component id = bottomToolbars]] > 55. [MarkupContainer [Component id = 1]] > > Root cause: > > org.apache.wicket.WicketRuntimeException: The component(s) below failed > to render. A common problem is that you have added a component in code > but forgot to reference it in the markup (thus the component will never > be rendered). > > 1. [MarkupContainer [Component id = datatable]] > 2. [MarkupContainer [Component id = rows]] > 3. [MarkupContainer [Component id = 1]] > 4. [MarkupContainer [Component id = cells]] > 5. [MarkupContainer [Component id = 1]] > 6. [Component id = cell] > 7. [MarkupContainer [Component id = 2]] > 8. [Component id = cell] > 9. [MarkupContainer [Component id = 2]] > 10. [MarkupContainer [Component id = cells]] > 11. [MarkupContainer [Component id = 1]] > 12. [Component id = cell] > 13. [MarkupContainer [Component id = 2]] > 14. [Component id = cell] > 15. [MarkupContainer [Component id = 3]] > 16. [MarkupContainer [Component id = cells]] > 17. [MarkupContainer [Component id = 1]] > 18. [Component id = cell] > 19. [MarkupContainer [Component id = 2]] > 20. [Component id = cell] > 21. [MarkupContainer [Component id = 4]] > 22. [MarkupContainer [Component id = cells]] > 23. [MarkupContainer [Component id = 1]] > 24. [Component id = cell] > 25. [MarkupContainer [Component id = 2]] > 26. [Component id = cell] > 27. [MarkupContainer [Component id = 5]] > 28. [MarkupContainer [Component id = cells]] > 29. [MarkupContainer [Component id = 1]] > 30. [Component id = cell] > 31. [MarkupContainer [Component id = 2]] > 32. [Component id = cell] > 33. [MarkupContainer [Component id = 6]] > 34. [MarkupContainer [Component id = cells]] > 35. [MarkupContainer [Component id = 1]] > 36. [Component id = cell] > 37. [MarkupContainer [Component id = 2]] > 38. [Component id = cell] > 39. [MarkupContainer [Component id = topToolbars]] > 40. [MarkupContainer [Component id = 1]] > 41. [MarkupContainer [Component id = 2]] > 42. [MarkupContainer [Component id = toolbar]] > 43. [MarkupContainer [Component id = headers]] > 44. [MarkupContainer [Component id = 1]] > 45. [MarkupContainer [Component id = header]] > 46. [MarkupContainer [Component id = orderByLink]] > 47. [MarkupContainer [Component id = _body]] > 48. [Component id = label] > 49. [MarkupContainer [Component id = 2]] > 50. [MarkupContainer [Component id = header]] > 51. [MarkupContainer [Component id = orderByLink]] > 52. [MarkupContainer [Component id = _body]] > 53. [Component id = label] > 54. [MarkupContainer [Component id = bottomToolbars]] > 55. [MarkupContainer [Component id = 1]] > > at org.apache.wicket.Page.checkRendering(Page.java:1162) > at org.apache.wicket.Page.renderPage(Page.java:922) > at > org.apache.wicket.request.target.component.BookmarkablePageRequestTarget > .respond(BookmarkablePageRequestTarget.java:262) > at > org.apache.wicket.request.AbstractRequestCycleProcessor.respond(Abstract > RequestCycleProcessor.java:105) > at > org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java > :1258) > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) > at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468 > ) > at > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java: > 301) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan > dler.java:1084) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2 > 16) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) > at > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) > at org.mortbay.jetty.Server.handle(Server.java:324) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne > ction.java:828) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: > 395) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja > va:450) > > -----Original Message----- > From: Ernesto Reinaldo Barreiro [mailto:reiern70@...] > Sent: 05 November 2009 11:34 > To: users@... > Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > Posting some more info (e.g. your code) might help others help you. > > Cheers, > > Ernesto > > On Thu, Nov 5, 2009 at 12:28 PM, Colin Rogers > <colin-r@...>wrote: > > > All, > > > > I've obviously checked out; > > > > http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html > > > > And various other incomplete example, on the web. There seems to be > very > > few examples of these components being used. > > > > The basic problem is that I've followed the example above, and nothing > > happens. Nothing gets rendered and there is no error. Wouldn't mind it > > so much if there was an error! > > > > I've tried to breakpoint the problem, but nothing seems to be being > > called - "iterator" is never called on the implementation of > > SortableDataProvider, nor is "model". I'm obviously not setting the > > model correctly somewhere and the component is therefore not bothering > > to iterate. > > > > Can anyone help, or provide me with another example that I could > follow? > > Or point me in the direction of another sortable table component? > > > > Cheers, > > Col. > > > > Emap delivers intelligence, inspiration and access through > publications, > > events and data businesses in retail, media, the public sector and the > built > > environment. www.emap.com. > > > > The information in or attached to this email is confidential and may > be > > legally privileged. If you are not the intended recipient of this > message > > any use, disclosure, copying, distribution or any action taken in > reliance > > on it is prohibited and may be unlawful. If you have received this > message > > in error, please notify the sender immediately by return email or by > > telephone on +44(0)207 728 5000 and delete this message and any copies > from > > your computer and network. The Emap group does not warrant that this > > and any attachments are free from viruses and accepts no liability for > any > > loss resulting from infected email transmissions. > > > > The Emap group reserves the right to monitor all e-mail communications > > through its networks. Please note that any views expressed in this > email may > > be those of the originator and do not necessarily reflect those of the > Emap > > group. > > > > GroundSure Ltd. Company number 03421028 (England and Wales) > > Emap Limited. Company number: 0537204 (England and Wales). > > Registered Office: Greater London House, Hampstead Road, London NW1 > 7EJ, > > United Kingdom. > > Details of the operating companies forming part of the Emap group can > be > > found at www.emap.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@... > > For additional commands, e-mail: users-help@... > > > > > > > Emap delivers intelligence, inspiration and access through publications, > events and data businesses in retail, media, the public sector and the built > environment. www.emap.com. > > The information in or attached to this email is confidential and may be > legally privileged. If you are not the intended recipient of this message > any use, disclosure, copying, distribution or any action taken in reliance > on it is prohibited and may be unlawful. If you have received this message > in error, please notify the sender immediately by return email or by > telephone on +44(0)207 728 5000 and delete this message and any copies from > your computer and network. The Emap group does not warrant that this email > and any attachments are free from viruses and accepts no liability for any > loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this email may > be those of the originator and do not necessarily reflect those of the Emap > group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, > United Kingdom. > Details of the operating companies forming part of the Emap group can be > found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > |
|
|
RE: DefaultDataTable or AjaxFallbackDefaultDataTable examplesOh my god that is so dumb!
... it's still the morning... Sorry, dude! -----Original Message----- From: Ernesto Reinaldo Barreiro [mailto:reiern70@...] Sent: 05 November 2009 12:31 To: users@... Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples Maybe <table wicket:id="datatable" class="datatable"></table> instead <table class="datatable"></table> will get the example working. Best, Ernesto On Thu, Nov 5, 2009 at 1:22 PM, Colin Rogers <colin-r@...> wrote: > Ernesto - sorry - having pretty much taken that example verbatim - bar a > few changes, I didn't think it necessary - especially when I'm looking > for another example to follow. > > Do you know of another example? > > While you are here and good for code checking, I thought I should > implement the code example verbatim > (http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html), > as a way of getting some result, and piece together where I went wrong. > Having literally copied and pasted the code, I now get an error - > weirdly that seems like a step forward. > > Naturally I have in my HTML; > > <table class="datatable"></table> > > And the component is added as per the code examples; > > DefaultDataTable table = new DefaultDataTable("datatable", > columns, userProvider, 10); > add(table); > > I'm using Wicket 1.4.3. Any help on either this problem or providing a > working example, would be gratefully appreciated. I'm guessing the > below is a simple one...? > > The error from the example; > > > WicketMessage: The component(s) below failed to render. A common problem > is that you have added a component in code but forgot to reference it in > the markup (thus the component will never be rendered). > > 1. [MarkupContainer [Component id = datatable]] > 2. [MarkupContainer [Component id = rows]] > 3. [MarkupContainer [Component id = 1]] > 4. [MarkupContainer [Component id = cells]] > 5. [MarkupContainer [Component id = 1]] > 6. [Component id = cell] > 7. [MarkupContainer [Component id = 2]] > 8. [Component id = cell] > 9. [MarkupContainer [Component id = 2]] > 10. [MarkupContainer [Component id = cells]] > 11. [MarkupContainer [Component id = 1]] > 12. [Component id = cell] > 13. [MarkupContainer [Component id = 2]] > 14. [Component id = cell] > 15. [MarkupContainer [Component id = 3]] > 16. [MarkupContainer [Component id = cells]] > 17. [MarkupContainer [Component id = 1]] > 18. [Component id = cell] > 19. [MarkupContainer [Component id = 2]] > 20. [Component id = cell] > 21. [MarkupContainer [Component id = 4]] > 22. [MarkupContainer [Component id = cells]] > 23. [MarkupContainer [Component id = 1]] > 24. [Component id = cell] > 25. [MarkupContainer [Component id = 2]] > 26. [Component id = cell] > 27. [MarkupContainer [Component id = 5]] > 28. [MarkupContainer [Component id = cells]] > 29. [MarkupContainer [Component id = 1]] > 30. [Component id = cell] > 31. [MarkupContainer [Component id = 2]] > 32. [Component id = cell] > 33. [MarkupContainer [Component id = 6]] > 34. [MarkupContainer [Component id = cells]] > 35. [MarkupContainer [Component id = 1]] > 36. [Component id = cell] > 37. [MarkupContainer [Component id = 2]] > 38. [Component id = cell] > 39. [MarkupContainer [Component id = topToolbars]] > 40. [MarkupContainer [Component id = 1]] > 41. [MarkupContainer [Component id = 2]] > 42. [MarkupContainer [Component id = toolbar]] > 43. [MarkupContainer [Component id = headers]] > 44. [MarkupContainer [Component id = 1]] > 45. [MarkupContainer [Component id = header]] > 46. [MarkupContainer [Component id = orderByLink]] > 47. [MarkupContainer [Component id = _body]] > 48. [Component id = label] > 49. [MarkupContainer [Component id = 2]] > 50. [MarkupContainer [Component id = header]] > 51. [MarkupContainer [Component id = orderByLink]] > 52. [MarkupContainer [Component id = _body]] > 53. [Component id = label] > 54. [MarkupContainer [Component id = bottomToolbars]] > 55. [MarkupContainer [Component id = 1]] > > Root cause: > > org.apache.wicket.WicketRuntimeException: The component(s) below > to render. A common problem is that you have added a component in code > but forgot to reference it in the markup (thus the component will never > be rendered). > > 1. [MarkupContainer [Component id = datatable]] > 2. [MarkupContainer [Component id = rows]] > 3. [MarkupContainer [Component id = 1]] > 4. [MarkupContainer [Component id = cells]] > 5. [MarkupContainer [Component id = 1]] > 6. [Component id = cell] > 7. [MarkupContainer [Component id = 2]] > 8. [Component id = cell] > 9. [MarkupContainer [Component id = 2]] > 10. [MarkupContainer [Component id = cells]] > 11. [MarkupContainer [Component id = 1]] > 12. [Component id = cell] > 13. [MarkupContainer [Component id = 2]] > 14. [Component id = cell] > 15. [MarkupContainer [Component id = 3]] > 16. [MarkupContainer [Component id = cells]] > 17. [MarkupContainer [Component id = 1]] > 18. [Component id = cell] > 19. [MarkupContainer [Component id = 2]] > 20. [Component id = cell] > 21. [MarkupContainer [Component id = 4]] > 22. [MarkupContainer [Component id = cells]] > 23. [MarkupContainer [Component id = 1]] > 24. [Component id = cell] > 25. [MarkupContainer [Component id = 2]] > 26. [Component id = cell] > 27. [MarkupContainer [Component id = 5]] > 28. [MarkupContainer [Component id = cells]] > 29. [MarkupContainer [Component id = 1]] > 30. [Component id = cell] > 31. [MarkupContainer [Component id = 2]] > 32. [Component id = cell] > 33. [MarkupContainer [Component id = 6]] > 34. [MarkupContainer [Component id = cells]] > 35. [MarkupContainer [Component id = 1]] > 36. [Component id = cell] > 37. [MarkupContainer [Component id = 2]] > 38. [Component id = cell] > 39. [MarkupContainer [Component id = topToolbars]] > 40. [MarkupContainer [Component id = 1]] > 41. [MarkupContainer [Component id = 2]] > 42. [MarkupContainer [Component id = toolbar]] > 43. [MarkupContainer [Component id = headers]] > 44. [MarkupContainer [Component id = 1]] > 45. [MarkupContainer [Component id = header]] > 46. [MarkupContainer [Component id = orderByLink]] > 47. [MarkupContainer [Component id = _body]] > 48. [Component id = label] > 49. [MarkupContainer [Component id = 2]] > 50. [MarkupContainer [Component id = header]] > 51. [MarkupContainer [Component id = orderByLink]] > 52. [MarkupContainer [Component id = _body]] > 53. [Component id = label] > 54. [MarkupContainer [Component id = bottomToolbars]] > 55. [MarkupContainer [Component id = 1]] > > at org.apache.wicket.Page.checkRendering(Page.java:1162) > at org.apache.wicket.Page.renderPage(Page.java:922) > at > > .respond(BookmarkablePageRequestTarget.java:262) > at > org.apache.wicket.request.AbstractRequestCycleProcessor.respond(Abstract > RequestCycleProcessor.java:105) > at > org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java > :1258) > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) > at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > at > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468 > ) > at > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java: > 301) > at > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan > dler.java:1084) > at > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) > at > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2 > 16) > at > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > at > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) > at > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) > at > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) > at org.mortbay.jetty.Server.handle(Server.java:324) > at > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) > at > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne > ction.java:828) > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) > at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) > at > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: > 395) > at > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja > va:450) > > -----Original Message----- > From: Ernesto Reinaldo Barreiro [mailto:reiern70@...] > Sent: 05 November 2009 11:34 > To: users@... > Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > Posting some more info (e.g. your code) might help others help you. > > Cheers, > > Ernesto > > On Thu, Nov 5, 2009 at 12:28 PM, Colin Rogers > <colin-r@...>wrote: > > > All, > > > > I've obviously checked out; > > > > > > > > And various other incomplete example, on the web. There seems to be > very > > few examples of these components being used. > > > > The basic problem is that I've followed the example above, and nothing > > happens. Nothing gets rendered and there is no error. Wouldn't mind it > > so much if there was an error! > > > > I've tried to breakpoint the problem, but nothing seems to be being > > called - "iterator" is never called on the implementation of > > SortableDataProvider, nor is "model". I'm obviously not setting the > > model correctly somewhere and the component is therefore not bothering > > to iterate. > > > > Can anyone help, or provide me with another example that I could > follow? > > Or point me in the direction of another sortable table component? > > > > Cheers, > > Col. > > > > Emap delivers intelligence, inspiration and access through > publications, > > events and data businesses in retail, media, the public sector and > built > > environment. www.emap.com. > > > > The information in or attached to this email is confidential and may > be > > legally privileged. If you are not the intended recipient of this > message > > any use, disclosure, copying, distribution or any action taken in > reliance > > on it is prohibited and may be unlawful. If you have received this > message > > in error, please notify the sender immediately by return email or by > > telephone on +44(0)207 728 5000 and delete this message and any > from > > your computer and network. The Emap group does not warrant that this > > and any attachments are free from viruses and accepts no liability for > any > > loss resulting from infected email transmissions. > > > > The Emap group reserves the right to monitor all e-mail communications > > through its networks. Please note that any views expressed in this > email may > > be those of the originator and do not necessarily reflect those of the > Emap > > group. > > > > GroundSure Ltd. Company number 03421028 (England and Wales) > > Emap Limited. Company number: 0537204 (England and Wales). > > Registered Office: Greater London House, Hampstead Road, London NW1 > 7EJ, > > United Kingdom. > > Details of the operating companies forming part of the Emap group can > be > > found at www.emap.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@... > > For additional commands, e-mail: users-help@... > > > > > > > Emap delivers intelligence, inspiration and access through publications, > events and data businesses in retail, media, the public sector and the built > environment. www.emap.com. > > The information in or attached to this email is confidential and may be > legally privileged. If you are not the intended recipient of this message > any use, disclosure, copying, distribution or any action taken in reliance > on it is prohibited and may be unlawful. If you have received this message > in error, please notify the sender immediately by return email or by > telephone on +44(0)207 728 5000 and delete this message and any copies from > your computer and network. The Emap group does not warrant that this > and any attachments are free from viruses and accepts no liability for any > loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this email may > be those of the originator and do not necessarily reflect those of the Emap > group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, > United Kingdom. > Details of the operating companies forming part of the Emap group can be > found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. GroundSure Ltd. Company number 03421028 (England and Wales) Emap Limited. Company number: 0537204 (England and Wales). Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. Details of the operating companies forming part of the Emap group can be found at www.emap.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: DefaultDataTable or AjaxFallbackDefaultDataTable examplesNo problem... That's one of the most frequent mistakes I do when coding
Wicket, so whenever I see the error message I know what's wrong. Best, Ernesto On Thu, Nov 5, 2009 at 1:33 PM, Colin Rogers <colin-r@...> wrote: > Oh my god that is so dumb! > > ... it's still the morning... > > Sorry, dude! > > -----Original Message----- > From: Ernesto Reinaldo Barreiro [mailto:reiern70@...] > Sent: 05 November 2009 12:31 > To: users@... > Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > Maybe > > <table wicket:id="datatable" class="datatable"></table> > > instead > > <table class="datatable"></table> > > will get the example working. > > Best, > > Ernesto > > On Thu, Nov 5, 2009 at 1:22 PM, Colin Rogers <colin-r@...> > wrote: > > > Ernesto - sorry - having pretty much taken that example verbatim - bar > a > > few changes, I didn't think it necessary - especially when I'm looking > > for another example to follow. > > > > Do you know of another example? > > > > While you are here and good for code checking, I thought I should > > implement the code example verbatim > > > (http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html), > > as a way of getting some result, and piece together where I went > wrong. > > Having literally copied and pasted the code, I now get an error - > > weirdly that seems like a step forward. > > > > Naturally I have in my HTML; > > > > <table class="datatable"></table> > > > > And the component is added as per the code examples; > > > > DefaultDataTable table = new DefaultDataTable("datatable", > > columns, userProvider, 10); > > add(table); > > > > I'm using Wicket 1.4.3. Any help on either this problem or providing a > > working example, would be gratefully appreciated. I'm guessing the > error > > below is a simple one...? > > > > The error from the example; > > > > > > WicketMessage: The component(s) below failed to render. A common > problem > > is that you have added a component in code but forgot to reference it > in > > the markup (thus the component will never be rendered). > > > > 1. [MarkupContainer [Component id = datatable]] > > 2. [MarkupContainer [Component id = rows]] > > 3. [MarkupContainer [Component id = 1]] > > 4. [MarkupContainer [Component id = cells]] > > 5. [MarkupContainer [Component id = 1]] > > 6. [Component id = cell] > > 7. [MarkupContainer [Component id = 2]] > > 8. [Component id = cell] > > 9. [MarkupContainer [Component id = 2]] > > 10. [MarkupContainer [Component id = cells]] > > 11. [MarkupContainer [Component id = 1]] > > 12. [Component id = cell] > > 13. [MarkupContainer [Component id = 2]] > > 14. [Component id = cell] > > 15. [MarkupContainer [Component id = 3]] > > 16. [MarkupContainer [Component id = cells]] > > 17. [MarkupContainer [Component id = 1]] > > 18. [Component id = cell] > > 19. [MarkupContainer [Component id = 2]] > > 20. [Component id = cell] > > 21. [MarkupContainer [Component id = 4]] > > 22. [MarkupContainer [Component id = cells]] > > 23. [MarkupContainer [Component id = 1]] > > 24. [Component id = cell] > > 25. [MarkupContainer [Component id = 2]] > > 26. [Component id = cell] > > 27. [MarkupContainer [Component id = 5]] > > 28. [MarkupContainer [Component id = cells]] > > 29. [MarkupContainer [Component id = 1]] > > 30. [Component id = cell] > > 31. [MarkupContainer [Component id = 2]] > > 32. [Component id = cell] > > 33. [MarkupContainer [Component id = 6]] > > 34. [MarkupContainer [Component id = cells]] > > 35. [MarkupContainer [Component id = 1]] > > 36. [Component id = cell] > > 37. [MarkupContainer [Component id = 2]] > > 38. [Component id = cell] > > 39. [MarkupContainer [Component id = topToolbars]] > > 40. [MarkupContainer [Component id = 1]] > > 41. [MarkupContainer [Component id = 2]] > > 42. [MarkupContainer [Component id = toolbar]] > > 43. [MarkupContainer [Component id = headers]] > > 44. [MarkupContainer [Component id = 1]] > > 45. [MarkupContainer [Component id = header]] > > 46. [MarkupContainer [Component id = orderByLink]] > > 47. [MarkupContainer [Component id = _body]] > > 48. [Component id = label] > > 49. [MarkupContainer [Component id = 2]] > > 50. [MarkupContainer [Component id = header]] > > 51. [MarkupContainer [Component id = orderByLink]] > > 52. [MarkupContainer [Component id = _body]] > > 53. [Component id = label] > > 54. [MarkupContainer [Component id = bottomToolbars]] > > 55. [MarkupContainer [Component id = 1]] > > > > Root cause: > > > > org.apache.wicket.WicketRuntimeException: The component(s) below > failed > > to render. A common problem is that you have added a component in code > > but forgot to reference it in the markup (thus the component will > never > > be rendered). > > > > 1. [MarkupContainer [Component id = datatable]] > > 2. [MarkupContainer [Component id = rows]] > > 3. [MarkupContainer [Component id = 1]] > > 4. [MarkupContainer [Component id = cells]] > > 5. [MarkupContainer [Component id = 1]] > > 6. [Component id = cell] > > 7. [MarkupContainer [Component id = 2]] > > 8. [Component id = cell] > > 9. [MarkupContainer [Component id = 2]] > > 10. [MarkupContainer [Component id = cells]] > > 11. [MarkupContainer [Component id = 1]] > > 12. [Component id = cell] > > 13. [MarkupContainer [Component id = 2]] > > 14. [Component id = cell] > > 15. [MarkupContainer [Component id = 3]] > > 16. [MarkupContainer [Component id = cells]] > > 17. [MarkupContainer [Component id = 1]] > > 18. [Component id = cell] > > 19. [MarkupContainer [Component id = 2]] > > 20. [Component id = cell] > > 21. [MarkupContainer [Component id = 4]] > > 22. [MarkupContainer [Component id = cells]] > > 23. [MarkupContainer [Component id = 1]] > > 24. [Component id = cell] > > 25. [MarkupContainer [Component id = 2]] > > 26. [Component id = cell] > > 27. [MarkupContainer [Component id = 5]] > > 28. [MarkupContainer [Component id = cells]] > > 29. [MarkupContainer [Component id = 1]] > > 30. [Component id = cell] > > 31. [MarkupContainer [Component id = 2]] > > 32. [Component id = cell] > > 33. [MarkupContainer [Component id = 6]] > > 34. [MarkupContainer [Component id = cells]] > > 35. [MarkupContainer [Component id = 1]] > > 36. [Component id = cell] > > 37. [MarkupContainer [Component id = 2]] > > 38. [Component id = cell] > > 39. [MarkupContainer [Component id = topToolbars]] > > 40. [MarkupContainer [Component id = 1]] > > 41. [MarkupContainer [Component id = 2]] > > 42. [MarkupContainer [Component id = toolbar]] > > 43. [MarkupContainer [Component id = headers]] > > 44. [MarkupContainer [Component id = 1]] > > 45. [MarkupContainer [Component id = header]] > > 46. [MarkupContainer [Component id = orderByLink]] > > 47. [MarkupContainer [Component id = _body]] > > 48. [Component id = label] > > 49. [MarkupContainer [Component id = 2]] > > 50. [MarkupContainer [Component id = header]] > > 51. [MarkupContainer [Component id = orderByLink]] > > 52. [MarkupContainer [Component id = _body]] > > 53. [Component id = label] > > 54. [MarkupContainer [Component id = bottomToolbars]] > > 55. [MarkupContainer [Component id = 1]] > > > > at org.apache.wicket.Page.checkRendering(Page.java:1162) > > at org.apache.wicket.Page.renderPage(Page.java:922) > > at > > > org.apache.wicket.request.target.component.BookmarkablePageRequestTarget > > .respond(BookmarkablePageRequestTarget.java:262) > > at > > > org.apache.wicket.request.AbstractRequestCycleProcessor.respond(Abstract > > RequestCycleProcessor.java:105) > > at > > > org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java > > :1258) > > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) > > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) > > at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > > at > > > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468 > > ) > > at > > > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java: > > 301) > > at > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan > > dler.java:1084) > > at > > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) > > at > > > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2 > > 16) > > at > > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > > at > > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) > > at > > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) > > at > > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) > > at org.mortbay.jetty.Server.handle(Server.java:324) > > at > > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) > > at > > > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne > > ction.java:828) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) > > at > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > > at > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) > > at > > > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: > > 395) > > at > > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja > > va:450) > > > > -----Original Message----- > > From: Ernesto Reinaldo Barreiro [mailto:reiern70@...] > > Sent: 05 November 2009 11:34 > > To: users@... > > Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > > > Posting some more info (e.g. your code) might help others help you. > > > > Cheers, > > > > Ernesto > > > > On Thu, Nov 5, 2009 at 12:28 PM, Colin Rogers > > <colin-r@...>wrote: > > > > > All, > > > > > > I've obviously checked out; > > > > > > > http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html > > > > > > And various other incomplete example, on the web. There seems to be > > very > > > few examples of these components being used. > > > > > > The basic problem is that I've followed the example above, and > nothing > > > happens. Nothing gets rendered and there is no error. Wouldn't mind > it > > > so much if there was an error! > > > > > > I've tried to breakpoint the problem, but nothing seems to be being > > > called - "iterator" is never called on the implementation of > > > SortableDataProvider, nor is "model". I'm obviously not setting the > > > model correctly somewhere and the component is therefore not > bothering > > > to iterate. > > > > > > Can anyone help, or provide me with another example that I could > > follow? > > > Or point me in the direction of another sortable table component? > > > > > > Cheers, > > > Col. > > > > > > Emap delivers intelligence, inspiration and access through > > publications, > > > events and data businesses in retail, media, the public sector and > the > > built > > > environment. www.emap.com. > > > > > > The information in or attached to this email is confidential and may > > be > > > legally privileged. If you are not the intended recipient of this > > message > > > any use, disclosure, copying, distribution or any action taken in > > reliance > > > on it is prohibited and may be unlawful. If you have received this > > message > > > in error, please notify the sender immediately by return email or by > > > telephone on +44(0)207 728 5000 and delete this message and any > copies > > from > > > your computer and network. The Emap group does not warrant that this > > > and any attachments are free from viruses and accepts no liability > for > > any > > > loss resulting from infected email transmissions. > > > > > > The Emap group reserves the right to monitor all e-mail > communications > > > through its networks. Please note that any views expressed in this > > email may > > > be those of the originator and do not necessarily reflect those of > the > > Emap > > > group. > > > > > > GroundSure Ltd. Company number 03421028 (England and Wales) > > > Emap Limited. Company number: 0537204 (England and Wales). > > > Registered Office: Greater London House, Hampstead Road, London NW1 > > 7EJ, > > > United Kingdom. > > > Details of the operating companies forming part of the Emap group > can > > be > > > found at www.emap.com > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: users-unsubscribe@... > > > For additional commands, e-mail: users-help@... > > > > > > > > > > > > Emap delivers intelligence, inspiration and access through > publications, > > events and data businesses in retail, media, the public sector and the > built > > environment. www.emap.com. > > > > The information in or attached to this email is confidential and may > be > > legally privileged. If you are not the intended recipient of this > message > > any use, disclosure, copying, distribution or any action taken in > reliance > > on it is prohibited and may be unlawful. If you have received this > message > > in error, please notify the sender immediately by return email or by > > telephone on +44(0)207 728 5000 and delete this message and any copies > from > > your computer and network. The Emap group does not warrant that this > > and any attachments are free from viruses and accepts no liability for > any > > loss resulting from infected email transmissions. > > > > The Emap group reserves the right to monitor all e-mail communications > > through its networks. Please note that any views expressed in this > email may > > be those of the originator and do not necessarily reflect those of the > Emap > > group. > > > > GroundSure Ltd. Company number 03421028 (England and Wales) > > Emap Limited. Company number: 0537204 (England and Wales). > > Registered Office: Greater London House, Hampstead Road, London NW1 > 7EJ, > > United Kingdom. > > Details of the operating companies forming part of the Emap group can > be > > found at www.emap.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@... > > For additional commands, e-mail: users-help@... > > > > > > > Emap delivers intelligence, inspiration and access through publications, > events and data businesses in retail, media, the public sector and the built > environment. www.emap.com. > > The information in or attached to this email is confidential and may be > legally privileged. If you are not the intended recipient of this message > any use, disclosure, copying, distribution or any action taken in reliance > on it is prohibited and may be unlawful. If you have received this message > in error, please notify the sender immediately by return email or by > telephone on +44(0)207 728 5000 and delete this message and any copies from > your computer and network. The Emap group does not warrant that this email > and any attachments are free from viruses and accepts no liability for any > loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this email may > be those of the originator and do not necessarily reflect those of the Emap > group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, > United Kingdom. > Details of the operating companies forming part of the Emap group can be > found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > |
|
|
RE: DefaultDataTable or AjaxFallbackDefaultDataTable examplesErnesto,
I think that silly error combined with another very silly error, was the reason for the lack of error or results, in my original query. Thanks ever so much for the sanity check! Consider my forehead thoroughly smacked. :) Cheers, Col. -----Original Message----- From: Ernesto Reinaldo Barreiro [mailto:reiern70@...] Sent: 05 November 2009 12:44 To: users@... Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples No problem... That's one of the most frequent mistakes I do when coding Wicket, so whenever I see the error message I know what's wrong. Best, Ernesto On Thu, Nov 5, 2009 at 1:33 PM, Colin Rogers <colin-r@...> wrote: > Oh my god that is so dumb! > > ... it's still the morning... > > Sorry, dude! > > -----Original Message----- > From: Ernesto Reinaldo Barreiro [mailto:reiern70@...] > Sent: 05 November 2009 12:31 > To: users@... > Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > Maybe > > <table wicket:id="datatable" class="datatable"></table> > > instead > > <table class="datatable"></table> > > will get the example working. > > Best, > > Ernesto > > On Thu, Nov 5, 2009 at 1:22 PM, Colin Rogers <colin-r@...> > wrote: > > > Ernesto - sorry - having pretty much taken that example verbatim - > a > > few changes, I didn't think it necessary - especially when I'm looking > > for another example to follow. > > > > Do you know of another example? > > > > While you are here and good for code checking, I thought I should > > implement the code example verbatim > > > (http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html), > > as a way of getting some result, and piece together where I went > wrong. > > Having literally copied and pasted the code, I now get an error - > > weirdly that seems like a step forward. > > > > Naturally I have in my HTML; > > > > <table class="datatable"></table> > > > > And the component is added as per the code examples; > > > > DefaultDataTable table = new DefaultDataTable("datatable", > > columns, userProvider, 10); > > add(table); > > > > I'm using Wicket 1.4.3. Any help on either this problem or providing > > working example, would be gratefully appreciated. I'm guessing the > error > > below is a simple one...? > > > > The error from the example; > > > > > > WicketMessage: The component(s) below failed to render. A common > problem > > is that you have added a component in code but forgot to reference > in > > the markup (thus the component will never be rendered). > > > > 1. [MarkupContainer [Component id = datatable]] > > 2. [MarkupContainer [Component id = rows]] > > 3. [MarkupContainer [Component id = 1]] > > 4. [MarkupContainer [Component id = cells]] > > 5. [MarkupContainer [Component id = 1]] > > 6. [Component id = cell] > > 7. [MarkupContainer [Component id = 2]] > > 8. [Component id = cell] > > 9. [MarkupContainer [Component id = 2]] > > 10. [MarkupContainer [Component id = cells]] > > 11. [MarkupContainer [Component id = 1]] > > 12. [Component id = cell] > > 13. [MarkupContainer [Component id = 2]] > > 14. [Component id = cell] > > 15. [MarkupContainer [Component id = 3]] > > 16. [MarkupContainer [Component id = cells]] > > 17. [MarkupContainer [Component id = 1]] > > 18. [Component id = cell] > > 19. [MarkupContainer [Component id = 2]] > > 20. [Component id = cell] > > 21. [MarkupContainer [Component id = 4]] > > 22. [MarkupContainer [Component id = cells]] > > 23. [MarkupContainer [Component id = 1]] > > 24. [Component id = cell] > > 25. [MarkupContainer [Component id = 2]] > > 26. [Component id = cell] > > 27. [MarkupContainer [Component id = 5]] > > 28. [MarkupContainer [Component id = cells]] > > 29. [MarkupContainer [Component id = 1]] > > 30. [Component id = cell] > > 31. [MarkupContainer [Component id = 2]] > > 32. [Component id = cell] > > 33. [MarkupContainer [Component id = 6]] > > 34. [MarkupContainer [Component id = cells]] > > 35. [MarkupContainer [Component id = 1]] > > 36. [Component id = cell] > > 37. [MarkupContainer [Component id = 2]] > > 38. [Component id = cell] > > 39. [MarkupContainer [Component id = topToolbars]] > > 40. [MarkupContainer [Component id = 1]] > > 41. [MarkupContainer [Component id = 2]] > > 42. [MarkupContainer [Component id = toolbar]] > > 43. [MarkupContainer [Component id = headers]] > > 44. [MarkupContainer [Component id = 1]] > > 45. [MarkupContainer [Component id = header]] > > 46. [MarkupContainer [Component id = orderByLink]] > > 47. [MarkupContainer [Component id = _body]] > > 48. [Component id = label] > > 49. [MarkupContainer [Component id = 2]] > > 50. [MarkupContainer [Component id = header]] > > 51. [MarkupContainer [Component id = orderByLink]] > > 52. [MarkupContainer [Component id = _body]] > > 53. [Component id = label] > > 54. [MarkupContainer [Component id = bottomToolbars]] > > 55. [MarkupContainer [Component id = 1]] > > > > Root cause: > > > > org.apache.wicket.WicketRuntimeException: The component(s) below > failed > > to render. A common problem is that you have added a component in > > but forgot to reference it in the markup (thus the component will > never > > be rendered). > > > > 1. [MarkupContainer [Component id = datatable]] > > 2. [MarkupContainer [Component id = rows]] > > 3. [MarkupContainer [Component id = 1]] > > 4. [MarkupContainer [Component id = cells]] > > 5. [MarkupContainer [Component id = 1]] > > 6. [Component id = cell] > > 7. [MarkupContainer [Component id = 2]] > > 8. [Component id = cell] > > 9. [MarkupContainer [Component id = 2]] > > 10. [MarkupContainer [Component id = cells]] > > 11. [MarkupContainer [Component id = 1]] > > 12. [Component id = cell] > > 13. [MarkupContainer [Component id = 2]] > > 14. [Component id = cell] > > 15. [MarkupContainer [Component id = 3]] > > 16. [MarkupContainer [Component id = cells]] > > 17. [MarkupContainer [Component id = 1]] > > 18. [Component id = cell] > > 19. [MarkupContainer [Component id = 2]] > > 20. [Component id = cell] > > 21. [MarkupContainer [Component id = 4]] > > 22. [MarkupContainer [Component id = cells]] > > 23. [MarkupContainer [Component id = 1]] > > 24. [Component id = cell] > > 25. [MarkupContainer [Component id = 2]] > > 26. [Component id = cell] > > 27. [MarkupContainer [Component id = 5]] > > 28. [MarkupContainer [Component id = cells]] > > 29. [MarkupContainer [Component id = 1]] > > 30. [Component id = cell] > > 31. [MarkupContainer [Component id = 2]] > > 32. [Component id = cell] > > 33. [MarkupContainer [Component id = 6]] > > 34. [MarkupContainer [Component id = cells]] > > 35. [MarkupContainer [Component id = 1]] > > 36. [Component id = cell] > > 37. [MarkupContainer [Component id = 2]] > > 38. [Component id = cell] > > 39. [MarkupContainer [Component id = topToolbars]] > > 40. [MarkupContainer [Component id = 1]] > > 41. [MarkupContainer [Component id = 2]] > > 42. [MarkupContainer [Component id = toolbar]] > > 43. [MarkupContainer [Component id = headers]] > > 44. [MarkupContainer [Component id = 1]] > > 45. [MarkupContainer [Component id = header]] > > 46. [MarkupContainer [Component id = orderByLink]] > > 47. [MarkupContainer [Component id = _body]] > > 48. [Component id = label] > > 49. [MarkupContainer [Component id = 2]] > > 50. [MarkupContainer [Component id = header]] > > 51. [MarkupContainer [Component id = orderByLink]] > > 52. [MarkupContainer [Component id = _body]] > > 53. [Component id = label] > > 54. [MarkupContainer [Component id = bottomToolbars]] > > 55. [MarkupContainer [Component id = 1]] > > > > at org.apache.wicket.Page.checkRendering(Page.java:1162) > > at org.apache.wicket.Page.renderPage(Page.java:922) > > at > > > > > .respond(BookmarkablePageRequestTarget.java:262) > > at > > > org.apache.wicket.request.AbstractRequestCycleProcessor.respond(Abstract > > RequestCycleProcessor.java:105) > > at > > > org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java > > :1258) > > at org.apache.wicket.RequestCycle.step(RequestCycle.java:1329) > > at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428) > > at org.apache.wicket.RequestCycle.request(RequestCycle.java:545) > > at > > > org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468 > > ) > > at > > > org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java: > > 301) > > at > > > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHan > > dler.java:1084) > > at > > > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) > > at > > > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:2 > > 16) > > at > > > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) > > at > > > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) > > at > > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) > > at > > > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) > > at org.mortbay.jetty.Server.handle(Server.java:324) > > at > > > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) > > at > > > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConne > > ction.java:828) > > at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514) > > at > org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) > > at > org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) > > at > > > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java: > > 395) > > at > > > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.ja > > va:450) > > > > -----Original Message----- > > From: Ernesto Reinaldo Barreiro [mailto:reiern70@...] > > Sent: 05 November 2009 11:34 > > To: users@... > > Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > > > Posting some more info (e.g. your code) might help others help you. > > > > Cheers, > > > > Ernesto > > > > On Thu, Nov 5, 2009 at 12:28 PM, Colin Rogers > > <colin-r@...>wrote: > > > > > All, > > > > > > I've obviously checked out; > > > > > > > http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html > > > > > > And various other incomplete example, on the web. There seems to > > very > > > few examples of these components being used. > > > > > > The basic problem is that I've followed the example above, and > nothing > > > happens. Nothing gets rendered and there is no error. Wouldn't mind > it > > > so much if there was an error! > > > > > > I've tried to breakpoint the problem, but nothing seems to be being > > > called - "iterator" is never called on the implementation of > > > SortableDataProvider, nor is "model". I'm obviously not setting the > > > model correctly somewhere and the component is therefore not > bothering > > > to iterate. > > > > > > Can anyone help, or provide me with another example that I could > > follow? > > > Or point me in the direction of another sortable table component? > > > > > > Cheers, > > > Col. > > > > > > Emap delivers intelligence, inspiration and access through > > publications, > > > events and data businesses in retail, media, the public sector and > the > > built > > > environment. www.emap.com. > > > > > > The information in or attached to this email is confidential and > > be > > > legally privileged. If you are not the intended recipient of this > > message > > > any use, disclosure, copying, distribution or any action taken in > > reliance > > > on it is prohibited and may be unlawful. If you have received this > > message > > > in error, please notify the sender immediately by return email or by > > > telephone on +44(0)207 728 5000 and delete this message and any > copies > > from > > > your computer and network. The Emap group does not warrant that this > > > and any attachments are free from viruses and accepts no liability > for > > any > > > loss resulting from infected email transmissions. > > > > > > The Emap group reserves the right to monitor all e-mail > communications > > > through its networks. Please note that any views expressed in this > > email may > > > be those of the originator and do not necessarily reflect those of > the > > Emap > > > group. > > > > > > GroundSure Ltd. Company number 03421028 (England and Wales) > > > Emap Limited. Company number: 0537204 (England and Wales). > > > Registered Office: Greater London House, Hampstead Road, London > > 7EJ, > > > United Kingdom. > > > Details of the operating companies forming part of the Emap group > can > > be > > > found at www.emap.com > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: users-unsubscribe@... > > > For additional commands, e-mail: users-help@... > > > > > > > > > > > > Emap delivers intelligence, inspiration and access through > publications, > > events and data businesses in retail, media, the public sector and > built > > environment. www.emap.com. > > > > The information in or attached to this email is confidential and may > be > > legally privileged. If you are not the intended recipient of this > message > > any use, disclosure, copying, distribution or any action taken in > reliance > > on it is prohibited and may be unlawful. If you have received this > message > > in error, please notify the sender immediately by return email or by > > telephone on +44(0)207 728 5000 and delete this message and any > from > > your computer and network. The Emap group does not warrant that this > > and any attachments are free from viruses and accepts no liability for > any > > loss resulting from infected email transmissions. > > > > The Emap group reserves the right to monitor all e-mail communications > > through its networks. Please note that any views expressed in this > email may > > be those of the originator and do not necessarily reflect those of the > Emap > > group. > > > > GroundSure Ltd. Company number 03421028 (England and Wales) > > Emap Limited. Company number: 0537204 (England and Wales). > > Registered Office: Greater London House, Hampstead Road, London NW1 > 7EJ, > > United Kingdom. > > Details of the operating companies forming part of the Emap group can > be > > found at www.emap.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@... > > For additional commands, e-mail: users-help@... > > > > > > > Emap delivers intelligence, inspiration and access through publications, > events and data businesses in retail, media, the public sector and the built > environment. www.emap.com. > > The information in or attached to this email is confidential and may be > legally privileged. If you are not the intended recipient of this message > any use, disclosure, copying, distribution or any action taken in reliance > on it is prohibited and may be unlawful. If you have received this message > in error, please notify the sender immediately by return email or by > telephone on +44(0)207 728 5000 and delete this message and any copies from > your computer and network. The Emap group does not warrant that this > and any attachments are free from viruses and accepts no liability for any > loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this email may > be those of the originator and do not necessarily reflect those of the Emap > group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, > United Kingdom. > Details of the operating companies forming part of the Emap group can be > found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. GroundSure Ltd. Company number 03421028 (England and Wales) Emap Limited. Company number: 0537204 (England and Wales). Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. Details of the operating companies forming part of the Emap group can be found at www.emap.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: DefaultDataTable or AjaxFallbackDefaultDataTable examplesin the future you might want to check if we cover the usecase in our
examples project. http://wicketstuff.org/wicket/repeater/?wicket:bookmarkablePage=:org.apache.wicket.examples.repeater.DataTablePage -igor On Thu, Nov 5, 2009 at 3:28 AM, Colin Rogers <colin-r@...> wrote: > All, > > I've obviously checked out; > > http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html > > And various other incomplete example, on the web. There seems to be very > few examples of these components being used. > > The basic problem is that I've followed the example above, and nothing > happens. Nothing gets rendered and there is no error. Wouldn't mind it > so much if there was an error! > > I've tried to breakpoint the problem, but nothing seems to be being > called - "iterator" is never called on the implementation of > SortableDataProvider, nor is "model". I'm obviously not setting the > model correctly somewhere and the component is therefore not bothering > to iterate. > > Can anyone help, or provide me with another example that I could follow? > Or point me in the direction of another sortable table component? > > Cheers, > Col. > > Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. > > The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. > Details of the operating companies forming part of the Emap group can be found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: DefaultDataTable or AjaxFallbackDefaultDataTable examplesCheers, Igor.
-----Original Message----- From: Igor Vaynberg [mailto:igor.vaynberg@...] Sent: 05 November 2009 16:21 To: users@... Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples in the future you might want to check if we cover the usecase in our examples project. http://wicketstuff.org/wicket/repeater/?wicket:bookmarkablePage=:org.apa che.wicket.examples.repeater.DataTablePage -igor On Thu, Nov 5, 2009 at 3:28 AM, Colin Rogers <colin-r@...> wrote: > All, > > I've obviously checked out; > > http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html > > And various other incomplete example, on the web. There seems to be very > few examples of these components being used. > > The basic problem is that I've followed the example above, and nothing > happens. Nothing gets rendered and there is no error. Wouldn't mind it > so much if there was an error! > > I've tried to breakpoint the problem, but nothing seems to be being > called - "iterator" is never called on the implementation of > SortableDataProvider, nor is "model". I'm obviously not setting the > model correctly somewhere and the component is therefore not bothering > to iterate. > > Can anyone help, or provide me with another example that I could > Or point me in the direction of another sortable table component? > > Cheers, > Col. > > Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. > > The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. > Details of the operating companies forming part of the Emap group can be found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. GroundSure Ltd. Company number 03421028 (England and Wales) Emap Limited. Company number: 0537204 (England and Wales). Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. Details of the operating companies forming part of the Emap group can be found at www.emap.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
RE: DefaultDataTable or AjaxFallbackDefaultDataTable examplesActually - I do have one question, one that isn't covered by your
repeater examples page (and therefore, presumably not possible, but worth asking all the same). Is it possible to have a multi-selectable, sortable, data table? Would I have to do that with check boxes? Or am I just getting silly now? :) -----Original Message----- From: Colin Rogers [mailto:colin-r@...] Sent: 05 November 2009 16:28 To: users@... Subject: RE: DefaultDataTable or AjaxFallbackDefaultDataTable examples Cheers, Igor. -----Original Message----- From: Igor Vaynberg [mailto:igor.vaynberg@...] Sent: 05 November 2009 16:21 To: users@... Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples in the future you might want to check if we cover the usecase in our examples project. http://wicketstuff.org/wicket/repeater/?wicket:bookmarkablePage=:org.apa che.wicket.examples.repeater.DataTablePage -igor On Thu, Nov 5, 2009 at 3:28 AM, Colin Rogers <colin-r@...> wrote: > All, > > I've obviously checked out; > > http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html > > And various other incomplete example, on the web. There seems to be very > few examples of these components being used. > > The basic problem is that I've followed the example above, and nothing > happens. Nothing gets rendered and there is no error. Wouldn't mind it > so much if there was an error! > > I've tried to breakpoint the problem, but nothing seems to be being > called - "iterator" is never called on the implementation of > SortableDataProvider, nor is "model". I'm obviously not setting the > model correctly somewhere and the component is therefore not bothering > to iterate. > > Can anyone help, or provide me with another example that I could > Or point me in the direction of another sortable table component? > > Cheers, > Col. > > Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. > > The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. > Details of the operating companies forming part of the Emap group can be found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. GroundSure Ltd. Company number 03421028 (England and Wales) Emap Limited. Company number: 0537204 (England and Wales). Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. Details of the operating companies forming part of the Emap group can be found at www.emap.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. GroundSure Ltd. Company number 03421028 (England and Wales) Emap Limited. Company number: 0537204 (England and Wales). Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. Details of the operating companies forming part of the Emap group can be found at www.emap.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: DefaultDataTable or AjaxFallbackDefaultDataTable examplesOn Thu, Nov 5, 2009 at 8:36 AM, Colin Rogers <colin-r@...> wrote:
> Actually - I do have one question, one that isn't covered by your > repeater examples page (and therefore, presumably not possible, but > worth asking all the same). did i say we cover every possible usecase? doesnt hurt to check mail archives, maybe the following will give you a clue http://markmail.org/message/ubqnfae6dkbsvjnz -igor > > Is it possible to have a multi-selectable, sortable, data table? Would I > have to do that with check boxes? Or am I just getting silly now? :) > > -----Original Message----- > From: Colin Rogers [mailto:colin-r@...] > Sent: 05 November 2009 16:28 > To: users@... > Subject: RE: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > Cheers, Igor. > > -----Original Message----- > From: Igor Vaynberg [mailto:igor.vaynberg@...] > Sent: 05 November 2009 16:21 > To: users@... > Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > in the future you might want to check if we cover the usecase in our > examples project. > > http://wicketstuff.org/wicket/repeater/?wicket:bookmarkablePage=:org.apa > che.wicket.examples.repeater.DataTablePage > > -igor > > On Thu, Nov 5, 2009 at 3:28 AM, Colin Rogers <colin-r@...> > wrote: >> All, >> >> I've obviously checked out; >> >> http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html >> >> And various other incomplete example, on the web. There seems to be > very >> few examples of these components being used. >> >> The basic problem is that I've followed the example above, and nothing >> happens. Nothing gets rendered and there is no error. Wouldn't mind it >> so much if there was an error! >> >> I've tried to breakpoint the problem, but nothing seems to be being >> called - "iterator" is never called on the implementation of >> SortableDataProvider, nor is "model". I'm obviously not setting the >> model correctly somewhere and the component is therefore not bothering >> to iterate. >> >> Can anyone help, or provide me with another example that I could > follow? >> Or point me in the direction of another sortable table component? >> >> Cheers, >> Col. >> >> Emap delivers intelligence, inspiration and access through > publications, events and data businesses in retail, media, the public > sector and the built environment. www.emap.com. >> >> The information in or attached to this email is confidential and may > be legally privileged. If you are not the intended recipient of this > message any use, disclosure, copying, distribution or any action taken > in reliance on it is prohibited and may be unlawful. If you have > received this message in error, please notify the sender immediately by > return email or by telephone on +44(0)207 728 5000 and delete this > message and any copies from your computer and network. The Emap group > does not warrant that this email and any attachments are free from > viruses and accepts no liability for any loss resulting from infected > email transmissions. >> >> The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this email > may be those of the originator and do not necessarily reflect those of > the Emap group. >> >> GroundSure Ltd. Company number 03421028 (England and Wales) >> Emap Limited. Company number: 0537204 (England and Wales). >> Registered Office: Greater London House, Hampstead Road, London NW1 > 7EJ, United Kingdom. >> Details of the operating companies forming part of the Emap group can > be found at www.emap.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > > > Emap delivers intelligence, inspiration and access through publications, > events and data businesses in retail, media, the public sector and the > built environment. www.emap.com. > > The information in or attached to this email is confidential and may be > legally privileged. If you are not the intended recipient of this > message any use, disclosure, copying, distribution or any action taken > in reliance on it is prohibited and may be unlawful. If you have > received this message in error, please notify the sender immediately by > return email or by telephone on +44(0)207 728 5000 and delete this > message and any copies from your computer and network. The Emap group > does not warrant that this email and any attachments are free from > viruses and accepts no liability for any loss resulting from infected > email transmissions. > > The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this email > may be those of the originator and do not necessarily reflect those of > the Emap group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, > United Kingdom. > Details of the operating companies forming part of the Emap group can be > found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > > > Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. > > The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. > Details of the operating companies forming part of the Emap group can be found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: DefaultDataTable or AjaxFallbackDefaultDataTable exampleshttp://wicketstuff.org/grid-examples/data-grid/item-selection
On Thu, Nov 5, 2009 at 8:36 AM, Colin Rogers <colin-r@...> wrote: > Actually - I do have one question, one that isn't covered by your > repeater examples page (and therefore, presumably not possible, but > worth asking all the same). > > Is it possible to have a multi-selectable, sortable, data table? Would I > have to do that with check boxes? Or am I just getting silly now? :) > > -----Original Message----- > From: Colin Rogers [mailto:colin-r@...] > Sent: 05 November 2009 16:28 > To: users@... > Subject: RE: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > Cheers, Igor. > > -----Original Message----- > From: Igor Vaynberg [mailto:igor.vaynberg@...] > Sent: 05 November 2009 16:21 > To: users@... > Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > in the future you might want to check if we cover the usecase in our > examples project. > > http://wicketstuff.org/wicket/repeater/?wicket:bookmarkablePage=:org.apa > che.wicket.examples.repeater.DataTablePage > > -igor > > On Thu, Nov 5, 2009 at 3:28 AM, Colin Rogers <colin-r@...> > wrote: > > All, > > > > I've obviously checked out; > > > > http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html > > > > And various other incomplete example, on the web. There seems to be > very > > few examples of these components being used. > > > > The basic problem is that I've followed the example above, and nothing > > happens. Nothing gets rendered and there is no error. Wouldn't mind it > > so much if there was an error! > > > > I've tried to breakpoint the problem, but nothing seems to be being > > called - "iterator" is never called on the implementation of > > SortableDataProvider, nor is "model". I'm obviously not setting the > > model correctly somewhere and the component is therefore not bothering > > to iterate. > > > > Can anyone help, or provide me with another example that I could > follow? > > Or point me in the direction of another sortable table component? > > > > Cheers, > > Col. > > > > Emap delivers intelligence, inspiration and access through > publications, events and data businesses in retail, media, the public > sector and the built environment. www.emap.com. > > > > The information in or attached to this email is confidential and may > be legally privileged. If you are not the intended recipient of this > message any use, disclosure, copying, distribution or any action taken > in reliance on it is prohibited and may be unlawful. If you have > received this message in error, please notify the sender immediately by > return email or by telephone on +44(0)207 728 5000 and delete this > message and any copies from your computer and network. The Emap group > does not warrant that this email and any attachments are free from > viruses and accepts no liability for any loss resulting from infected > email transmissions. > > > > The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this email > may be those of the originator and do not necessarily reflect those of > the Emap group. > > > > GroundSure Ltd. Company number 03421028 (England and Wales) > > Emap Limited. Company number: 0537204 (England and Wales). > > Registered Office: Greater London House, Hampstead Road, London NW1 > 7EJ, United Kingdom. > > Details of the operating companies forming part of the Emap group can > be found at www.emap.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@... > > For additional commands, e-mail: users-help@... > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > > > Emap delivers intelligence, inspiration and access through publications, > events and data businesses in retail, media, the public sector and the > built environment. www.emap.com. > > The information in or attached to this email is confidential and may be > legally privileged. If you are not the intended recipient of this > message any use, disclosure, copying, distribution or any action taken > in reliance on it is prohibited and may be unlawful. If you have > received this message in error, please notify the sender immediately by > return email or by telephone on +44(0)207 728 5000 and delete this > message and any copies from your computer and network. The Emap group > does not warrant that this email and any attachments are free from > viruses and accepts no liability for any loss resulting from infected > email transmissions. > > The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this email > may be those of the originator and do not necessarily reflect those of > the Emap group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, > United Kingdom. > Details of the operating companies forming part of the Emap group can be > found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > > > Emap delivers intelligence, inspiration and access through publications, > events and data businesses in retail, media, the public sector and the built > environment. www.emap.com. > > The information in or attached to this email is confidential and may be > legally privileged. If you are not the intended recipient of this message > any use, disclosure, copying, distribution or any action taken in reliance > on it is prohibited and may be unlawful. If you have received this message > in error, please notify the sender immediately by return email or by > telephone on +44(0)207 728 5000 and delete this message and any copies from > your computer and network. The Emap group does not warrant that this email > and any attachments are free from viruses and accepts no liability for any > loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this email may > be those of the originator and do not necessarily reflect those of the Emap > group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, > United Kingdom. > Details of the operating companies forming part of the Emap group can be > found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > |
|
|
RE: DefaultDataTable or AjaxFallbackDefaultDataTable examplesIgor/ Maarten,
"http://wicketstuff.org/grid-examples/data-grid/item-selection" Thanks Maarten for the suggestion - looks just the ticket. "did i say we cover every possible usecase?" Igor, sounds like I've offended or annoyed you, apologies if so. I never suggested you did, or should, cover all usecases - I was just asking if something was possible - it's usually better to ask, and not to assume that it can't - especially when this usecase is covered as per Maartens suggestion. "doesnt hurt to check mail archives" I did - I didn't find anything... Cheers, Col. -----Original Message----- From: Igor Vaynberg [mailto:igor.vaynberg@...] Sent: 05 November 2009 16:44 To: users@... Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples On Thu, Nov 5, 2009 at 8:36 AM, Colin Rogers <colin-r@...> wrote: > Actually - I do have one question, one that isn't covered by your > repeater examples page (and therefore, presumably not possible, but > worth asking all the same). did i say we cover every possible usecase? doesnt hurt to check mail archives, maybe the following will give you a clue http://markmail.org/message/ubqnfae6dkbsvjnz -igor > > Is it possible to have a multi-selectable, sortable, data table? Would I > have to do that with check boxes? Or am I just getting silly now? :) > > -----Original Message----- > From: Colin Rogers [mailto:colin-r@...] > Sent: 05 November 2009 16:28 > To: users@... > Subject: RE: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > Cheers, Igor. > > -----Original Message----- > From: Igor Vaynberg [mailto:igor.vaynberg@...] > Sent: 05 November 2009 16:21 > To: users@... > Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > in the future you might want to check if we cover the usecase in our > examples project. > > > che.wicket.examples.repeater.DataTablePage > > -igor > > On Thu, Nov 5, 2009 at 3:28 AM, Colin Rogers <colin-r@...> > wrote: >> All, >> >> I've obviously checked out; >> >> http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html >> >> And various other incomplete example, on the web. There seems to be > very >> few examples of these components being used. >> >> The basic problem is that I've followed the example above, and >> happens. Nothing gets rendered and there is no error. Wouldn't mind it >> so much if there was an error! >> >> I've tried to breakpoint the problem, but nothing seems to be being >> called - "iterator" is never called on the implementation of >> SortableDataProvider, nor is "model". I'm obviously not setting the >> model correctly somewhere and the component is therefore not bothering >> to iterate. >> >> Can anyone help, or provide me with another example that I could > follow? >> Or point me in the direction of another sortable table component? >> >> Cheers, >> Col. >> >> Emap delivers intelligence, inspiration and access through > publications, events and data businesses in retail, media, the public > sector and the built environment. www.emap.com. >> >> The information in or attached to this email is confidential and may > be legally privileged. If you are not the intended recipient of this > message any use, disclosure, copying, distribution or any action taken > in reliance on it is prohibited and may be unlawful. If you have > received this message in error, please notify the sender immediately > return email or by telephone on +44(0)207 728 5000 and delete this > message and any copies from your computer and network. The Emap group > does not warrant that this email and any attachments are free from > viruses and accepts no liability for any loss resulting from infected > email transmissions. >> >> The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this > may be those of the originator and do not necessarily reflect those of > the Emap group. >> >> GroundSure Ltd. Company number 03421028 (England and Wales) >> Emap Limited. Company number: 0537204 (England and Wales). >> Registered Office: Greater London House, Hampstead Road, London NW1 > 7EJ, United Kingdom. >> Details of the operating companies forming part of the Emap group can > be found at www.emap.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > > > Emap delivers intelligence, inspiration and access through > events and data businesses in retail, media, the public sector and the > built environment. www.emap.com. > > The information in or attached to this email is confidential and may be > legally privileged. If you are not the intended recipient of this > message any use, disclosure, copying, distribution or any action taken > in reliance on it is prohibited and may be unlawful. If you have > received this message in error, please notify the sender immediately by > return email or by telephone on +44(0)207 728 5000 and delete this > message and any copies from your computer and network. The Emap group > does not warrant that this email and any attachments are free from > viruses and accepts no liability for any loss resulting from infected > email transmissions. > > The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this > may be those of the originator and do not necessarily reflect those of > the Emap group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, > United Kingdom. > Details of the operating companies forming part of the Emap group can be > found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > > > Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. > > The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. > Details of the operating companies forming part of the Emap group can be found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. GroundSure Ltd. Company number 03421028 (England and Wales) Emap Limited. Company number: 0537204 (England and Wales). Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. Details of the operating companies forming part of the Emap group can be found at www.emap.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples> one that isn't covered by your
> repeater examples page (and therefore, presumably not possible, ? -igor On Thu, Nov 5, 2009 at 8:59 AM, Colin Rogers <colin-r@...> wrote: > Igor/ Maarten, > > "http://wicketstuff.org/grid-examples/data-grid/item-selection" > > Thanks Maarten for the suggestion - looks just the ticket. > > "did i say we cover every possible usecase?" > > Igor, sounds like I've offended or annoyed you, apologies if so. > > I never suggested you did, or should, cover all usecases - I was just > asking if something was possible - it's usually better to ask, and not > to assume that it can't - especially when this usecase is covered as per > Maartens suggestion. > > "doesnt hurt to check mail archives" > > I did - I didn't find anything... > > Cheers, > Col. > > -----Original Message----- > From: Igor Vaynberg [mailto:igor.vaynberg@...] > Sent: 05 November 2009 16:44 > To: users@... > Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples > > On Thu, Nov 5, 2009 at 8:36 AM, Colin Rogers <colin-r@...> > wrote: >> Actually - I do have one question, one that isn't covered by your >> repeater examples page (and therefore, presumably not possible, but >> worth asking all the same). > > did i say we cover every possible usecase? > > > doesnt hurt to check mail archives, maybe the following will give you a > clue > > http://markmail.org/message/ubqnfae6dkbsvjnz > > -igor > > >> >> Is it possible to have a multi-selectable, sortable, data table? Would > I >> have to do that with check boxes? Or am I just getting silly now? :) >> >> -----Original Message----- >> From: Colin Rogers [mailto:colin-r@...] >> Sent: 05 November 2009 16:28 >> To: users@... >> Subject: RE: DefaultDataTable or AjaxFallbackDefaultDataTable examples >> >> Cheers, Igor. >> >> -----Original Message----- >> From: Igor Vaynberg [mailto:igor.vaynberg@...] >> Sent: 05 November 2009 16:21 >> To: users@... >> Subject: Re: DefaultDataTable or AjaxFallbackDefaultDataTable examples >> >> in the future you might want to check if we cover the usecase in our >> examples project. >> >> > http://wicketstuff.org/wicket/repeater/?wicket:bookmarkablePage=:org.apa >> che.wicket.examples.repeater.DataTablePage >> >> -igor >> >> On Thu, Nov 5, 2009 at 3:28 AM, Colin Rogers <colin-r@...> >> wrote: >>> All, >>> >>> I've obviously checked out; >>> >>> http://cwiki.apache.org/WICKET/simple-sortable-datatable-example.html >>> >>> And various other incomplete example, on the web. There seems to be >> very >>> few examples of these components being used. >>> >>> The basic problem is that I've followed the example above, and > nothing >>> happens. Nothing gets rendered and there is no error. Wouldn't mind > it >>> so much if there was an error! >>> >>> I've tried to breakpoint the problem, but nothing seems to be being >>> called - "iterator" is never called on the implementation of >>> SortableDataProvider, nor is "model". I'm obviously not setting the >>> model correctly somewhere and the component is therefore not > bothering >>> to iterate. >>> >>> Can anyone help, or provide me with another example that I could >> follow? >>> Or point me in the direction of another sortable table component? >>> >>> Cheers, >>> Col. >>> >>> Emap delivers intelligence, inspiration and access through >> publications, events and data businesses in retail, media, the public >> sector and the built environment. www.emap.com. >>> >>> The information in or attached to this email is confidential and may >> be legally privileged. If you are not the intended recipient of this >> message any use, disclosure, copying, distribution or any action taken >> in reliance on it is prohibited and may be unlawful. If you have >> received this message in error, please notify the sender immediately > by >> return email or by telephone on +44(0)207 728 5000 and delete this >> message and any copies from your computer and network. The Emap group >> does not warrant that this email and any attachments are free from >> viruses and accepts no liability for any loss resulting from infected >> email transmissions. >>> >>> The Emap group reserves the right to monitor all e-mail > communications >> through its networks. Please note that any views expressed in this >> may be those of the originator and do not necessarily reflect those of >> the Emap group. >>> >>> GroundSure Ltd. Company number 03421028 (England and Wales) >>> Emap Limited. Company number: 0537204 (England and Wales). >>> Registered Office: Greater London House, Hampstead Road, London NW1 >> 7EJ, United Kingdom. >>> Details of the operating companies forming part of the Emap group can >> be found at www.emap.com >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@... >>> For additional commands, e-mail: users-help@... >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> >> >> Emap delivers intelligence, inspiration and access through > publications, >> events and data businesses in retail, media, the public sector and the >> built environment. www.emap.com. >> >> The information in or attached to this email is confidential and may > be >> legally privileged. If you are not the intended recipient of this >> message any use, disclosure, copying, distribution or any action taken >> in reliance on it is prohibited and may be unlawful. If you have >> received this message in error, please notify the sender immediately > by >> return email or by telephone on +44(0)207 728 5000 and delete this >> message and any copies from your computer and network. The Emap group >> does not warrant that this email and any attachments are free from >> viruses and accepts no liability for any loss resulting from infected >> email transmissions. >> >> The Emap group reserves the right to monitor all e-mail communications >> through its networks. Please note that any views expressed in this >> may be those of the originator and do not necessarily reflect those of >> the Emap group. >> >> GroundSure Ltd. Company number 03421028 (England and Wales) >> Emap Limited. Company number: 0537204 (England and Wales). >> Registered Office: Greater London House, Hampstead Road, London NW1 > 7EJ, >> United Kingdom. >> Details of the operating companies forming part of the Emap group can > be >> found at www.emap.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> >> >> Emap delivers intelligence, inspiration and access through > publications, events and data businesses in retail, media, the public > sector and the built environment. www.emap.com. >> >> The information in or attached to this email is confidential and may > be legally privileged. If you are not the intended recipient of this > message any use, disclosure, copying, distribution or any action taken > in reliance on it is prohibited and may be unlawful. If you have > received this message in error, please notify the sender immediately by > return email or by telephone on +44(0)207 728 5000 and delete this > message and any copies from your computer and network. The Emap group > does not warrant that this email and any attachments are free from > viruses and accepts no liability for any loss resulting from infected > email transmissions. >> >> The Emap group reserves the right to monitor all e-mail communications > through its networks. Please note that any views expressed in this email > may be those of the originator and do not necessarily reflect those of > the Emap group. >> >> GroundSure Ltd. Company number 03421028 (England and Wales) >> Emap Limited. Company number: 0537204 (England and Wales). >> Registered Office: Greater London House, Hampstead Road, London NW1 > 7EJ, United Kingdom. >> Details of the operating companies forming part of the Emap group can > be found at www.emap.com >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@... >> For additional commands, e-mail: users-help@... >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > > > Emap delivers intelligence, inspiration and access through publications, events and data businesses in retail, media, the public sector and the built environment. www.emap.com. > > The information in or attached to this email is confidential and may be legally privileged. If you are not the intended recipient of this message any use, disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you have received this message in error, please notify the sender immediately by return email or by telephone on +44(0)207 728 5000 and delete this message and any copies from your computer and network. The Emap group does not warrant that this email and any attachments are free from viruses and accepts no liability for any loss resulting from infected email transmissions. > > The Emap group reserves the right to monitor all e-mail communications through its networks. Please note that any views expressed in this email may be those of the originator and do not necessarily reflect those of the Emap group. > > GroundSure Ltd. Company number 03421028 (England and Wales) > Emap Limited. Company number: 0537204 (England and Wales). > Registered Office: Greater London House, Hampstead Road, London NW1 7EJ, United Kingdom. > Details of the operating companies forming part of the Emap group can be found at www.emap.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@... > For additional commands, e-mail: users-help@... > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
| < Prev | 1 - 2 | Next > |
| Free embeddable forum powered by Nabble | Forum Help |