Re: Generating spreadsheet to send to Client fails in 1.6
Hi, See https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/markup/html/link/DownloadLink.java?source=cc#L167 for a simple example. On Thu, Aug 1, 2013 at 5:33 AM, BrianWilliams brianwilliams33...@yahoo.comwrote: Thank you again Paul. I'll look at scheduleRequestHandlerAfterCurrent and compare it. And yes, you are right that IResourceStream is straightforward, but again I am blown away that something that worked perfectly pre6.x now requires a different strategy. And no, I am not setting cookies or buffering, just generating and sending that spreadsheet down. Cheers. From: Paul Bors [via Apache Wicket] ml-node+s1842946n4660599...@n4.nabble.com To: BrianWilliams brianwilliams33...@yahoo.com Sent: Wednesday, July 31, 2013 4:24 PM Subject: RE: Generating spreadsheet to send to Client fails in 1.6 Well... Component.getResponse() calls getRequestCycle().getResponse() and you're then you're casting that Response object to a WebResponse and change it in the middle of wicket's processing it. Is simple to schedule your resource outside of wicket's normal flow right? Hence getRequestCycle().scheduleRequestHandlerAfterCurrent() which schedules the request handler to be executed after the current one works much better for downloading a resource right? If you don't like that explanation look over the JavaDoc of the WebResponse and its API and compare it with that of the IResourceStream. You have to ask yourself, are you going to set any cookies or a buffer along with your spreadsheet download? :) ~ Thank you, Paul Bors -Original Message- From: BrianWilliams [mailto:[hidden email]] Sent: Wednesday, July 31, 2013 4:43 PM To: [hidden email] Subject: Re: Generating spreadsheet to send to Client fails in 1.6 Thank you Paul. I appreciate the advice. Regarding your suggestion to use IResourceStream, I wonder what the problem is with writing to the web response? Is this simply something that is no longer supported in 6.x, even though it worked perfectly in 4.x? I'd prefer to simply fix whatever is wrong with my current code From: Paul Bors [via Apache Wicket] [hidden email] To: BrianWilliams [hidden email] Sent: Wednesday, July 31, 2013 11:40 AM Subject: RE: Generating spreadsheet to send to Client fails in 1.6 I think you should also upgrade your Apache POI version and switch to .xlsx since the older format has a limit of about 65K records. Outside of that I suggest you use an IResourceStream instead of writing to your web response. Personally I use csv comma delimited since I don't do any magic beside export those records to be viewed in Excel, edited and then imported back via the webapp. In any event this is how I do it via Wicket 6.x: @Override protected void onClick() { IResourceStream csvStream = new CsvResourceStream(service.exportAll(getSession().getLocale())); String fileNameKey = ...; getRequestCycle().scheduleRequestHandlerAfterCurrent( new ResourceStreamRequestHandler(csvStream).setFileName(ResourceKeyHelper.resour ceValue(fileNameKey) + .csv) ); } public class CsvResourceStream extends AbstractResourceStream { private static final long serialVersionUID = 1L; public CsvResourceStream(ByteArrayOutputStream outputStream) { super(outputStream.toByteArray()); IOUtils.closeQuietly(outputStream); } @Override public String getContentType() { return new StringBuilder() .append(text/comma-separated-values, ) .append(text/csv, ) .append(application/csv, ) .append(application/excel) .toString(); } } You can switch it to your HSSFWorkbook and grab its byte content. -Original Message- From: BrianWilliams [mailto:[hidden email]] Sent: Wednesday, July 31, 2013 1:14 PM To: [hidden email] Subject: Generating spreadsheet to send to Client fails in 1.6 Hello, I had code in Wicket 1.x that worked perfectly to dynamically generate a spreadsheet and send it to the user. I had to rewrite it for the new Response classes in 1.6: public void generateExcel(String filename, ListList? extends Object dataList) { HSSFWorkbook myWorkBook = new HSSFWorkbook(); HSSFSheet mySheet = myWorkBook.createSheet(); ... (generate sheet from dataList using HSSFSheet methods) WebResponse response = (WebResponse)getResponse(); webResponse.setContentType(application/vnd.ms-excel); webResponse.setAttachmentHeader(filename + .xls); OutputStream out = webResponse.getOutputStream(); myWorkBook.write(out); out.close(); } The sheet is still being populated as I need, and the client is asked to open or save the filename.xls file (as expected). The problem with 1.6 is: the current page is sent
Re: Jquery tooltip for multiple fields in wicket
Hi Martin, I downloaded the wicket-jquery-ui through maven dependency groupIdcom.googlecode.wicket-jquery-ui/groupId artifactIdwicket-jquery-ui/artifactId version6.8.1/version /dependency also downloaded the required css and added the reference in my html page. Added the below code in my java. this.add(new TooltipBehavior()); But tooltip didnt appear in my page . Have i missed out something.Kindly help me out. Regards, Murugan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jquery-tooltip-for-multiple-fields-in-wicket-tp4660449p4660603.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
Re: gmap2, wicket 6.9 and ajax refresh
Hi, https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/markup/head/OnEventHeaderItem.java?source=cc doesn't cut the 'on' prefix. https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/ajax/AjaxEventBehavior.java?source=cc#L68 - does. I'll update OnEventHeaderItem to do it too. Explanation: 'onclick' should be used for inline attributes, e.g. div onclick=... ... 'click' should be used for document.addEventListener/attachEvent On Wed, Jul 31, 2013 at 10:17 PM, Cedric Gatay gata...@gmail.com wrote: If I remember well click or on click should work, the on prefix is automatically removed if it is present. Regards, Le 31 juil. 2013 20:47, Gabriel Landon glan...@piti.pf a écrit : Martin in the javadoc there's an example saying onclick. So should it be click? /** * Creates a {@link OnEventHeaderItem} for the given parameters. * * @param target *The target of the event handler, for example 'window' or 'document'. * @param event *The event itself, for example '*onclick*'. * @param javaScript *The script to execute on the event. * * @return A newly created {@link OnEventHeaderItem}. */ public static OnEventHeaderItem forScript(String target, String event, CharSequence javaScript) { return new OnEventHeaderItem(target, event, javaScript); } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/gmap2-wicket-6-9-and-ajax-refresh-tp4660564p4660586.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
Re: Jquery tooltip for multiple fields in wicket
Hi, See Sebastien's examples earlier in this mail thread. On Thu, Aug 1, 2013 at 8:49 AM, Murugan murugan4...@gmail.com wrote: Hi Martin, I downloaded the wicket-jquery-ui through maven dependency groupIdcom.googlecode.wicket-jquery-ui/groupId artifactIdwicket-jquery-ui/artifactId version6.8.1/version /dependency also downloaded the required css and added the reference in my html page. Added the below code in my java. this.add(new TooltipBehavior()); But tooltip didnt appear in my page . Have i missed out something.Kindly help me out. Regards, Murugan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jquery-tooltip-for-multiple-fields-in-wicket-tp4660449p4660603.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
Re: gmap2, wicket 6.9 and ajax refresh
https://issues.apache.org/jira/browse/WICKET-5296 On Thu, Aug 1, 2013 at 8:52 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/markup/head/OnEventHeaderItem.java?source=cc doesn't cut the 'on' prefix. https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/ajax/AjaxEventBehavior.java?source=cc#L68 - does. I'll update OnEventHeaderItem to do it too. Explanation: 'onclick' should be used for inline attributes, e.g. div onclick=... ... 'click' should be used for document.addEventListener/attachEvent On Wed, Jul 31, 2013 at 10:17 PM, Cedric Gatay gata...@gmail.com wrote: If I remember well click or on click should work, the on prefix is automatically removed if it is present. Regards, Le 31 juil. 2013 20:47, Gabriel Landon glan...@piti.pf a écrit : Martin in the javadoc there's an example saying onclick. So should it be click? /** * Creates a {@link OnEventHeaderItem} for the given parameters. * * @param target *The target of the event handler, for example 'window' or 'document'. * @param event *The event itself, for example '*onclick*'. * @param javaScript *The script to execute on the event. * * @return A newly created {@link OnEventHeaderItem}. */ public static OnEventHeaderItem forScript(String target, String event, CharSequence javaScript) { return new OnEventHeaderItem(target, event, javaScript); } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/gmap2-wicket-6-9-and-ajax-refresh-tp4660564p4660586.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
Re: gmap2, wicket 6.9 and ajax refresh
Looking at the code on my phone is not that easy, i had a wrong souvenir ;) __ Cedric Gatay (@Cedric_Gatay http://twitter.com/Cedric_Gatay) http://code-troopers.com | http://www.bloggure.info | http://cedric.gatay.fr On Thu, Aug 1, 2013 at 9:04 AM, Martin Grigorov mgrigo...@apache.orgwrote: https://issues.apache.org/jira/browse/WICKET-5296 On Thu, Aug 1, 2013 at 8:52 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/markup/head/OnEventHeaderItem.java?source=ccdoesn't cut the 'on' prefix. https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/ajax/AjaxEventBehavior.java?source=cc#L68- does. I'll update OnEventHeaderItem to do it too. Explanation: 'onclick' should be used for inline attributes, e.g. div onclick=... ... 'click' should be used for document.addEventListener/attachEvent On Wed, Jul 31, 2013 at 10:17 PM, Cedric Gatay gata...@gmail.com wrote: If I remember well click or on click should work, the on prefix is automatically removed if it is present. Regards, Le 31 juil. 2013 20:47, Gabriel Landon glan...@piti.pf a écrit : Martin in the javadoc there's an example saying onclick. So should it be click? /** * Creates a {@link OnEventHeaderItem} for the given parameters. * * @param target *The target of the event handler, for example 'window' or 'document'. * @param event *The event itself, for example '*onclick*'. * @param javaScript *The script to execute on the event. * * @return A newly created {@link OnEventHeaderItem}. */ public static OnEventHeaderItem forScript(String target, String event, CharSequence javaScript) { return new OnEventHeaderItem(target, event, javaScript); } -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/gmap2-wicket-6-9-and-ajax-refresh-tp4660564p4660586.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: file upload in nested form with CPM needs dummy model
Any idea where I'm thinking wrong ? Thanks, Tom. Tom Eicher r...@teicher.net schrieb: Hello, I have an outer form, with a CPM for a business entity. An inner form FormVoid uploadImageForm = new Form(UploadImageForm); has a FileUploadField uploadImageField = new FileUploadField(UploadImageField); and when I submit the inner form, wicket tries to find getters/setters for UploadImageField in my business entity, which obviously are not there: WicketRuntimeException: No get method defined for class: class XXXBusinessEntity expression: UploadImageField I tried many things to work around this problem, including FormVoid uploadImageForm = new Form(UploadImageForm, null); and uploadImageField = new FileUploadField(UploadImageField, null); and setModel(null) and some more, however the only way to really get rid of this I found is: FileUploadField uploadImageField = new FileUploadField(UploadImageField, new UploadFieldModel()); static class UploadFieldModel implements IModelListFileUpload { ListFileUpload f; @Override public ListFileUpload getObject() { return f; } @Override public void setObject(ListFileUpload object) { f=object; } @Override public void detach() { } } That doesn't sound too reasonable, does it ? I do not need or want the value to be put to any model, is there any more sensible way to do this ? (wicket 6.8.0 - will update soon) Cheers, Tom. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: file upload in nested form with CPM needs dummy model
Hi Tom, Did you see my response from last Wednesday ? It looks like you missed it. On Thu, Aug 1, 2013 at 9:40 AM, Tom Eicher - von Unterwegs r...@teicher.net wrote: Any idea where I'm thinking wrong ? Thanks, Tom. Tom Eicher r...@teicher.net schrieb: Hello, I have an outer form, with a CPM for a business entity. An inner form FormVoid uploadImageForm = new Form(UploadImageForm); has a FileUploadField uploadImageField = new FileUploadField(UploadImageField); and when I submit the inner form, wicket tries to find getters/setters for UploadImageField in my business entity, which obviously are not there: WicketRuntimeException: No get method defined for class: class XXXBusinessEntity expression: UploadImageField I tried many things to work around this problem, including FormVoid uploadImageForm = new Form(UploadImageForm, null); and uploadImageField = new FileUploadField(UploadImageField, null); and setModel(null) and some more, however the only way to really get rid of this I found is: FileUploadField uploadImageField = new FileUploadField(UploadImageField, new UploadFieldModel()); static class UploadFieldModel implements IModelListFileUpload { ListFileUpload f; @Override public ListFileUpload getObject() { return f; } @Override public void setObject(ListFileUpload object) { f=object; } @Override public void detach() { } } That doesn't sound too reasonable, does it ? I do not need or want the value to be put to any model, is there any more sensible way to do this ? (wicket 6.8.0 - will update soon) Cheers, Tom. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: Interesting article from Zeroturnaround
Am 31.07.13 19:24, schrieb Igor Vaynberg: unless youve built and maintained a real non-trivial application using all those frameworks how can you put numbers on them? I used Grails,Wicket,JSF,Spring Webflow and Struts in real non-trivial applications. I was involved in projects using GWT and JSF. I played around and talked with many other developers about Play and Vaadin. And still the only thing i have is an opinion about it:) But to put numbers on it, i can show where i see differences. And not only my numbers are different.. i put them on different places. I hope i can show my experience a little bit more quantified .. Its an opinion, not facts. In i will not put something in order.. such as the winner is.. because i think this is kind of useless. -igor On Wed, Jul 31, 2013 at 5:47 AM, Michael Mosmann mich...@mosmann.de wrote: Am 31.07.13 13:56, schrieb Andrea Del Bene: I don't agree with everything in it, but it's a good article anyway :) ... http://zeroturnaround.com/**rebellabs/the-curious-coders-** java-web-frameworks-**comparison-spring-mvc-grails-** vaadin-gwt-wicket-play-struts-**and-jsf/http://zeroturnaround.com/rebellabs/the-curious-coders-java-web-frameworks-comparison-spring-mvc-grails-vaadin-gwt-wicket-play-struts-and-jsf/ I will take some time and put my own numbers (with some hopefully good explanations) in to the mix. So stay tuned:) --**--**- To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org --**--**- To unsubscribe, e-mail: users-unsubscribe@wicket.**apache.orgusers-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: Jquery tooltip for multiple fields in wicket
Hi Murugan, Please ensure (using firebug or equivalent) that you have in the html header: script src=...JQueryResourceReference/jquery/jquery-1.10.1... script src=... JQueryUIResourceReference/jquery-ui-1.10.3 ... script id=jquery-tooltip-... And then, in the body, that you have the title attribute set on the element you wish to have the tooltip... Best regards, Sebastien. On Thu, Aug 1, 2013 at 8:53 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi, See Sebastien's examples earlier in this mail thread. On Thu, Aug 1, 2013 at 8:49 AM, Murugan murugan4...@gmail.com wrote: Hi Martin, I downloaded the wicket-jquery-ui through maven dependency groupIdcom.googlecode.wicket-jquery-ui/groupId artifactIdwicket-jquery-ui/artifactId version6.8.1/version /dependency also downloaded the required css and added the reference in my html page. Added the below code in my java. this.add(new TooltipBehavior()); But tooltip didnt appear in my page . Have i missed out something.Kindly help me out. Regards, Murugan -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Jquery-tooltip-for-multiple-fields-in-wicket-tp4660449p4660603.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
Disabling of the Textfields and update of the model
Hi everyone, I have a problem with textfield enabling/disabling and with update of the appropriate model. I have a wizzard with 3 steps: - Step one: show some info fields - Step two: let the user edit his info with textfields - Step three: show the user new info. Now I built an ajaxcheckbox in the form with input fileds. With the checkbox I can manage what textfields are enabled or disabled. I made it like described here : http://stackoverflow.com/questions/10282232/disable-input-text-in-wicket But the Problem is, that the model of the disabled fields doesn't update itself anymore. I have then following situation: Step 1 Step 2 Step 3 info a field a new info a info b field b new info b info c field c - deaktvated old info c Is it possible to force the model to update itself? The textfields are in the form and it is a ususal form handling. Regards, Dmitriy
Re: Disabling of the Textfields and update of the model
Hi, On Thu, Aug 1, 2013 at 4:15 PM, Dmitriy Neretin dmitriy.nere...@googlemail.com wrote: Hi everyone, I have a problem with textfield enabling/disabling and with update of the appropriate model. I have a wizzard with 3 steps: - Step one: show some info fields - Step two: let the user edit his info with textfields - Step three: show the user new info. Now I built an ajaxcheckbox in the form with input fileds. With the checkbox I can manage what textfields are enabled or disabled. I made it like described here : http://stackoverflow.com/questions/10282232/disable-input-text-in-wicket But the Problem is, that the model of the disabled fields doesn't update itself anymore. I have then following situation: Step 1 Step 2 Step 3 info a field a new info a info b field b new info b info c field c - deaktvated old info c Is it possible to force the model to update itself? The textfields are in the form and it is a ususal form handling. The browser won't send any data to the server for the disabled elements. Wicket cannot update the model because there is no new value in the parameters. Regards, Dmitriy
Re: How to add line breaks in the summary text of Wizard properties file
That was it! How did I not think of this? :-) Thanks Sven! The only issue, as I found out quickly, is that I have to introduce the MultiLineHeader inner class in many of my classes that extend WizardStep. And since wicket id does not support different namespaces, I will have to use different wicket ids for the MultiLineLabels for each class. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-line-breaks-in-the-summary-text-of-Wizard-properties-file-tp4660589p4660625.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
RE: How to add line breaks in the summary text of Wizard properties file
Thanks Paul! For now, creating a MultiLineHeader class to replace Header class, as Sven suggested, did the trick. But I will keep your point in mind for any future customization of the default Wizard. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-line-breaks-in-the-summary-text-of-Wizard-properties-file-tp4660589p4660626.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
Re: file upload in nested form with CPM needs dummy model
Hello Martin List, Yes, okay, but is it really necessary for me to define an own model class? Would it not be much more straightforward to just instantiate one of the existing models, like new FileUploadField(UploadFileField, new ModelListFileUpload())); or some Model.of() variant ? However, new Model() does not work, as FileUpload is not Serializable... (and sorry for the delayed bump post today, sync issues with the mobile ;-) Any ideas what better to use ? Thanks Cheers, Tom. On Wed, Jul 24, 2013 at 3:55 PM, Tom Eicher r...@teicher.net wrote: Hello, I have an outer form, with a CPM for a business entity. An inner form FormVoid uploadImageForm = new Form(UploadImageForm); has a FileUploadField uploadImageField = new FileUploadField(**UploadImageField); and when I submit the inner form, wicket tries to find getters/setters for UploadImageField in my business entity, which obviously are not there: WicketRuntimeException: No get method defined for class: class XXXBusinessEntity expression: UploadImageField I tried many things to work around this problem, including FormVoid uploadImageForm = new Form(UploadImageForm, null); and uploadImageField = new FileUploadField(**UploadImageField, null); and setModel(null) and some more, however the only way to really get rid of this I found is: FileUploadField uploadImageField = new FileUploadField(**UploadImageField, new UploadFieldModel()); static class UploadFieldModel implements IModelListFileUpload { ListFileUpload f; @Override public ListFileUpload getObject() { return f; } @Override public void setObject(ListFileUpload object) { f=object; } @Override public void detach() { } } That doesn't sound too reasonable, does it ? I do not need or want the value to be put to any model, is there any more sensible way to do this ? (wicket 6.8.0 - will update soon) Actually this is the correct way. Wicket needs to store the data somewhere. Usually 'somewhere' is the form component's model. By using 'null' or by not setting anything the component tries to use its parent's model. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: gmap2, wicket 6.9 and ajax refresh
Thank you for you help Martin. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/gmap2-wicket-6-9-and-ajax-refresh-tp4660564p4660630.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
Re: Table with a lot of ajax links
Hi Ernesto, please can you give me som example codes of yours AbstarctAjaxBehavior and special link components. I am trying to do it, but I am little bit lost. Thanks a lot. Dave -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Table-with-a-lot-of-ajax-links-tp4660303p4660633.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
Re: How to add a div tag with stylesheet to wrap exisiting panel
The div style does work as suggested but it covers the whole panel and hides everything. Any way to fix this, it should work as a background. I tried the z-index but it does not seem to work. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-add-a-div-tag-with-stylesheet-to-wrap-exisiting-panel-tp4660585p4660634.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
Re: session event
thanks !!! -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/session-event-tp4659287p4660635.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
Problem with ajax when I use ModalWindow
hello, In my page there is a defaultDataTable which conteins a button. Each button has a ajax behavour, when user press the button the application show a modal window. Before user press the buttons the ajaxupdate of the table function very well but when after user press button the ajaxupdate of the table dont function. why? bye, lorenzo -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Problem-with-ajax-when-I-use-ModalWindow-tp4660636.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
Getting Lazy Loaded Panel
I have a lazy load panel and was wondering how I could access the panel that is being lazy loaded. So what I want to do is be able to access the FileListDisplayPanel because in the FileListDisplayPanel I have a AjaxFallbackDefaultDataTable with checkboxes and I would like to get the checkboxes that are checked. So in the FileListDisplayPanel I have a List keeping track of the checkboxes checked and created a function to get the checkboxes checked. How can I get at the list when I always create a instance of a FileListDisplayPanel inside the AjaxLazyLoadPanel? I have tried creating a final FileListDisplayPanel outside the AjaxLazyLoadPanel but that did not work. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Getting-Lazy-Loaded-Panel-tp4660637.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
Re: Generating spreadsheet to send to Client fails in 1.6
Thank you but, did you see my original code? It's 1/2 as long as the import section in your link. I would like to simply write to the response, as I have in every other web technology (from Servlets and JSPs to Struts, JSF and .NET), AND Wicket prior to 1.5. Perhaps somebody from the Wicket team can explain why this valid strategy no longer works. Did you really break this Response behavior? From: Martin Grigorov-4 [via Apache Wicket] ml-node+s1842946n4660604...@n4.nabble.com To: BrianWilliams brianwilliams33...@yahoo.com Sent: Thursday, August 1, 2013 12:52 AM Subject: Re: Generating spreadsheet to send to Client fails in 1.6 Hi, See https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/markup/html/link/DownloadLink.java?source=cc#L167 for a simple example. On Thu, Aug 1, 2013 at 5:33 AM, BrianWilliams [hidden email]wrote: If you reply to this email, your message will be added to the discussion below: http://apache-wicket.1842946.n4.nabble.com/Generating-spreadsheet-to-send-to-Client-fails-in-1-6-tp4660579p4660604.html To unsubscribe from Generating spreadsheet to send to Client fails in 1.6, click here. NAML -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Generating-spreadsheet-to-send-to-Client-fails-in-1-6-tp4660579p4660638.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