Re: version of jquery in org.wicketstuff.jquery

2013-05-09 Thread Martin Grigorov
Hi, You have to consult with https://github.com/wicketstuff/core/tree/core-1.4.x/jdk-1.5-parent/jquery-parent 1.4.x is not maintained anymore, i.e. there wicketstuff-jquery-1.4.22 will not be released On Wed, May 8, 2013 at 7:31 PM, fachhoch fachh...@gmail.com wrote: some of my jquery

Re: Handling user-specific timezones

2013-05-09 Thread Martin Grigorov
Hi Dan, I have no much experience with this matter so I cannot help much. The new Joda-Time is http://threeten.github.io/ Question to other devs: do you think it is OK to migrate wicket-datetime module to JDK 1.7 version of ThreeTen for Wicket 7 ? I find this task interesting to me so I'll

Re: How to unit test AttributeModifier

2013-05-09 Thread Dmitriy Neretin
Thanks to all! It works now! Am 08.05.2013 14:39 schrieb Kees van Dieren i...@squins.com: Another option is to use the TagTester: TagTester tester = wicketTester.getTagByWicketId(containerId); tester.getAttribute(name); // returns: anyDynamicValue Best regards / Met vriendelijke groet,

Display JavaScript Pop-up Alert Box In Wicket After Processing

2013-05-09 Thread eugenebalt
I have a Button which performs some processing in Wicket, and at the very end (not before), I need to show a JS popup alert box, with info from the processing. If I override protected IAjaxCallDecorator getAjaxCallDecorator() and add a JS function to display the popup, that will fire immediately.

Re: FW: VITO:(CC0000002070237):Contracts from OPIB ZM from this week are not available in Signature

2013-05-09 Thread Martin Grigorov
Hi Malay, See inline On Thu, May 9, 2013 at 4:20 PM, malay.na...@kpn.com wrote: Hi Martin, Sorry for the delay response. Please find the answer your questions. 1.Which version of Wicket was the last one that worked for you ? *This is the only version we are using (1.5-RC3).* 2.Which

Re: Handling user-specific timezones

