AW: AW: DefaultDataTable will not render bottomtoolbar for export
Hello, Now I can see the exporttoolbar but when I click the link the csv is empty. Why is that empty? Here the code: @Override public void onSubmit(AjaxRequestTarget target, Form form) { target.add(feedback); FilterCreatorProtocol filter = (FilterCreatorProtocol)form.getModelObject(); if(ConsoleDataHandlerImpl.getInstance().queryProtocolRowsByFilter(filter) = MAX_SEARCH_RESULTS){ ListProtocolRecord protocolData = ConsoleDataHandlerImpl.getInstance().queryProtocolDataWithSearchFilter(filter); target.add(ProtokollierungPage.this.get(searchTable).replaceWith(getSearchTable(protocolData))); }else{ error(ErrorMessage); } } private DefaultDataTable getSearchTable(ListProtocolRecord dataList) { DefaultDataTableProtocolRecord,String searchTable = new DefaultDataTableProtocolRecord, String(searchTable,getTableHead(),new ProtocolDataSortDataProvider(dataList),10); searchTable.setOutputMarkupId(true); searchTable.addBottomToolbar(new ExportToolbar(searchTable, new ModelString(Export to), new ModelString(export)).addDataExporter(new CSVDataExporter())); return searchTable; } ListIColumnProtocolRecord,String columns = new ArrayListIColumnProtocolRecord,String(); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.protocolID), protocolId, protocolId){ @Override public void populateItem(ItemICellPopulatorProtocolRecord cellItem, String componentId, IModelProtocolRecord model) { cellItem.add(new ActionPanel(componentId, model)); } }); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.externalID), externalId, externalId)); columns.add(new DatePropertyColumn(new ResourceModel(protocolRecord.eventTimestamp),eventTimestamp,eventTimestamp,dd.MM. HH:mm:ss)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.integrationService),integrationService,integrationService)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.endpoint),endpoint,endpoint)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.endpointType),endpointType,endpointType)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.messageStatus),messageStatus.description,messageStatus.description)); Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Manig, Christoph Gesendet: Mittwoch, 24. April 2013 07:54 An: users@wicket.apache.org Betreff: AW: AW: DefaultDataTable will not render bottomtoolbar for export Hello, now I see the Problem. Thank you for your help and sorry for my blindness. Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Jesse Long [mailto:j...@unknown.za.net] Gesendet: Dienstag, 23. April 2013 15:57 An: users@wicket.apache.org Betreff: Re: AW: DefaultDataTable will not render bottomtoolbar for export Hi Christoph, PropertyColumns are already exportable. Exportable means implements IExportableColumn. Sven identified that the replaced data table does not have the export toolbar added to it. This is why it does not display after being replaced. Cheers, Jesse On 23/04/2013 15:49, christoph.ma...@t-systems.com wrote: Ok. Thanks for your answer. Here are my columns: ListIColumnProtocolRecord,String columns = new ArrayListIColumnProtocolRecord,String(); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.protocolID), protocolId, protocolId){ @Override public void populateItem(ItemICellPopulatorProtocolRecord cellItem, String componentId, IModelProtocolRecord model) { cellItem.add(new ActionPanel(componentId, model)); } }); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.externalID), externalId, externalId)); columns.add(new DatePropertyColumn(new ResourceModel(protocolRecord.eventTimestamp),eventTimestamp,event Timestamp,dd.MM. HH:mm:ss)); columns.add(new
Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export
Hi Christoph, Are the headers present in the CSV file? (No, indicates some sort of error generating the CSV, look at server logs. Yes, would indicate no records, but possibly error encountered after rendering headers, again, check server logs). Are there records displayed in the HTML data table? If there are no records there, then none will be present in the exported CSV. Thanks, Jesse On 24/04/2013 09:13, christoph.ma...@t-systems.com wrote: Hello, Now I can see the exporttoolbar but when I click the link the csv is empty. Why is that empty? Here the code: @Override public void onSubmit(AjaxRequestTarget target, Form form) { target.add(feedback); FilterCreatorProtocol filter = (FilterCreatorProtocol)form.getModelObject(); if(ConsoleDataHandlerImpl.getInstance().queryProtocolRowsByFilter(filter) = MAX_SEARCH_RESULTS){ ListProtocolRecord protocolData = ConsoleDataHandlerImpl.getInstance().queryProtocolDataWithSearchFilter(filter); target.add(ProtokollierungPage.this.get(searchTable).replaceWith(getSearchTable(protocolData))); }else{ error(ErrorMessage); } } private DefaultDataTable getSearchTable(ListProtocolRecord dataList) { DefaultDataTableProtocolRecord,String searchTable = new DefaultDataTableProtocolRecord, String(searchTable,getTableHead(),new ProtocolDataSortDataProvider(dataList),10); searchTable.setOutputMarkupId(true); searchTable.addBottomToolbar(new ExportToolbar(searchTable, new ModelString(Export to), new ModelString(export)).addDataExporter(new CSVDataExporter())); return searchTable; } ListIColumnProtocolRecord,String columns = new ArrayListIColumnProtocolRecord,String(); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.protocolID), protocolId, protocolId){ @Override public void populateItem(ItemICellPopulatorProtocolRecord cellItem, String componentId, IModelProtocolRecord model) { cellItem.add(new ActionPanel(componentId, model)); } }); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.externalID), externalId, externalId)); columns.add(new DatePropertyColumn(new ResourceModel(protocolRecord.eventTimestamp),eventTimestamp,eventTimestamp,dd.MM. HH:mm:ss)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.integrationService),integrationService,integrationService)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.endpoint),endpoint,endpoint)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.endpointType),endpointType,endpointType)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.messageStatus),messageStatus.description,messageStatus.description)); Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Manig, Christoph Gesendet: Mittwoch, 24. April 2013 07:54 An: users@wicket.apache.org Betreff: AW: AW: DefaultDataTable will not render bottomtoolbar for export Hello, now I see the Problem. Thank you for your help and sorry for my blindness. Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Jesse Long [mailto:j...@unknown.za.net] Gesendet: Dienstag, 23. April 2013 15:57 An: users@wicket.apache.org Betreff: Re: AW: DefaultDataTable will not render bottomtoolbar for export Hi Christoph, PropertyColumns are already exportable. Exportable means implements IExportableColumn. Sven identified that the replaced data table does not have the export toolbar added to it. This is why it does not display after being replaced. Cheers, Jesse On 23/04/2013 15:49, christoph.ma...@t-systems.com wrote: Ok. Thanks for your answer. Here are my columns: ListIColumnProtocolRecord,String columns = new ArrayListIColumnProtocolRecord,String(); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.protocolID), protocolId, protocolId){ @Override public void populateItem(ItemICellPopulatorProtocolRecord cellItem, String
AW: AW: AW: DefaultDataTable will not render bottomtoolbar for export
=labelZeitBisbis:/entry entry key=labelSystemSystem:/entry entry key=labelStatusStatus:/entry entry key=labelServiceTypServicetyp:/entry !-- Datatable -- entry key=datatable.no-records-foundKeine Einträge vorhanden/entry entry key=datatable.export-to=Export toExport to/entry entry key=datatable.export-file-nameexport/entry entry key=NavigatorLabelAngezeigt werden die Einträge/entry entry key=protocolRecord.retentionIDRetention-ID/entry entry key=protocolRecord.protocolIDProtocol-ID/entry entry key=protocolRecord.externalIDExternal-ID/entry entry key=protocolRecord.eventTimestampEvent-Timestamp/entry entry key=protocolRecord.integrationServiceIntegration-Service/entry entry key=protocolRecord.endpointEndpoint/entry entry key=protocolRecord.endpointTypeEndpoint-Typ/entry entry key=protocolRecord.messageStatusMessage-Status/entry /properties Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Jesse Long [mailto:j...@unknown.za.net] Gesendet: Mittwoch, 24. April 2013 10:10 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export Hi Christoph, Are the headers present in the CSV file? (No, indicates some sort of error generating the CSV, look at server logs. Yes, would indicate no records, but possibly error encountered after rendering headers, again, check server logs). Are there records displayed in the HTML data table? If there are no records there, then none will be present in the exported CSV. Thanks, Jesse On 24/04/2013 09:13, christoph.ma...@t-systems.com wrote: Hello, Now I can see the exporttoolbar but when I click the link the csv is empty. Why is that empty? Here the code: @Override public void onSubmit(AjaxRequestTarget target, Form form) { target.add(feedback); FilterCreatorProtocol filter = (FilterCreatorProtocol)form.getModelObject(); if(ConsoleDataHandlerImpl.getInstance().queryProtocolRowsByFilter(filter) = MAX_SEARCH_RESULTS){ ListProtocolRecord protocolData = ConsoleDataHandlerImpl.getInstance().queryProtocolDataWithSearchFilter(filter); target.add(ProtokollierungPage.this.get(searchTable).replaceWith(getSearchTable(protocolData))); }else{ error(ErrorMessage); } } private DefaultDataTable getSearchTable(ListProtocolRecord dataList) { DefaultDataTableProtocolRecord,String searchTable = new DefaultDataTableProtocolRecord, String(searchTable,getTableHead(),new ProtocolDataSortDataProvider(dataList),10); searchTable.setOutputMarkupId(true); searchTable.addBottomToolbar(new ExportToolbar(searchTable, new ModelString(Export to), new ModelString(export)).addDataExporter(new CSVDataExporter())); return searchTable; } ListIColumnProtocolRecord,String columns = new ArrayListIColumnProtocolRecord,String(); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.protocolID), protocolId, protocolId){ @Override public void populateItem(ItemICellPopulatorProtocolRecord cellItem, String componentId, IModelProtocolRecord model) { cellItem.add(new ActionPanel(componentId, model)); } }); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.externalID), externalId, externalId)); columns.add(new DatePropertyColumn(new ResourceModel(protocolRecord.eventTimestamp),eventTimestamp,event Timestamp,dd.MM. HH:mm:ss)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.integrationService),integrationService ,integrationService)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.endpoint),endpoint,endpoint)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.endpointType),endpointType,endpointT ype)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.messageStatus),messageStatus.descripti on,messageStatus.description)); Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax: +49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Manig, Christoph Gesendet: Mittwoch, 24. April 2013 07:54 An: users@wicket.apache.org Betreff: AW: AW
Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export
=labelContentSearchNach Inhalt:/entry entry key=labelExtIDExternal-ID:/entry entry key=labelIntServiceIntegration Service:/entry entry key=labelServiceNameServicename:/entry entry key=labelZeitVonZeitraum von:/entry entry key=labelZeitBisbis:/entry entry key=labelSystemSystem:/entry entry key=labelStatusStatus:/entry entry key=labelServiceTypServicetyp:/entry !-- Datatable -- entry key=datatable.no-records-foundKeine Einträge vorhanden/entry entry key=datatable.export-to=Export toExport to/entry entry key=datatable.export-file-nameexport/entry entry key=NavigatorLabelAngezeigt werden die Einträge/entry entry key=protocolRecord.retentionIDRetention-ID/entry entry key=protocolRecord.protocolIDProtocol-ID/entry entry key=protocolRecord.externalIDExternal-ID/entry entry key=protocolRecord.eventTimestampEvent-Timestamp/entry entry key=protocolRecord.integrationServiceIntegration-Service/entry entry key=protocolRecord.endpointEndpoint/entry entry key=protocolRecord.endpointTypeEndpoint-Typ/entry entry key=protocolRecord.messageStatusMessage-Status/entry /properties Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Jesse Long [mailto:j...@unknown.za.net] Gesendet: Mittwoch, 24. April 2013 10:10 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export Hi Christoph, Are the headers present in the CSV file? (No, indicates some sort of error generating the CSV, look at server logs. Yes, would indicate no records, but possibly error encountered after rendering headers, again, check server logs). Are there records displayed in the HTML data table? If there are no records there, then none will be present in the exported CSV. Thanks, Jesse On 24/04/2013 09:13, christoph.ma...@t-systems.com wrote: Hello, Now I can see the exporttoolbar but when I click the link the csv is empty. Why is that empty? Here the code: @Override public void onSubmit(AjaxRequestTarget target, Form form) { target.add(feedback); FilterCreatorProtocol filter = (FilterCreatorProtocol)form.getModelObject(); if(ConsoleDataHandlerImpl.getInstance().queryProtocolRowsByFilter(filter) = MAX_SEARCH_RESULTS){ ListProtocolRecord protocolData = ConsoleDataHandlerImpl.getInstance().queryProtocolDataWithSearchFilter(filter); target.add(ProtokollierungPage.this.get(searchTable).replaceWith(getSearchTable(protocolData))); }else{ error(ErrorMessage); } } private DefaultDataTable getSearchTable(ListProtocolRecord dataList) { DefaultDataTableProtocolRecord,String searchTable = new DefaultDataTableProtocolRecord, String(searchTable,getTableHead(),new ProtocolDataSortDataProvider(dataList),10); searchTable.setOutputMarkupId(true); searchTable.addBottomToolbar(new ExportToolbar(searchTable, new ModelString(Export to), new ModelString(export)).addDataExporter(new CSVDataExporter())); return searchTable; } ListIColumnProtocolRecord,String columns = new ArrayListIColumnProtocolRecord,String(); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.protocolID), protocolId, protocolId){ @Override public void populateItem(ItemICellPopulatorProtocolRecord cellItem, String componentId, IModelProtocolRecord model) { cellItem.add(new ActionPanel(componentId, model)); } }); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.externalID), externalId, externalId)); columns.add(new DatePropertyColumn(new ResourceModel(protocolRecord.eventTimestamp),eventTimestamp,event Timestamp,dd.MM. HH:mm:ss)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.integrationService),integrationService ,integrationService)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.endpoint),endpoint,endpoint)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.endpointType),endpointType,endpointT ype)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.messageStatus),messageStatus.descripti on,messageStatus.description)); Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport
AW: AW: AW: DefaultDataTable will not render bottomtoolbar for export
But I user this columns in my Table: columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); And in my Browser the property Retention-ID will be loaded from this: entry key=protocolRecord.retentionIDRetention-ID/entry I can see the right String for this property. This Webpage is used on a VM with Red Hat 64 Bit could this be the problem? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 10:26 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export Maybe the file is not used at all. I.e. doesn't load it for some reason. On Wed, Apr 24, 2013 at 11:23 AM, christoph.ma...@t-systems.com wrote: Hello, I get this Exception 2013-04-24 08:18:52,766 | ERROR | tp1448118192-654 | DefaultExceptionMapper | ? ? | 269 - org.apache.wicket.core - 6.5.0 | Unexpected error occurred org.apache.wicket.WicketRuntimeException: Method onResourceRequested of interface org.apache.wicket.IResourceListener targeted at [ResourceLink [Component id = exportLink]] on component [ResourceLink [Component id = exportLink]] threw an exception at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:268)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:216)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:240)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:226)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:840)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)[268:org.apache.wicket.request:6.5.0] at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:254)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:211)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:282)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:244)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:137)[269:org.apache.wicket.core:6.5.0] at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)[95:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.1.2] at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)[95:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.1.2] at org.ops4j.pax.wicket.internal.FilterDelegator$Chain.doFilter(FilterDelegator.java:80)[274:org.ops4j.pax.wicket.service:2.1.0] at org.ops4j.pax.wicket.internal.FilterDelegator.doFilter(FilterDelegator.java:62)[274:org.ops4j.pax.wicket.service:2.1.0] at org.ops4j.pax.wicket.internal.ServletProxy$ServletInvocationHandler.invoke(ServletProxy.java:72)[274:org.ops4j.pax.wicket.service:2.1.0] at $Proxy67.service(Unknown Source)[274:org.ops4j.pax.wicket.service:2.1.0] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_37] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_37] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_37] at org.ops4j.pax.web.service.internal.HttpServiceStarted$1.invoke(HttpServiceStarted.java:182)[100:org.ops4j.pax.web.pax-web-runtime:1.1.9] at org.ops4j.pax.web.service.internal.$Proxy54.service(Unknown Source)[100:org.ops4j.pax.web.pax-web-runtime:1.1.9] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)[80:org.eclipse.jetty.servlet:7.6.7.v20120910] at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:447)[80:org.eclipse.jetty.servlet:7.6.7.v20120910
Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export
What is the full path of your properties.xml ? On Wed, Apr 24, 2013 at 11:30 AM, christoph.ma...@t-systems.com wrote: But I user this columns in my Table: columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); And in my Browser the property Retention-ID will be loaded from this: entry key=protocolRecord.retentionIDRetention-ID/entry I can see the right String for this property. This Webpage is used on a VM with Red Hat 64 Bit could this be the problem? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 10:26 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export Maybe the file is not used at all. I.e. doesn't load it for some reason. On Wed, Apr 24, 2013 at 11:23 AM, christoph.ma...@t-systems.com wrote: Hello, I get this Exception 2013-04-24 08:18:52,766 | ERROR | tp1448118192-654 | DefaultExceptionMapper | ? ? | 269 - org.apache.wicket.core - 6.5.0 | Unexpected error occurred org.apache.wicket.WicketRuntimeException: Method onResourceRequested of interface org.apache.wicket.IResourceListener targeted at [ResourceLink [Component id = exportLink]] on component [ResourceLink [Component id = exportLink]] threw an exception at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:268)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:216)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:240)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:226)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:840)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)[268:org.apache.wicket.request:6.5.0] at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:254)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:211)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:282)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(WicketFilter.java:244)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:137)[269:org.apache.wicket.core:6.5.0] at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)[95:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.1.2] at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)[95:org.apache.geronimo.specs.geronimo-servlet_2.5_spec:1.1.2] at org.ops4j.pax.wicket.internal.FilterDelegator$Chain.doFilter(FilterDelegator.java:80)[274:org.ops4j.pax.wicket.service:2.1.0] at org.ops4j.pax.wicket.internal.FilterDelegator.doFilter(FilterDelegator.java:62)[274:org.ops4j.pax.wicket.service:2.1.0] at org.ops4j.pax.wicket.internal.ServletProxy$ServletInvocationHandler.invoke(ServletProxy.java:72)[274:org.ops4j.pax.wicket.service:2.1.0] at $Proxy67.service(Unknown Source)[274:org.ops4j.pax.wicket.service:2.1.0] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_37] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_37] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_37] at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_37] at org.ops4j.pax.web.service.internal.HttpServiceStarted$1.invoke(HttpServiceStarted.java:182)[100:org.ops4j.pax.web.pax-web-runtime:1.1.9] at org.ops4j.pax.web.service.internal.$Proxy54.service(Unknown Source)[100:org.ops4j.pax.web.pax-web-runtime:1.1.9] at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)[80:org.eclipse.jetty.servlet:7.6.7
AW: AW: AW: DefaultDataTable will not render bottomtoolbar for export
It is in the same package as the class src/main/java/smw/console/frontend/protocol/ProtokollierungPage.properties.xml The classname is ProtokollierungPage.java Does the ResourceModel load this properties automatically? Why does it show the String from the properties at the Tablehead but throw an exception while exporting the data? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 10:33 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export What is the full path of your properties.xml ? On Wed, Apr 24, 2013 at 11:30 AM, christoph.ma...@t-systems.com wrote: But I user this columns in my Table: columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); And in my Browser the property Retention-ID will be loaded from this: entry key=protocolRecord.retentionIDRetention-ID/entry I can see the right String for this property. This Webpage is used on a VM with Red Hat 64 Bit could this be the problem? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 10:26 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export Maybe the file is not used at all. I.e. doesn't load it for some reason. On Wed, Apr 24, 2013 at 11:23 AM, christoph.ma...@t-systems.com wrote: Hello, I get this Exception 2013-04-24 08:18:52,766 | ERROR | tp1448118192-654 | DefaultExceptionMapper | ? ? | 269 - org.apache.wicket.core - 6.5.0 | Unexpected error occurred org.apache.wicket.WicketRuntimeException: Method onResourceRequested of interface org.apache.wicket.IResourceListener targeted at [ResourceLink [Component id = exportLink]] on component [ResourceLink [Component id = exportLink]] threw an exception at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListe nerInterface.java:268)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInter face.java:216)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler .invokeListener(ListenerInterfaceRequestHandler.java:240)[269:org.apac he.wicket.core:6.5.0] at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler .respond(ListenerInterfaceRequestHandler.java:226)[269:org.apache.wick et.core:6.5.0] at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(R equestCycle.java:840)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerSt ack.java:64)[268:org.apache.wicket.request:6.5.0] at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java :254)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCyc le.java:211)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(R equestCycle.java:282)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.protocol.http.WicketFilter.processRequestCycle(Wicke tFilter.java:244)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilt er.java:188)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java :137)[269:org.apache.wicket.core:6.5.0] at javax.servlet.http.HttpServlet.service(HttpServlet.java:693)[95:org.ap ache.geronimo.specs.geronimo-servlet_2.5_spec:1.1.2] at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)[95:org.ap ache.geronimo.specs.geronimo-servlet_2.5_spec:1.1.2] at org.ops4j.pax.wicket.internal.FilterDelegator$Chain.doFilter(FilterDel egator.java:80)[274:org.ops4j.pax.wicket.service:2.1.0] at org.ops4j.pax.wicket.internal.FilterDelegator.doFilter(FilterDelegator .java:62)[274:org.ops4j.pax.wicket.service:2.1.0] at org.ops4j.pax.wicket.internal.ServletProxy$ServletInvocationHandler.in voke(ServletProxy.java:72)[274
Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export
Caused by: java.util.MissingResourceException: Unable to find property: 'protocolRecord.retentionID'. Locale: null, style: null at org.apache.wicket.Localizer.getString(Localizer.java:237)[ 269:org.apache.wicket.core:6.5.0] at org.apache.wicket.Localizer.getString(Localizer.java:149)[ 269:org.apache.wicket.core:6.5.0] at org.apache.wicket.model.ResourceModel.getObject( ResourceModel.java:76)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.model.ResourceModel.getObject( ResourceModel.java:33)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.CSVDataExporter.exportData(CSVDataExporter. java:198)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.ExportToolbar$DataExportResourceStreamWriter .exportData(ExportToolbar.java:343)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.ExportToolbar$DataExportResourceStreamWriter .write(ExportToolbar.java:298)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.request.resource.ResourceStreamResource$1. writeData(ResourceStreamResource.java:192)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.resource.AbstractResource. respond(AbstractResource.java:528)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.markup.html.link.ResourceLink. onResourceRequested(ResourceLink.java:115)[269:org.apache.wicket.core:6.5.0] ... 54 more I.e. this is a request to a IResource, not a page. Wicket doesn't know anything about the page that created the link to the resource at this point. Move your i18n stuff in MyApplication.properties.xml and it should work in all cases. On Wed, Apr 24, 2013 at 11:49 AM, christoph.ma...@t-systems.com wrote: It is in the same package as the class src/main/java/smw/console/frontend/protocol/ProtokollierungPage.properties.xml The classname is ProtokollierungPage.java Does the ResourceModel load this properties automatically? Why does it show the String from the properties at the Tablehead but throw an exception while exporting the data? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 10:33 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export What is the full path of your properties.xml ? On Wed, Apr 24, 2013 at 11:30 AM, christoph.ma...@t-systems.com wrote: But I user this columns in my Table: columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); And in my Browser the property Retention-ID will be loaded from this: entry key=protocolRecord.retentionIDRetention-ID/entry I can see the right String for this property. This Webpage is used on a VM with Red Hat 64 Bit could this be the problem? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 10:26 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export Maybe the file is not used at all. I.e. doesn't load it for some reason. On Wed, Apr 24, 2013 at 11:23 AM, christoph.ma...@t-systems.com wrote: Hello, I get this Exception 2013-04-24 08:18:52,766 | ERROR | tp1448118192-654 | DefaultExceptionMapper | ? ? | 269 - org.apache.wicket.core - 6.5.0 | Unexpected error occurred org.apache.wicket.WicketRuntimeException: Method onResourceRequested of interface org.apache.wicket.IResourceListener targeted at [ResourceLink [Component id = exportLink]] on component [ResourceLink [Component id = exportLink]] threw an exception at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListe nerInterface.java:268)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInter face.java:216)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.core.request.handler.ListenerInterfaceRequestHandler .invokeListener(ListenerInterfaceRequestHandler.java:240)[269:org.apac he.wicket.core:6.5.0
AW: AW: AW: DefaultDataTable will not render bottomtoolbar for export
Is there another way to get this properties? Because there are properties for every page in my project. In which package should this MyApplication.properties.xml be in? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 11:16 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export Caused by: java.util.MissingResourceException: Unable to find property: 'protocolRecord.retentionID'. Locale: null, style: null at org.apache.wicket.Localizer.getString(Localizer.java:237)[ 269:org.apache.wicket.core:6.5.0] at org.apache.wicket.Localizer.getString(Localizer.java:149)[ 269:org.apache.wicket.core:6.5.0] at org.apache.wicket.model.ResourceModel.getObject( ResourceModel.java:76)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.model.ResourceModel.getObject( ResourceModel.java:33)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.CSVDataExporter.exportData(CSVDataExporter. java:198)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.ExportToolbar$DataExportResourceStreamWriter .exportData(ExportToolbar.java:343)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.ExportToolbar$DataExportResourceStreamWriter .write(ExportToolbar.java:298)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.request.resource.ResourceStreamResource$1. writeData(ResourceStreamResource.java:192)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.resource.AbstractResource. respond(AbstractResource.java:528)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.markup.html.link.ResourceLink. onResourceRequested(ResourceLink.java:115)[269:org.apache.wicket.core:6.5.0] ... 54 more I.e. this is a request to a IResource, not a page. Wicket doesn't know anything about the page that created the link to the resource at this point. Move your i18n stuff in MyApplication.properties.xml and it should work in all cases. On Wed, Apr 24, 2013 at 11:49 AM, christoph.ma...@t-systems.com wrote: It is in the same package as the class src/main/java/smw/console/frontend/protocol/ProtokollierungPage.proper ties.xml The classname is ProtokollierungPage.java Does the ResourceModel load this properties automatically? Why does it show the String from the properties at the Tablehead but throw an exception while exporting the data? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 10:33 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export What is the full path of your properties.xml ? On Wed, Apr 24, 2013 at 11:30 AM, christoph.ma...@t-systems.com wrote: But I user this columns in my Table: columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); And in my Browser the property Retention-ID will be loaded from this: entry key=protocolRecord.retentionIDRetention-ID/entry I can see the right String for this property. This Webpage is used on a VM with Red Hat 64 Bit could this be the problem? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 10:26 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export Maybe the file is not used at all. I.e. doesn't load it for some reason. On Wed, Apr 24, 2013 at 11:23 AM, christoph.ma...@t-systems.com wrote: Hello, I get this Exception 2013-04-24 08:18:52,766 | ERROR | tp1448118192-654 | DefaultExceptionMapper | ? ? | 269 - org.apache.wicket.core - 6.5.0 | Unexpected error occurred org.apache.wicket.WicketRuntimeException: Method
AW: AW: AW: DefaultDataTable will not render bottomtoolbar for export
I resolve the problem. I use this new ResourceModel(protocolRecord.retentionID).wrapOnAssignment(getPage()) Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Manig, Christoph Gesendet: Mittwoch, 24. April 2013 11:22 An: users@wicket.apache.org Betreff: AW: AW: AW: DefaultDataTable will not render bottomtoolbar for export Is there another way to get this properties? Because there are properties for every page in my project. In which package should this MyApplication.properties.xml be in? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 11:16 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export Caused by: java.util.MissingResourceException: Unable to find property: 'protocolRecord.retentionID'. Locale: null, style: null at org.apache.wicket.Localizer.getString(Localizer.java:237)[ 269:org.apache.wicket.core:6.5.0] at org.apache.wicket.Localizer.getString(Localizer.java:149)[ 269:org.apache.wicket.core:6.5.0] at org.apache.wicket.model.ResourceModel.getObject( ResourceModel.java:76)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.model.ResourceModel.getObject( ResourceModel.java:33)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.CSVDataExporter.exportData(CSVDataExporter. java:198)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.ExportToolbar$DataExportResourceStreamWriter .exportData(ExportToolbar.java:343)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.ExportToolbar$DataExportResourceStreamWriter .write(ExportToolbar.java:298)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.request.resource.ResourceStreamResource$1. writeData(ResourceStreamResource.java:192)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.resource.AbstractResource. respond(AbstractResource.java:528)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.markup.html.link.ResourceLink. onResourceRequested(ResourceLink.java:115)[269:org.apache.wicket.core:6.5.0] ... 54 more I.e. this is a request to a IResource, not a page. Wicket doesn't know anything about the page that created the link to the resource at this point. Move your i18n stuff in MyApplication.properties.xml and it should work in all cases. On Wed, Apr 24, 2013 at 11:49 AM, christoph.ma...@t-systems.com wrote: It is in the same package as the class src/main/java/smw/console/frontend/protocol/ProtokollierungPage.proper ties.xml The classname is ProtokollierungPage.java Does the ResourceModel load this properties automatically? Why does it show the String from the properties at the Tablehead but throw an exception while exporting the data? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 10:33 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export What is the full path of your properties.xml ? On Wed, Apr 24, 2013 at 11:30 AM, christoph.ma...@t-systems.com wrote: But I user this columns in my Table: columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); And in my Browser the property Retention-ID will be loaded from this: entry key=protocolRecord.retentionIDRetention-ID/entry I can see the right String for this property. This Webpage is used on a VM with Red Hat 64 Bit could this be the problem? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov
Re: AW: AW: AW: DefaultDataTable will not render bottomtoolbar for export
Hi Christoph, Nice solution. Does your CSV export work now? Do you know about the new exporters in wicketstuff-poi v6.7.0? Thanks, Jesse On 24/04/2013 11:50, christoph.ma...@t-systems.com wrote: I resolve the problem. I use this new ResourceModel(protocolRecord.retentionID).wrapOnAssignment(getPage()) Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Manig, Christoph Gesendet: Mittwoch, 24. April 2013 11:22 An: users@wicket.apache.org Betreff: AW: AW: AW: DefaultDataTable will not render bottomtoolbar for export Is there another way to get this properties? Because there are properties for every page in my project. In which package should this MyApplication.properties.xml be in? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 11:16 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export Caused by: java.util.MissingResourceException: Unable to find property: 'protocolRecord.retentionID'. Locale: null, style: null at org.apache.wicket.Localizer.getString(Localizer.java:237)[ 269:org.apache.wicket.core:6.5.0] at org.apache.wicket.Localizer.getString(Localizer.java:149)[ 269:org.apache.wicket.core:6.5.0] at org.apache.wicket.model.ResourceModel.getObject( ResourceModel.java:76)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.model.ResourceModel.getObject( ResourceModel.java:33)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.CSVDataExporter.exportData(CSVDataExporter. java:198)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.ExportToolbar$DataExportResourceStreamWriter .exportData(ExportToolbar.java:343)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.ExportToolbar$DataExportResourceStreamWriter .write(ExportToolbar.java:298)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.request.resource.ResourceStreamResource$1. writeData(ResourceStreamResource.java:192)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.resource.AbstractResource. respond(AbstractResource.java:528)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.markup.html.link.ResourceLink. onResourceRequested(ResourceLink.java:115)[269:org.apache.wicket.core:6.5.0] ... 54 more I.e. this is a request to a IResource, not a page. Wicket doesn't know anything about the page that created the link to the resource at this point. Move your i18n stuff in MyApplication.properties.xml and it should work in all cases. On Wed, Apr 24, 2013 at 11:49 AM, christoph.ma...@t-systems.com wrote: It is in the same package as the class src/main/java/smw/console/frontend/protocol/ProtokollierungPage.proper ties.xml The classname is ProtokollierungPage.java Does the ResourceModel load this properties automatically? Why does it show the String from the properties at the Tablehead but throw an exception while exporting the data? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 10:33 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export What is the full path of your properties.xml ? On Wed, Apr 24, 2013 at 11:30 AM, christoph.ma...@t-systems.com wrote: But I user this columns in my Table: columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); And in my Browser the property Retention-ID will be loaded from this: entry key=protocolRecord.retentionIDRetention-ID/entry I can see the right String for this property. This Webpage is used on a VM with Red Hat 64 Bit could this be the problem? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152
AW: AW: AW: AW: DefaultDataTable will not render bottomtoolbar for export
Hello, yes the csv-export is working now. No I didn't know about the new exporters. At the moment I don't need another exporter. Thank you for your help. Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Jesse Long [mailto:j...@unknown.za.net] Gesendet: Mittwoch, 24. April 2013 12:37 An: users@wicket.apache.org Betreff: Re: AW: AW: AW: DefaultDataTable will not render bottomtoolbar for export Hi Christoph, Nice solution. Does your CSV export work now? Do you know about the new exporters in wicketstuff-poi v6.7.0? Thanks, Jesse On 24/04/2013 11:50, christoph.ma...@t-systems.com wrote: I resolve the problem. I use this new ResourceModel(protocolRecord.retentionID).wrapOnAssignment(getPage() ) Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Manig, Christoph Gesendet: Mittwoch, 24. April 2013 11:22 An: users@wicket.apache.org Betreff: AW: AW: AW: DefaultDataTable will not render bottomtoolbar for export Is there another way to get this properties? Because there are properties for every page in my project. In which package should this MyApplication.properties.xml be in? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 11:16 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export Caused by: java.util.MissingResourceException: Unable to find property: 'protocolRecord.retentionID'. Locale: null, style: null at org.apache.wicket.Localizer.getString(Localizer.java:237)[ 269:org.apache.wicket.core:6.5.0] at org.apache.wicket.Localizer.getString(Localizer.java:149)[ 269:org.apache.wicket.core:6.5.0] at org.apache.wicket.model.ResourceModel.getObject( ResourceModel.java:76)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.model.ResourceModel.getObject( ResourceModel.java:33)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.CSVDataExporter.exportData(CSVDataExporter. java:198)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.ExportToolbar$DataExportResourceStreamWriter .exportData(ExportToolbar.java:343)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.extensions.markup.html.repeater.data. table.export.ExportToolbar$DataExportResourceStreamWriter .write(ExportToolbar.java:298)[271:org.apache.wicket.extensions:6.5.0] at org.apache.wicket.request.resource.ResourceStreamResource$1. writeData(ResourceStreamResource.java:192)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.request.resource.AbstractResource. respond(AbstractResource.java:528)[269:org.apache.wicket.core:6.5.0] at org.apache.wicket.markup.html.link.ResourceLink. onResourceRequested(ResourceLink.java:115)[269:org.apache.wicket.core:6.5.0] ... 54 more I.e. this is a request to a IResource, not a page. Wicket doesn't know anything about the page that created the link to the resource at this point. Move your i18n stuff in MyApplication.properties.xml and it should work in all cases. On Wed, Apr 24, 2013 at 11:49 AM, christoph.ma...@t-systems.com wrote: It is in the same package as the class src/main/java/smw/console/frontend/protocol/ProtokollierungPage.prope r ties.xml The classname is ProtokollierungPage.java Does the ResourceModel load this properties automatically? Why does it show the String from the properties at the Tablehead but throw an exception while exporting the data? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 – 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Martin Grigorov [mailto:mgrigo...@apache.org] Gesendet: Mittwoch, 24. April 2013 10:33 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render
AW: AW: DefaultDataTable will not render bottomtoolbar for export
But I added the Toolbar at the initial call oft he Webpage. Then I can submit the AjaxButton and some data is in the table. Why should I add the bottomtoolbar again? The no-record-found-toolbar will be rendered after the Ajaxcall. Why not the Exporttoolbar? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Sven Meier [mailto:s...@meiers.net] Gesendet: Dienstag, 23. April 2013 15:44 An: users@wicket.apache.org Betreff: Re: AW: DefaultDataTable will not render bottomtoolbar for export Your replaced DataTable doesn't have a bottomtoolbar: target.add(ProtokollierungPage.this.get(searchTable).replaceWith( new DefaultDataTableProtocolRecord,String(searchTable, getTableHead(), new ProtocolDataSortDataProvider(protocolData), 100))); Sven On 04/23/2013 03:29 PM, christoph.ma...@t-systems.com wrote: Hello, here is the code of onSubmit method of the AjaxFallbackButton. FormFilterCreatorProtocol protocollSearchForm = new FormFilterCreatorProtocol(protokollierungSucheForm, new CompoundPropertyModelFilterCreatorProtocol(new FilterCreatorProtocol())); protocollSearchForm.add(new AjaxFallbackButton(submit,protocollSearchForm) { @Override public void onSubmit(AjaxRequestTarget target, Form form) { target.add(feedback); FilterCreatorProtocol filter = (FilterCreatorProtocol)form.getModelObject(); if(ConsoleDataHandlerImpl.getInstance().queryProtocolRowsByFilter(filter) = MAX_SEARCH_RESULTS){ ListProtocolRecord protocolData = ConsoleDataHandlerImpl.getInstance().queryProtocolDataWithSearchFilter(filter); target.add(ProtokollierungPage.this.get(searchTable).replaceWith( new DefaultDataTableProtocolRecord,String(searchTable, getTableHead(), new ProtocolDataSortDataProvider(protocolData), 100))); }else{ error(ErrorMessage); } } }) ; Do you need some other informations? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax: +49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Sven Meier [mailto:s...@meiers.net] Gesendet: Dienstag, 23. April 2013 15:16 An: users@wicket.apache.org Betreff: Re: DefaultDataTable will not render bottomtoolbar for export Show us your #onSubmit(ART) ... formatted please. Sven On 04/23/2013 02:54 PM, christoph.ma...@t-systems.com wrote: Hello, I have a Problem with the DefaultDataTable and the Export csv. Here is my code: DefaultDataTableProtocolSearchData,String searchTable = new DefaultDataTableProtocolSearchData, String(searchTable,getTableHead(),new ProtocolDataSortDataProvider(Collections.EMPTY_LIST),10); searchTable.addBottomToolbar(new ExportToolbar(searchTable,new ModelString(Export to),new ModelString(export)).addDataExporter(new CSVDataExporter())); searchTable.setOutputMarkupId(true); add(searchTable); This table will be replaced by submitting an AjaxFallbackButton, so that the DataProvider gets an list with some data and not an empty list. My Problem is that the bottomtoolbar for exporting a csv ist not rendered. The no-records-found toolbar will be rendered. What is the problem here? Can anyone please help me? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export
Because you replaced the data table to which the export toolbar was added with another data table, which has no export toolbar. A data table without an export toolbar will not render an export toolbar. If you want the export toolbar to render, you must add it to the data table being rendered. On 23/04/2013 15:52, christoph.ma...@t-systems.com wrote: But I added the Toolbar at the initial call oft he Webpage. Then I can submit the AjaxButton and some data is in the table. Why should I add the bottomtoolbar again? The no-record-found-toolbar will be rendered after the Ajaxcall. Why not the Exporttoolbar? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Sven Meier [mailto:s...@meiers.net] Gesendet: Dienstag, 23. April 2013 15:44 An: users@wicket.apache.org Betreff: Re: AW: DefaultDataTable will not render bottomtoolbar for export Your replaced DataTable doesn't have a bottomtoolbar: target.add(ProtokollierungPage.this.get(searchTable).replaceWith( new DefaultDataTableProtocolRecord,String(searchTable, getTableHead(), new ProtocolDataSortDataProvider(protocolData), 100))); Sven On 04/23/2013 03:29 PM, christoph.ma...@t-systems.com wrote: Hello, here is the code of onSubmit method of the AjaxFallbackButton. FormFilterCreatorProtocol protocollSearchForm = new FormFilterCreatorProtocol(protokollierungSucheForm, new CompoundPropertyModelFilterCreatorProtocol(new FilterCreatorProtocol())); protocollSearchForm.add(new AjaxFallbackButton(submit,protocollSearchForm) { @Override public void onSubmit(AjaxRequestTarget target, Form form) { target.add(feedback); FilterCreatorProtocol filter = (FilterCreatorProtocol)form.getModelObject(); if(ConsoleDataHandlerImpl.getInstance().queryProtocolRowsByFilter(filter) = MAX_SEARCH_RESULTS){ ListProtocolRecord protocolData = ConsoleDataHandlerImpl.getInstance().queryProtocolDataWithSearchFilter(filter); target.add(ProtokollierungPage.this.get(searchTable).replaceWith( new DefaultDataTableProtocolRecord,String(searchTable, getTableHead(), new ProtocolDataSortDataProvider(protocolData), 100))); }else{ error(ErrorMessage); } } }) ; Do you need some other informations? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Sven Meier [mailto:s...@meiers.net] Gesendet: Dienstag, 23. April 2013 15:16 An: users@wicket.apache.org Betreff: Re: DefaultDataTable will not render bottomtoolbar for export Show us your #onSubmit(ART) ... formatted please. Sven On 04/23/2013 02:54 PM, christoph.ma...@t-systems.com wrote: Hello, I have a Problem with the DefaultDataTable and the Export csv. Here is my code: DefaultDataTableProtocolSearchData,String searchTable = new DefaultDataTableProtocolSearchData, String(searchTable,getTableHead(),new ProtocolDataSortDataProvider(Collections.EMPTY_LIST),10); searchTable.addBottomToolbar(new ExportToolbar(searchTable,new ModelString(Export to),new ModelString(export)).addDataExporter(new CSVDataExporter())); searchTable.setOutputMarkupId(true); add(searchTable); This table will be replaced by submitting an AjaxFallbackButton, so that the DataProvider gets an list with some data and not an empty list. My Problem is that the bottomtoolbar for exporting a csv ist not rendered. The no-records-found toolbar will be rendered. What is the problem here? Can anyone please help me? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org - To unsubscribe, e-mail: users-unsubscr
Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export
Hi Christoph I also have this problems. when you solved this problem, please upload an image of your wicket page contains a data table and has the capability to export its data to a CVS file. - Regards -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/DefaultDataTable-will-not-render-bottomtoolbar-for-export-tp4658190p4658203.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
AW: AW: DefaultDataTable will not render bottomtoolbar for export
Hello, now I see the Problem. Thank you for your help and sorry for my blindness. Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Jesse Long [mailto:j...@unknown.za.net] Gesendet: Dienstag, 23. April 2013 15:57 An: users@wicket.apache.org Betreff: Re: AW: DefaultDataTable will not render bottomtoolbar for export Hi Christoph, PropertyColumns are already exportable. Exportable means implements IExportableColumn. Sven identified that the replaced data table does not have the export toolbar added to it. This is why it does not display after being replaced. Cheers, Jesse On 23/04/2013 15:49, christoph.ma...@t-systems.com wrote: Ok. Thanks for your answer. Here are my columns: ListIColumnProtocolRecord,String columns = new ArrayListIColumnProtocolRecord,String(); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.retentionID), retentionId, retentionId)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.protocolID), protocolId, protocolId){ @Override public void populateItem(ItemICellPopulatorProtocolRecord cellItem, String componentId, IModelProtocolRecord model) { cellItem.add(new ActionPanel(componentId, model)); } }); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.externalID), externalId, externalId)); columns.add(new DatePropertyColumn(new ResourceModel(protocolRecord.eventTimestamp),eventTimestamp,event Timestamp,dd.MM. HH:mm:ss)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.integrationService),integrationService ,integrationService)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.endpoint),endpoint,endpoint)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.endpointType),endpointType,endpointT ype)); columns.add(new PropertyColumnProtocolRecord, String(new ResourceModel(protocolRecord.messageStatus),messageStatus.descripti on,messageStatus.description)); How can I make them exportable? What are exportable columns in Wicket? At first the dataTable is empty, so the BottomToolbar shouldn't be rendered. That's right. But when it is replaced by an Ajaxbutton and there is some data in the dataTable the Bottomtoolbar isn't rendered.Why? Because of the non-exportable columns? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax: +49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Jesse Long [mailto:j...@unknown.za.net] Gesendet: Dienstag, 23. April 2013 15:43 An: users@wicket.apache.org Betreff: Re: DefaultDataTable will not render bottomtoolbar for export Hi Christoph, ExportToolbar#isVisible() is not visible in any of these conditions: * There are no rows displayed (this is your case) * There are no data exporters (this is not your case) * There are no exportable columns (I dont know if this is your case) If you want the export toolbar to be visible when there are no rows, please overload ExportToolbar#isVisible(), or file a Jira issue if you want that configurable. Thanks, Jesse On 23/04/2013 14:54, christoph.ma...@t-systems.com wrote: Hello, I have a Problem with the DefaultDataTable and the Export csv. Here is my code: DefaultDataTableProtocolSearchData,String searchTable = new DefaultDataTableProtocolSearchData, String(searchTable,getTableHead(),new ProtocolDataSortDataProvider(Collections.EMPTY_LIST),10); searchTable.addBottomToolbar(new ExportToolbar(searchTable,new ModelString(Export to),new ModelString(export)).addDataExporter(new CSVDataExporter())); searchTable.setOutputMarkupId(true); add(searchTable); This table will be replaced by submitting an AjaxFallbackButton, so that the DataProvider gets an list with some data and not an empty list. My Problem is that the bottomtoolbar for exporting a csv ist not rendered. The no-records-found toolbar will be rendered. What is the problem here? Can anyone please help me? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +49 (0) 351 / 8152 - 188 fax:+49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com