Asking for download files with non-ascii names.

2011-12-16 Thread Alexander Cherednichenko
Hello! Faced an interesting problem, however few hours of googling and trial did not lead to success. wicket is 1.4 The problem: I have an AjaxDownload ( https://cwiki.apache.org/WICKET/ajax-update-and-file-download-in-one-blow.html) or DownloadLink (

Re: Regarding Stack Overflow exception

2011-12-16 Thread Martin Grigorov
Hi, Use any pastebin service to show us the stacktrace. On Fri, Dec 16, 2011 at 11:52 AM, smsmaddy smsd...@gmail.com wrote: The application which I am working is implemented using */Wicket 1.4.17/* framework deployed in Jetty Server. I often get */Stack Overflow/* exceptions which requires

Re: Asking for download files with non-ascii names.

2011-12-16 Thread Martin Grigorov
Hi, In my app we use Wicket's Resource to upload/download files. We do it to avoid synchronization on page access but I think you can solve your problem with this. Unfortunately I imagine the full solution with Wicket 1.5's #mountResource(). See

Re: Auto refresh a WebPage

2011-12-16 Thread Andrea Del Bene
Hi, excuse me but what do you mean with cursor and class Second? but the cursor is not coming to the class Second time after 1 min.. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: Auto refresh a WebPage

2011-12-16 Thread raju.ch
I mean while debugging I'm not at all getting the request to the class again -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Auto-refresh-a-WebPage-tp4203984p4204205.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Auto refresh a WebPage

2011-12-16 Thread Andrea Del Bene
You don't see anything appening inside Wicket Ajax Debug window? No request is performed after one minute? I mean while debugging I'm not at all getting the request to the class again -- View this message in context:

Re: Only the first TextField in a repetition gets correct OnChangeAjaxBehavior with 1.5.1

2011-12-16 Thread Anders Peterson
Hello again, I still have this problem... (been working on other things) I've tracked the problem back to the request parameters simply not containing the expected values. This input name seems correct since I changed the market weight attribute of the second instrument:

Re: Internationalization on panels

2011-12-16 Thread cosmindumy
Hello again. I have one problem with internationalization. I want to internationalize the values from a drop down. But the values are not refreshed when I change the locale. Here is the code subjectsMatterList.add(new SelectOption(domainVO.getId().toString(),

Re: Internationalization on panels

2011-12-16 Thread Sven Meier
Hi, you should delay getting the string until it's needed for rendering. Let your drop-down iterate over your domainVOs and use a custom ChoiceRenderer to render the id and the i18ned value, no need for a custom SelectOption. Sven Am 16.12.2011 14:46, schrieb cosmindumy: Hello again. I

Re: Internationalization on panels

2011-12-16 Thread cosmindumy
It worked. But the problem is that the drop down list is sorted. When I change the locale it keeps the original sorting. The sorting is made depending on locale but it doesn't change the order when I change the locale. Only if I eneter again on this page it is sorted properly. Any idea? I hope is

Re: Internationalization on panels

2011-12-16 Thread Martin Grigorov
Use a model for the list of choices, instead of a plain List On Fri, Dec 16, 2011 at 5:12 PM, cosmindumy cosmind...@yahoo.com wrote: It worked. But the problem is that the drop down list is sorted. When I change the locale it keeps the original sorting. The sorting is made depending on locale

Re: Internationalization on panels

2011-12-16 Thread cosmindumy
Can you give me a short example? I don't understand what you mean. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Internationalization-on-panels-tp2299768p4205110.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Internationalization on panels

2011-12-16 Thread Martin Grigorov
See DropDownChoice's constructors. Use the one that accepts a IModelList instead of List. In #getObject() make the proper sorting. On Fri, Dec 16, 2011 at 5:42 PM, cosmindumy cosmind...@yahoo.com wrote: Can you give me a short example? I don't understand what you mean. -- View this message in

Re: Regarding Stack Overflow exception

2011-12-16 Thread Igor Vaynberg
pretty sure this was a bug in wicket's serialization checker that was fixed in later versions. so either upgrade or turn off the serialization checker. -igor On Fri, Dec 16, 2011 at 3:35 AM, smsmaddy smsd...@gmail.com wrote: Please find the stack trace as shown below: 2011-12-16 16:44:42,308

Re: Asking for download files with non-ascii names.

2011-12-16 Thread Alexander Cherednichenko
Hi guys, I am _really_ sorry for breaking a thread and re-posting it in a separate, but for some reason my personal mailbox was not hit with the answer, I only was able to find it in archives. Subscribed now. Unfortunately, the solution proposed would not work for me. The one in

Solved: Only the first TextField in a repetition gets correct OnChangeAjaxBehavior with 1.5.1

2011-12-16 Thread Anders Peterson
The problem was in the html file. I used to have this: input name=marketWeight type=text id=marketWeight size=6 maxlength=6 wicket:id=marketWeight / Needed to change that to: input type=text size=6 maxlength=6 wicket:id=marketWeight / marketWeight is the component with the ajax behaviour,

Re: Solved: Only the first TextField in a repetition gets correct OnChangeAjaxBehavior with 1.5.1

2011-12-16 Thread Dan Retzlaff
Yes, that broke our app during migration as well. I've added a migration wiki entry. https://cwiki.apache.org/confluence/display/WICKET/Migration+to+Wicket+1.5#MigrationtoWicket1.5-Component.getMarkupId%28%29implementationchanged On Fri, Dec 16, 2011 at 1:51 PM, Anders Peterson