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 wrote: > The prob

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: wicket:id="marketWeight" /> Needed to change that to: "marketWeight" is the component with the ajax behaviour, and it was in a ListView so I had several of them. I guess something related to replacing the name/id of a component cha

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 http://wicketinac

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 wrote: > Please find the stack trace as shown below: > > 2011-12-16 16:44:42,308 ERROR [19329328

Re: Internationalization on panels

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

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
Use a model for the list of choices, instead of a plain List On Fri, Dec 16, 2011 at 5:12 PM, cosmindumy 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 but it doesn't cha

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 c

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 ha

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(), getString(Util.getDomainVOKey(domai

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: instruments:1:mark

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: http://apache-wicket.1842946.n4.nabble.com/Auto-refresh-a-WebPage-tp4203984p

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
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, e

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 http://wicketinaction.com/2011/07/wicket-1-5-mounti

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 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 Server restart

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 ( http://wicket.apache.org/apidocs/1.4/org/apac