2013-05-09 Thread Igor Vaynberg
we should write components that work with multiple types. for example this is what code of a DateLabel might look like: @Override public void onComponentTagBody(MarkupStream markupStream, ComponentTag openTag) { String body = ; Object date = getDefaultModelObject(); if (date != null) { if

Re: FW: VITO:(CC0000002070237):Contracts from OPIB ZM from this week are not available in Signature

2013-05-09 Thread Jeremy Thomerson
Malay, Also, what are the HTTP response headers sent in response to the request to download the PDF? On Thu, May 9, 2013 at 11:05 AM, Martin Grigorov mgrigo...@apache.orgwrote: Hi Malay, See inline On Thu, May 9, 2013 at 4:20 PM, malay.na...@kpn.com wrote: Hi Martin, Sorry for

RE: FW: VITO:(CC0000002070237):Contracts from OPIB ZM from this week are not available in Signature

2013-05-09 Thread malay.nayak
Hi Martin, Sorry for the delay response. Please find the answer your questions. 1.Which version of Wicket was the last one that worked for you ? This is the only version we are using (1.5-RC3). 2.Which version do you use now ? 1.5-RC3 3.What code do you use to render the PDF?

Re: Display JavaScript Pop-up Alert Box In Wicket After Processing

2013-05-09 Thread eugenebalt
Never mind, the solution is easy: target.appendJavascript(alert('...')) at the end of the Ajax code. Thanks -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Display-JavaScript-Pop-up-Alert-Box-In-Wicket-After-Processing-tp4658666p4658674.html Sent from the Users

Re: Handling user-specific timezones

2013-05-09 Thread Bertrand Guay-Paquet
Hi! On 08/05/2013 6:46 PM, Dan Retzlaff wrote: Hi all, I'd like to know what conventions you've established for your sites that deal with users in many time zones. Do you simply replace the converters (Date, SqlDate, SqlTime, SqlTimestamp)? I make sure that all the date objects sent to Wicket

Are there any major changes between Wicket 1.5.x and 6.x when it comes to the unit tests?

2013-05-09 Thread Paul Bors
Or is this just one of the major architectural changes? I simulate the user logging into the web app between test methods and my tests that used to run in 1.5.9 now crash in 6.7.0 with: java.lang.OutOfMemoryError: GC overhead limit exceeded at

Re: Are there any major changes between Wicket 1.5.x and 6.x when it comes to the unit tests?

2013-05-09 Thread Sven Meier
See WICKET-5147 Sven On 05/09/2013 06:47 PM, Paul Bors wrote: Or is this just one of the major architectural changes? I simulate the user logging into the web app between test methods and my tests that used to run in 1.5.9 now crash in 6.7.0 with: java.lang.OutOfMemoryError: GC

RE: Are there any major changes between Wicket 1.5.x and 6.x when it comes to the unit tests?

2013-05-09 Thread Paul Bors
The Jira service is temporary down most likely for maintenance. https://issues.apache.org/jira/browse/WICKET-5147 Is there an alternate fix that I could apply in the mid-time? ~ Thank you, Paul Bors -Original Message- From: Sven Meier [mailto:s...@meiers.net] Sent: Thursday, May 09,

RE: Are there any major changes between Wicket 1.5.x and 6.x when it comes to the unit tests?

2013-05-09 Thread Paul Bors
N/M I see Martin's reply to another related thread: http://wicket-users.markmail.org/search/?q=WICKET-5147#query:WICKET-5147+pag e:1+mid:7azrdtispbwegxaq+state:results Thanks guys! -Original Message- From: Paul Bors [mailto:p...@bors.ws] Sent: Thursday, May 09, 2013 2:18 PM To:

TestCometdPage doesn't work on wicket push example

2013-05-09 Thread Noven
Hi all, Did anyone try run the wicket push example? I find the Cometd pushing does not work, but the Timer polling based pushing works. Any idea?

Re: Handling user-specific timezones

2013-05-09 Thread Dan Retzlaff
Thanks, Bertrand. On Thu, May 9, 2013 at 9:47 AM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Do you avoid MessageFormats in StringResourceModels? (I don't see a way to configure its MessageFormat.) I convert my Dates to strings with the proper converter before passing them on to

Re: Handling user-specific timezones

2013-05-09 Thread Martin Grigorov
On Thu, May 9, 2013 at 5:37 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: we should write components that work with multiple types. But this will mean that we will have to re-write it to javax.time for the version of Wicket that will use JDK 8. Your suggestion doesn't sound attractive to me

Re: Handling user-specific timezones

2013-05-09 Thread Igor Vaynberg
On Thu, May 9, 2013 at 12:32 PM, Martin Grigorov mgrigo...@apache.org wrote: On Thu, May 9, 2013 at 5:37 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: we should write components that work with multiple types. But this will mean that we will have to re-write it to javax.time for the

Re: Handling user-specific timezones

2013-05-09 Thread Bertrand Guay-Paquet
On 09/05/2013 3:30 PM, Dan Retzlaff wrote: Thanks, Bertrand. On Thu, May 9, 2013 at 9:47 AM, Bertrand Guay-Paquet ber...@step.polymtl.ca wrote: Do you avoid MessageFormats in StringResourceModels? (I don't see a way to configure its MessageFormat.) I convert my Dates to strings with the

Re: Handling user-specific timezones

2013-05-09 Thread Martin Grigorov
On Thu, May 9, 2013 at 9:45 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: On Thu, May 9, 2013 at 12:32 PM, Martin Grigorov mgrigo...@apache.org wrote: On Thu, May 9, 2013 at 5:37 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote: we should write components that work with multiple types.

Re: Browser Back Button Question

2013-05-09 Thread dhongyt
Hey Martin, I took a look at my catalina.out file and haven't noticed any errors. I have changed my code from to It look like the back button worked but then I noticed that if I went back twice it also gave me a session closed. And nothing on the catalina.out log. Anyone have this issue?

Re: Handling user-specific timezones

2013-05-09 Thread Igor Vaynberg
On Thu, May 9, 2013 at 1:12 PM, Martin Grigorov mgrigo...@apache.org wrote: On Thu, May 9, 2013 at 9:45 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: On Thu, May 9, 2013 at 12:32 PM, Martin Grigorov mgrigo...@apache.org wrote: On Thu, May 9, 2013 at 5:37 PM, Igor Vaynberg

Textbox in a listView, retrieve the value and set the property model

2013-05-09 Thread Bruno Moura
I implemented a dropbox in a ListView, now when I choose a value the erro bellow always happen: WicketMessage: Method onSelectionChanged of interface org.apache.wicket.markup.html.form.IOnChangeListener targeted at component [MarkupContainer [Component id = customerSelection]] threw an exception

Re: Keep the state or value of a DropDownChoice and TextField both inside a ListView

2013-05-09 Thread Bruno Moura
Thanks Ernesto for your help Bruno Moura 2013/5/5 Ernesto Reinaldo Barreiro reier...@gmail.com From javadoc of ListView * p * strongWARNING:/strong though you can nest ListViews within Forms, you HAVE to set the * setReuseItems property to true in order to have validation work

Re: Wicket - get the value of a textbox using scala

2013-05-09 Thread Bruno Moura
Thanks very much Martin again for your help Bruno Moura 2013/5/6 Martin Grigorov mgrigo...@apache.org Hi, On Mon, May 6, 2013 at 2:48 AM, Bruno Moura brunormo...@gmail.com wrote: I'm trying to retrieve a value of a TextField as is showed bellow: item.add(new

Re: Wicket MarkupContainer error, the component failed to render

2013-05-09 Thread Bruno Moura
thanks very much for your help Sven Bruno Moura 2013/5/5 Sven Meier s...@meiers.net I'm not fluent in Scala but it seems you're adding additional components without reason: private class TextDesc(id: String, workSheet: WorkSheet) extends TextField[String](id) { add(new

Re: Textbox in a listView, retrieve the value and set the property model

2013-05-09 Thread Bruno Moura
Errata: the original message and code is: WicketMessage: Method onSelectionChanged of interface org.apache.wicket.markup.html.form.IOnChangeListener targeted at component [MarkupContainer [Component id = customerSelection]] threw an exception Root cause: java.lang.ClassCastException:

Re: Textbox in a listView, retrieve the value and set the property model

2013-05-09 Thread Maxim Solodovnik
I would try to change your code as follows: new DropDownChoice*[Customer]*(customerSelection, new PropertyModel[Customer](customer, name), listCustomer, new ChoiceRenderer[Customer](name, *id*)) your code seems to not in JAVA On Fri, May 10, 2013 at 9:13 AM, Bruno Moura brunormo...@gmail.com

Retrieve a value of textField and set the property of the Model

2013-05-09 Thread Bruno Moura
I'm trying to implement a ListView and in on column of it I added a listView, for each line, I want to save the data inserted on it and update the model: I'm implemented the code bellow: val description = new TextField(description,new PropertyModel[Meeting](meeting, description))

Re: Textbox in a listView, retrieve the value and set the property model

2013-05-09 Thread Bruno Moura
Thanks Maxin, yes the code is in scala I didn't understand your suggestion I want to display the property name in the DDC no the property or field id, sorry if I did mistake in the code of my previous message. Bruno Moura 2013/5/10 Maxim Solodovnik solomax...@gmail.com I would try to

Re: Textbox in a listView, retrieve the value and set the property model

2013-05-09 Thread Maxim Solodovnik
ChoiceRenderer accepts 2 parameters (one of its constructor) one parameter for the name being displayed, other for id (hidden) I never had problems with dropDown but I always specified both. If this doesn't help you can try to debug and see what is the reason, i.e. what value is being casted ...