Re: Question about property expressions

2008-11-06 Thread Jan Stette
support method calls afaik. -igor On Wed, Nov 5, 2008 at 1:56 AM, Jan Stette [EMAIL PROTECTED] wrote: 2008/11/5 Igor Vaynberg [EMAIL PROTECTED] On Tue, Nov 4, 2008 at 5:54 PM, Jan Stette [EMAIL PROTECTED] wrote: Sure. To explain a bit more why I'm asking: I have a table component

Re: Question about property expressions

2008-11-05 Thread Jan Stette
2008/11/5 Igor Vaynberg [EMAIL PROTECTED] On Tue, Nov 4, 2008 at 5:54 PM, Jan Stette [EMAIL PROTECTED] wrote: Sure. To explain a bit more why I'm asking: I have a table component that's configured using property expressions as to what's shown in each column. The types of objects

Question about property expressions

2008-11-04 Thread Jan Stette
Hi all, if I have a class like this: class SomeClass { String getValue(String key); } ...is there a way I can use a property expression to get values out of this class? E.g. using an expression like value[myKey]. In other words, something very similar to if the class looked like this:

Re: Question about property expressions

2008-11-04 Thread Jan Stette
that calls the method directly. -igor On Tue, Nov 4, 2008 at 12:52 PM, Jan Stette [EMAIL PROTECTED] wrote: Hi all, if I have a class like this: class SomeClass { String getValue(String key); } ...is there a way I can use a property expression to get values out

Re: WicketTester feature request

2008-09-12 Thread Jan Stette
2008/9/12 Timo Rantalaiho [EMAIL PROTECTED] On Thu, 11 Sep 2008, Jan Stette wrote: Absolutely, I see what you're saying. Part of the problem here may be that on the project I'm working on, WicketTester is indeed used to do integration/functional tests. I'm not sure why this was done

Automated testing of Wicket applications

2008-09-12 Thread Jan Stette
This is a bit of a general question: I'd be interested in hearing about how people do automated tests of their Wicket applications. I'm thinking about system tests of the full application, not unit tests. There are of course tools like Selenium which let you automate actions on a web

Re: Automated testing of Wicket applications

2008-09-12 Thread Jan Stette
on the machine you run the tests, and other factors. This is specially problematic in ajax calls. That means that sometimes we get errors, then we run the same test again and it works. Hope this helps, German 2008/9/12 Jan Stette [EMAIL PROTECTED] This is a bit of a general question: I'd

Re: Automated testing of Wicket applications

2008-09-12 Thread Jan Stette
factors. This is specially problematic in ajax calls. That means that sometimes we get errors, then we run the same test again and it works. Hope this helps, German 2008/9/12 Jan Stette [EMAIL PROTECTED] This is a bit of a general question: I'd be interested in hearing about

Re: Automated testing of Wicket applications

2008-09-12 Thread Jan Stette
That sounds very promising, thanks! Jan 2008/9/12 Pointbreak [EMAIL PROTECTED][EMAIL PROTECTED] Also, have you successfully tested Ajax applications using Selenium-RC and Junit? I have, and Selenium works really well for testing wicket ajax applications. Only thing I had to do was to

Re: Automated testing of Wicket applications

2008-09-12 Thread Jan Stette
wicket:path=some:path:to:this:div -igor On Fri, Sep 12, 2008 at 12:18 PM, German Morales [EMAIL PROTECTED] wrote: 2008/9/12 Jan Stette [EMAIL PROTECTED] Hi German, thanks for an interesting reply. Ruby probably wouldn't be appropriate in our environment, but it's still interesting

Re: WicketTester feature request

2008-09-11 Thread Jan Stette
2008/9/11 Timo Rantalaiho [EMAIL PROTECTED] Hi Timo, thanks for your reply. See below for comments. On Wed, 10 Sep 2008, Jan Stette wrote: I've had a few problems with WicketTester recently and would like to submit a request for when it gets overhauled for version 1.5 (is that still

WicketTester feature request

2008-09-10 Thread Jan Stette
Hi all, I've had a few problems with WicketTester recently and would like to submit a request for when it gets overhauled for version 1.5 (is that still the plan by the way?): It would be really useful to have a clean way to hook in code to execute pre- and post-request for operations that take

Re: Problem with multiple browser windows and locked page maps

2008-09-08 Thread Jan Stette
in the constructor and let a new page be created. It are all landing pages anyway so thats bookmarkable. But to make this thread even simpeler. Just dont have long running stuff in the request thread On 9/5/08, Jan Stette [EMAIL PROTECTED] wrote: Hi Johan, I've seen the code

Re: Problem with multiple browser windows and locked page maps

2008-09-05 Thread Jan Stette
those things (clone the page and set another pagemap) What you could do is int the page const check pagemap, if default then create the same page as you are on but then with a different pagemap and throw a restartresponse exception. Johan On 9/1/08, Jan Stette [EMAIL PROTECTED] wrote: Johan

Re: Problem with multiple browser windows and locked page maps

2008-09-01 Thread Jan Stette
should check if you really want long running processes like that! Jihan On 8/29/08, Jan Stette [EMAIL PROTECTED] wrote: Thanks for your answers, Matej and Johan. Matej: we are running with multi-window support on, and store per-window related navigation in the session keyed on page map

Re: Problem with multiple browser windows and locked page maps

2008-08-29 Thread Jan Stette
. -Matej On Fri, Aug 29, 2008 at 2:28 AM, Jan Stette [EMAIL PROTECTED] wrote: I agree, that's a better long-term fix. Even so, isn't it wrong that the request from a new window is locked waiting on the other window's page map - I would have thought the new window should have ended

