Re: Submitting a DateTextField value in a different timezone that the browser

2013-08-06 Thread seba.wag...@gmail.com
Thanks François 2013/8/3 Francois Meillet francois.meil...@gmail.com Overriding the getClientTimeZone() method in the dateconverter sounds good. if the boolean applyTimeZoneDifference of the dateConverter is set to true. add(new DateTextField(xxx, new DateConverter(true) {

Documentation for RequestLogger

2013-08-06 Thread Jens Jahnke
Hi, I'd like to know if there is an official documentation for RequestLogger anywhere? I found several small bits on the net, but nothing that gives me a clue how to actually do some logging. I know that I have to initialise it somehow like this: IRequestLoggerSettings requestLogger =

[Announce] wicket-jade

2013-08-06 Thread Decebal Suiu
Hi I implemented a tiny wicket-jade [1] integration solution. It's the first version and it's a quick and dirty implementation (Proof of concept). Jade [2] is a cool, high-performance (and probably the most used template engine for Node.js) template engine. I like the HAML-like syntax of

Re: [Announce] wicket-jade

2013-08-06 Thread Martin Grigorov
Hi Decebal, I see you did something similar to what Wicket Velocityhttps://github.com/apache/wicket/tree/master/wicket-velocity and Wicket Mustache https://github.com/l0rdn1kk0n/wicket-mustache do. I think it would be much cooler if the Jade template/panel supports children components, i.e. have

Re: [Announce] wicket-jade

2013-08-06 Thread Decebal Suiu
Hi Martin I will try to implement your idea. I know about wicket-freemarker, wicket-velocity. I didn't know about wicket-mustache. By the way I think that your wicket-ractive project is interested (I like it because it's ajax aware without a custom AjaxRequestTarget). I think that jade/haml

Re: How to resolve this java.util.ConcurrentModificationException

2013-08-06 Thread saty
I need to understand what and when Wicket tries to serialize stuff in a running wicket application. I am not able to fix this error and it keeps growing with more users starting to use the application. It does not affect the application usage but it keeps beaming error email. I am using LRU map

RE: Wicket Charts

2013-08-06 Thread Paul Bors
Also see wicked-charts and perhaps Decebal's dashboards: https://code.google.com/p/wicket-continuous-calendar/#Sugested_projects_of_i nterest ~ Thank you, Paul Bors -Original Message- From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com] Sent: Monday, August 05, 2013 5:38

Re: How to resolve this java.util.ConcurrentModificationException

2013-08-06 Thread Michael Mosmann
IMHO nothing in Application is serialized. But its far to easy to leak an instance of this LRU-Map into some components (anon classes). Can you provide some code or error message? Am 06.08.13 18:22, schrieb saty: I need to understand what and when Wicket tries to serialize stuff in a running

Re: How to resolve this java.util.ConcurrentModificationException

2013-08-06 Thread Dan Retzlaff
I'd use a debugger to look for live references to the map. In Eclipse, if you right-click the variable line in the Variables view, there is an All References option. The trick is instantiating the offending Wicket component to create the reference. But once created it should stick around at least

Re: How to resolve this java.util.ConcurrentModificationException

2013-08-06 Thread saty
Ok.. To explain the scenario, i have a singleton data-maanger java class that user a underlying LRUMAP to store most recently viewed data. various wicket panels use this data-manager to request data that they need to display/update etc. Access to data is well protected using various

Re: How to resolve this java.util.ConcurrentModificationException

2013-08-06 Thread Dan Retzlaff
There isn't much information in that stack. Why don't you subclass LRUMap with a custom writeObject() implementation? Then you can breakpoint it, log from it, and maybe throw NotSerializableException to trigger Wicket SerializableChecker which gives nicer output. That way it triggers every time

Re: How to resolve this java.util.ConcurrentModificationException

2013-08-06 Thread Martin Grigorov
Hi, Wicket 6.x has org.apache.wicket.core.util.objects.checker.IObjectChecker. You may create your own one that doesn't allow serialization of LRUMap. When such object is passed to ObjectOutputStream it will throw an exception with nice message explaining the reference to this LRUMap. This way

Re: How to resolve this java.util.ConcurrentModificationException

2013-08-06 Thread saty
Ok, thank you all. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-resolve-this-java-util-ConcurrentModificationException-tp4660273p4660734.html Sent from the Users forum mailing list archive at Nabble.com.

RE: Documentation for RequestLogger

2013-08-06 Thread Paul Bors
Isn't Log4J shipped with the quick-start? Create yourself a quick-start and analyze it: http://wicket.apache.org/start/quickstart.html PS: You can also check the initialization related topics as well as your first stop for Wicket's doc via the Wicket Free Guide at:

RE: replace content of div with generated html

2013-08-06 Thread Paul Bors
Grab a wicket handler to the parent and then call ParentComponent.repaceWith(ChildComponent) method: http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/Compone nt.html#replaceWith(org.apache.wicket.Component) ~ Thank you, Paul Bors -Original Message- From: Boris

Component for Applet

2013-08-06 Thread Martin Beránek
Hi, I'am trying to write component similar to http://mrhaki.blogspot.cz/2009/05/wicket-component-for-java-deployment.html but I need to use JNLP for applet deployment. I write my own Resource that generate JNLP file (it's xml, so I use JAXB and marschalling) and I am also able generate script tag

Re: Table with a lot of ajax links

2013-08-06 Thread Rodrigo Heffner
Thank you very much, Ernesto. I have a similar scenario, a panel with about 300 AjaxFallbackLinks and each with some custom logic on the onClick, but your solution looks much better. On 5 August 2013 17:31, Ernesto Reinaldo Barreiro reier...@gmail.comwrote: Dave, Mind that is just

Re: [Announce] wicket-jade

2013-08-06 Thread Decebal Suiu
Hi Martin I created a branch https://github.com/decebals/wicket-jade/tree/children-components for your idea. I increased the complexity of demo application a little bit. Now, the HomePage contains a BooksPanel that contains an AuthorPanel. Both panels extend JadePanel. BooksPanel.jade contains a

Re: Table with a lot of ajax links

2013-08-06 Thread Ernesto Reinaldo Barreiro
Hi, Thanks for the feedback. In fact, solution can be improved in many aspects. For instance, I thought about making the logic pluggable so that you can support more that just links... Maybe having a handler interface that can be registered on context component and is responsible for 1- The

Re: Table with a lot of ajax links

2013-08-06 Thread Ernesto Reinaldo Barreiro
I can also try to pack the project as a jar file (so, that is is reusable) and move it to wicket-stuff or some other place that gets regularly published. On Wed, Aug 7, 2013 at 8:45 AM, Ernesto Reinaldo Barreiro reier...@gmail.com wrote: Hi, Thanks for the feedback. In fact, solution can