Re: Wicket localization in stateful pages

2013-11-17 Thread meduolis
Thanks for help, I used this example to make localization work as I wanted: http://www.wicket-library.com/wicket-examples-6.0.x/pub/?0 It does not reload page after setting new locale, so no new page version is created and when you navigate back, using browser, locale stays the same. Also I had

Re: DownloadLink and ProgressBar

2013-11-17 Thread Ernesto Reinaldo Barreiro
Do you want me to build a little example for this? On Sat, Nov 16, 2013 at 7:59 PM, seyaw seidy...@gmail.com wrote: Thank you Ernesto for your prompt response. 1. is okay. Then for 2. I suppose I start the thread from the onclick method of the ajax link. Can you explain a bit how to start

Re: DownloadLink and ProgressBar

2013-11-17 Thread seyaw
Dear Ernesto Thank you very much for your help. Your comments were very helpful. I solve the problem as you suggested with little modification 1. follow the reference you mention [1] 2. add AjaxLink that will generate a file add(new AjaxLink(download) { @Override

Re: DownloadLink and ProgressBar

2013-11-17 Thread Ernesto Reinaldo Barreiro
Create a class that implements Runnable. Find how to launch a runnable (e.g. using a thread pool). Keep a reference to this runnable and use some property of it to track progress. Use an AJAX timer to pol for this value. On Sun, Nov 17, 2013 at 10:14 AM, seyaw seidy...@gmail.com wrote: Dear

Enfocing INPUT field names to respect hCard formats

2013-11-17 Thread Arjun Dhar
http://microformats.org/wiki/hcard-input-examples#person_billing_shipping_input To ensure browsers can Auto fill Input form fields for E-Commerce forms and common fields. I want to ensure the fieldNames match this convention. I tried a test class something like ..but it does not respect the

Setting Session timezone without using getClientInfo()

2013-11-17 Thread jchappelle
I have been googling and searching this forum and haven't found an answer to my question so I'm hoping someone can help me. I have dates stored in a database that are stored as UTC. The application that stores the data has the -Duser.timezone=UTC property set. My users have a timezone that is set

Re: Enfocing INPUT field names to respect hCard formats

2013-11-17 Thread Igor Vaynberg
override getInputName() and return the string you want. -igor On Sun, Nov 17, 2013 at 5:21 AM, Arjun Dhar dhar...@yahoo.com wrote: http://microformats.org/wiki/hcard-input-examples#person_billing_shipping_input To ensure browsers can Auto fill Input form fields for E-Commerce forms and

Wicket JQuery UI Datepicker

2013-11-17 Thread Dirk Wichmann
Hi all, at the Moment I have trouble to configure the DatePicker from JQuery UI. I have included com.googlecode.wicket-jquery-ui Version 6.12.0 The DatePicker is shown in the UI but Date is allways displayed as 11/08/2013 and I get the error date cannot converted What is the trick to get it

Advice for upgrading from an old version of Wicket

2013-11-17 Thread Scott Carpenter
Hi -- I've inherited a wicket site that was first developed four years ago. It is running on version 1.4 and I've been asked to estimate an upgrade to a more current version, and I was hoping to get some advice from this list about gotchas and so on. I've been working on the site for several

Re: wicket library example, but with tabs

2013-11-17 Thread eostermueller
replying to self here. Finally got this worked out here: https://github.com/eostermueller/wicket-librarywithtabs This code is a copy of the wicket library example, but it displays the book detail in 3 different tabs on a single page. Would you all consider including it in the distribution of

Re: Wicket JQuery UI Datepicker

2013-11-17 Thread Sebastien
Hi Dirk, Thank to remind me that I definitely should add a sample for DatePicker's pattern... The Java date pattern differs from the jQuery UI one, so you have to make sure both are matching: For instance: new DatePicker(date, dd.MM., new Options(dateFormat, Options.asString(dd.mm.)));

Re: Enfocing INPUT field names to respect hCard formats

2013-11-17 Thread Arjun Dhar
Sir i get that, but what I'd like is that I supply the field name as an attribute in the Comonent itself in the HTML and that is fed to getInputName() to return. This way I can supply the names in HTML itself. If you see ..am trying to derive the tag attribute name from the html and then

Re: Image Tag Wicket Processing

2013-11-17 Thread arronlee
Hi, Thanks for your sharing. But I wonder whether there are some differences between the image processor http://www.yiigo.com/guides/csharp/how-to-process-image.shtml I am testing about and the one you mentioned above? Best regards, Arron - Best Regards, Arron | Image Processing

Re: problem dynamic image - explorer

2013-11-17 Thread arronlee
So I wonder which format is the one you prefer? PNG? BMP? I think you can totally take it easy because there are so many conversion tools online for users to choose from. I hope you success. Good luck. Best regards, Arron - Best Regards, Arron | Image Processing SDK | Next Tomorrow

Re: Enfocing INPUT field names to respect hCard formats

2013-11-17 Thread Martin Grigorov
Hi, I guess #getInputName() is called before #onComponentTag() where you set the variable. Try by using org.apache.wicket.Component#getMarkupAttributes in #getInputName(). On Mon, Nov 18, 2013 at 7:45 AM, Arjun Dhar dhar...@yahoo.com wrote: Sir i get that, but what I'd like is that I supply