Problem with multiple browser windows and locked page maps

2008-08-28 Thread Jan Stette
I'm having a problem with the following scenario: 1. A user logs into our Wicket application and starts using it. 2. The user clicks on a link which kicks off a potentially long-running operation. 3. While getting bored with waiting for this to complete, the user copies the URL from her

Re: Problem with multiple browser windows and locked page maps

2008-08-28 Thread Jan Stette
, the long running process should be executed in separate thread. You can make wicket periodically poll for result (via ajax). It is generally not a good idea to run action that potentially can take long time to complete from a request thread. -Matej On Thu, Aug 28, 2008 at 8:42 PM, Jan Stette

Re: Strange stack trace in logs

2008-07-09 Thread Jan Stette
So, are there anyone with inside knowledge of Wicket who could shed some light on these exceptions? Thanks, Jan 2008/7/4 Jan Stette [EMAIL PROTECTED]: I can actually reproduce this problem now, with our application. I don't know if this is the only way to make it happen, but it occurs when

Re: Strange stack trace in logs

2008-07-04 Thread Jan Stette
I've also had reports of a similar problem. The logs I have show references to css files, and I'm sure that the user didn't modify any URLs: ERROR 11:52:37,426 [btpool1-5] wicket.RequestCycle URL fragment has unmatched key/value pair:

Re: Strange stack trace in logs

2008-07-04 Thread Jan Stette
with this strange problem On our side, we're using wicket 1.3.1 with the same behavior. Jan Stette a écrit : I've also had reports of a similar problem. The logs I have show references to css files, and I'm sure that the user didn't modify any URLs: ERROR 11:52:37,426 [btpool1-5] wicket.RequestCycle

Re: OSGi and class loading issues solution proposal

2008-07-04 Thread Jan Stette
Hi, I'm working on a project that uses Wicket and OSGi and have come across some of the same classloading issues. We don't use Spring, so I can't comment on that side of things. Some brief comments follow below: 2008/7/3 Daniel Stoch [EMAIL PROTECTED]: Proposal 1 (change actual method

Re: DataTable-like component for open-ended data sets

2008-06-27 Thread Jan Stette
OK, I'll try that. Thanks! Jan 2008/6/24 Igor Vaynberg [EMAIL PROTECTED]: simply return Integer.MAX_SIZE from dataprovider.size(), and subclass the dataprovider and hide the gotoend link. -igor On Tue, Jun 24, 2008 at 2:29 AM, Jan Stette [EMAIL PROTECTED] wrote: The application I'm

DataTable-like component for open-ended data sets

2008-06-24 Thread Jan Stette
The application I'm working on needs several instances of a DataTable/GridView-like component where the size of the underlying dataset is is not known. It's basically very expensive to retrieve the whole data set to find out how many items are in it, so I'd like to just iterate through the data

Re: gmap2 and map creation

2007-11-08 Thread Jan Stette
On 07/11/2007, Martin Funk [EMAIL PROTECTED] wrote: sorry I was just to tired yesterday look into that any deeper. No problem, of course! :-) I just committed a patch. Could you check if it suits your needs? The patch adds checks for isAttached() in some operations, but not all. So I

Re: gmap2 and map creation

2007-11-07 Thread Jan Stette
I'm pretty sure I'm using the latest version: $ svn info Path: . URL: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicket-contrib-gmap2 Repository Root: https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff Repository UUID: ef7698a4-5110-0410-9fc6-c7eb3693863f

Re: gmap2 and permissions

2007-11-07 Thread Jan Stette
Jan, not sure if Sven or I can come up with something tonight, but it won't be forgotten. http://wicketstuff.org/jira/browse/WSGMAPP-3 Martin Jan Stette schrieb: Some more information after looking further into this - it looks like I'm seeing the same problem

gmap2 and map creation

2007-11-06 Thread Jan Stette
I have another question related to wicket-contrib-gmap2: I'm trying to create a new GMap2 component in response to an AJAX request. My code looks much like the code in the constructor of class wicket.contrib.examples.gmap.controls.HomePage(), in the gmap2 examples, which says: final

gmap2 and permissions

2007-11-05 Thread Jan Stette
I've just started playing with wicket-contrib-gmap2 but I'm having a bit of a problem: When I try to create a simple map inside my Wicket application, I get an exception in Firefox saying: uncaught exception: Permission denied to call method XMLHttpRequest.open I've had a look at issues

Re: gmap2 and permissions

2007-11-05 Thread Jan Stette
work OK here though. Is this a bug in the gmap2 component that could be addressed? Regards, Jan On 05/11/2007, Jan Stette [EMAIL PROTECTED] wrote: I've just started playing with wicket-contrib-gmap2 but I'm having a bit of a problem: When I try to create a simple map inside my Wicket

Re: gmap2 and permissions

2007-11-05 Thread Jan Stette
Great, thanks! Jan On 05/11/2007, Martin Funk [EMAIL PROTECTED] wrote: Hi Jan, not sure if Sven or I can come up with something tonight, but it won't be forgotten. http://wicketstuff.org/jira/browse/WSGMAPP-3 Martin Jan Stette schrieb: Some more information after looking further

Page serialization checks

2007-09-05 Thread Jan Stette
I'm looking for a way to make sure that our Wicket pages are serialized and de-serialized while in development mode, to catch any mistakes as early as possible. The Pro Wicket book mentions a log setting in HttpSessionStore but I don't think this is relevant anymore for Wicket 1.3 (we're on 1.3