Re: [Wicket-user] wicket-bench for 1.3-SNAPSHOT

2007-05-01 Thread Joni Freeman
On Mon, 2007-04-30 at 21:13 -0500, Ryan Sonnek wrote: > is there anyone from the wicket-bench team out there that can provide > info on a new version for the upcoming 1.3 release? now that the > package names have changed, my wicket bench tests are totally hosed > up... Ryan, We will do new vers

[Wicket-user] Disabling FormComponents

2006-07-03 Thread Joni Freeman
I have a curious requirement for a form. When a user submits a form, some of the FormComponents should not be processed at all (for example, validation should not be done). Each FormComponent has an accompanying checkbox control which determines whether the actual control is activated or not. [ ]

Re: [Wicket-user] Disabling FormComponents

2006-07-03 Thread Joni Freeman
orm level validation, creating composite validators, and > add both the checkbox and the field, and the validators for the field > to your composite validator. > > See EqualInputValidator for an example implementation. > > Martijn > > On 7/3/06, Joni Freeman <[EMAIL P

Re: [Wicket-user] Disabling FormComponents

2006-07-04 Thread Joni Freeman
; if(checkbox.isChecked) { > > for(StringValidator sv : validators) { > > sv.onValidate(formComponent, formComponent.getInput()); > > } > > } > > } > > } > > > > Martijn > > > > On 7/3/06, Joni Freeman <[EMAIL PROTECTED]> wrote: > &g

Re: [Wicket-user] Disabling FormComponents

2006-07-04 Thread Joni Freeman
. > vs) { > > > this.checkbox = cb; > > > this.formComponent = fc; > > > this.validators = Arrays.asList(vs); > > > } > > > public boolean validate(Form form) { >

[Wicket-user] wicket bench 0.3.0

2006-07-24 Thread Joni Freeman
New version of eclipse plugin is available at http://www.laughingpanda.org/mediawiki/index.php/Wicket_Bench There's no new features (compared to 0.2.9) just fixes and enhancements. I also wrote a short tutorial on how to use launching features: http://www.laughingpanda.org/mediawiki/index.php/Laun

Re: [Wicket-user] automatic testing

2006-08-02 Thread Joni Freeman
On Wed, 2006-08-02 at 10:30 +0300, Ittay Dror wrote: > Hi, > > What frameworks are suitable for automatic testing of wicket applications? > I'm interested in functional, regression and performance tests. We use wickettester (or something similar) for unit testing the models and listener methods.

Re: [Wicket-user] VOTE: how should localized attributes work?

2006-08-03 Thread Joni Freeman
2 previewability is one of wicket's strong features Joni On Thu, 2006-08-03 at 11:10 -0700, Eelco Hillenius wrote: > For localized attributes - so that you don't have to attach attribute > modifiers all over the place for that sole reason - we have two > alternative approaches in mind. For end-u

Re: [Wicket-user] VOTE: how should localized attributes work?

2006-08-04 Thread Joni Freeman
On Fri, 2006-08-04 at 08:50 +0200, Korbinian Bachl wrote: > thus im quite new, > > 2[x] > > be ** up (hopefully...) by your next designer who changed the text so it > looks better... This a good point, with option 1 it is likely that designers touch the value-attribute. In option 2, it doe

[Wicket-user] Form + pull model ListView + FormValidators

2006-08-08 Thread Joni Freeman
Consider following form which uses ListView with pull model. public MyForm extends Form { public MyForm(String id, IModel model) { super(id, model); add(new ListView("items") { public IModel getModel() { return new Model(dao.findAll()); }

Re: [Wicket-user] Form + pull model ListView + FormValidators

2006-08-08 Thread Joni Freeman
On Tue, 2006-08-08 at 08:36 -0700, Igor Vaynberg wrote: > this only solves it partially though - added formvalidators are still > going to be a problem for removed items - not sure about the best > approach right now - we might have to open more api or make validation > smarter - lets discuss this

Re: [Wicket-user] Form + pull model ListView + FormValidators

2006-08-10 Thread Joni Freeman
not valid anymore... > but that is a problem because there is no remove(validator) method i > think... Manually removing the IFromValidators is not a good option (even if the api would be opened). Why should we manually remove them while the "old" components are automatically

Re: [Wicket-user] Form + pull model ListView + FormValidators

2006-08-11 Thread Joni Freeman
ok, i think I got i now. If using pull models with a "dynamic" ListView within a form, we have to override getListItemModel() and return a slightly more sophisticated model. This makes sense. But could it be possible to consolidate these a bit then. What if ListView would have a new constructor new

Re: [Wicket-user] Form + pull model ListView + FormValidators

2006-08-11 Thread Joni Freeman
This would be very good too. Joni On Thu, 2006-08-10 at 23:39 +0200, Johan Compagner wrote: > it does work really differnet then wat we do now. > And with a panel it looks maybe nice. But it is a but more blown up > code. > Personally i like this then better: > > IFormValidator > { > validate(

Re: [Wicket-user] Form + pull model ListView + FormValidators

2006-08-11 Thread Joni Freeman
And probably more elegant that providing automatic cleaning of old IFormValidators. Joni On Fri, 2006-08-11 at 15:13 +0300, Joni Freeman wrote: > This would be very good too. > > Joni > > On Thu, 2006-08-10 at 23:39 +0200, Johan Compagner wrote: > > it does work really dif

Re: [Wicket-user] Howard is bluffing here ...

2006-08-28 Thread Joni Freeman
Yes! I've cast all my votes for it. There's very good chance that hotswap will be enhanced for Java 7 http://forum.java.sun.com/thread.jspa?threadID=572396&start=30&tstart=120 Joni On Mon, 2006-08-28 at 10:08 -0700, Eelco Hillenius wrote: > Yeah. We're dependent on the Java environment itself to

Re: [Wicket-user] Eclipse plugins - Hibernate tools / Wicket Bench conflict

2006-08-28 Thread Joni Freeman
On Sun, 2006-08-27 at 16:00 +0200, Jan Mikkelsen wrote: > Has anyone experienced problems with the Hibernate tools plugin after > installing Wicket Bench? In my case, the Hibernate tools plugin seems to > have "disappeared". And I have tried -clean. > > Any ideas? Hmm, i don't use hibernate plugi

[Wicket-user] extension demos broken

2006-08-31 Thread Joni Freeman
Just noticed that all extension demos are broken. http://wicket.sourceforge.net/ -> Wicket extensions -> demo* Joni - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-

[Wicket-user] wicket bench 0.4

2006-09-19 Thread Joni Freeman
In addition to a few bug fixes this version contains following improvements and new features. - Improved preview Preview pane is now wicket:preview attribute aware. There's no limit how deep the previewed hierarchies can be. Preview pane can also inline non-packaged CSS and relocate images. A com

Re: [Wicket-user] wicket bench 0.4

2006-09-21 Thread Joni Freeman
On Thu, 2006-09-21 at 04:48 -0700, ChuckDeal wrote: > > James McLaughlin-3 wrote: > > > > hmm.. If you put a trailing slash on the URL it doesn't work. Make sure > > your > > url is as below: > > > > Well, I had already tried it both ways, but I gave it a try again anyways... > Still no luck.

Re: [Wicket-user] wicket bench 0.4

2006-09-21 Thread Joni Freeman
On Thu, 2006-09-21 at 05:33 -0700, ChuckDeal wrote: > I just went to a co-workers box who has NEVER visited the site and still the > same result. I suppose it is possible that somewhere in-between my box and > your server that someone is caching it, but is that the most likely cause > for my probl

Re: [Wicket-user] wicket bench 0.4

2006-09-21 Thread Joni Freeman
On Thu, 2006-09-21 at 05:45 -0700, ChuckDeal wrote: > Ok. So unless anyone has a better idea, I'll just keep trying over the next > few days. If this problem doesn't clear up on its own, would you be willing > to put up an archived update site (or something)? Yes, of course. This link should poin

[Wicket-user] Revisiting 'How to write model for immutable compound value object?'

2006-09-23 Thread Joni Freeman
Some months ago there were discussion about how to use immutable value objects in wicket. See: http://thread.gmane.org/gmane.comp.java.wicket.user/12887/focus=12887 The conclusion was that wicket does not support well such a case currently (http://article.gmane.org/gmane.comp.java.wicket.user/1291

Re: [Wicket-user] Help with wicket-bench preview path

2006-10-02 Thread Joni Freeman
On Sun, 2006-10-01 at 13:41 -0600, Guy Davis wrote: > Hi all, > > Sorry if this list isn't the right place for a question about the > Eclipse-plugin called Wicket Bench, but the site didn't have any > mailing lists, forums or even a FAQ. I'm trying to use wicket-bench on > an existing projec

Re: [Wicket-user] [tutorial] Wicket + Spring integration - revisited

2006-10-03 Thread Joni Freeman
Yes, it works. I use it in many places. Joni On Tue, 2006-10-03 at 16:28 +0200, Matej Knopp wrote: > But it should. I don't see reason why this wouldn't work? If I recall > correctly it worked for me. > > -Matej > > Leszek Gawron wrote: > > Eelco Hillenius wrote: > >>> I just wanted to share a

Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Joni Freeman
On Fri, 2006-10-27 at 14:49 +0800, Carfield Yim wrote: > When I use the robot to record the flow, jmeter captured the form is post to > > /wicket?wicket:interface=:1:userForm:1:IFormSubmitListener > > But later when I rerun the test, and it just throws 404 not found > error. When I go to that URL

Re: [Wicket-user] How to make wicket testable at jmeter?

2006-10-27 Thread Joni Freeman
On Fri, 2006-10-27 at 15:28 +0800, Carfield Yim wrote: > But my friend complaint that Grinder's is not as stable as jmeter, let > me take a look first. It is stable, but it doesn't have an easy to use GUI to record the tests. There is a recording proxy but I do not know how well that works. I alwa

Re: [Wicket-user] Bug in Wicketbench?

2006-11-02 Thread Joni Freeman
On Fri, 2006-11-03 at 08:20 +0100, Rik van der Kleij wrote: > > Hi, > > > The issue is that remote debugging with Jetty and Maven from Eclipse > doesn't work right any more if the default editor is Wicket Editor. > While debugging the line of code that is executed by a thread is not > shown in t

Re: [Wicket-user] Bug in Wicketbench?

2006-11-13 Thread Joni Freeman
On Sun, 2006-11-12 at 20:13 +0100, Rik van der Kleij wrote: > Hi Joni, > > Do you have any idea why I'm getting the following error while > opening a wicketpage: > Can't preview file. Check your wicket:preview path. > > I have also wicket projects in Eclipse that do not have this error > but

Re: [Wicket-user] Tapestry 5 instantaneous reloads

2006-11-22 Thread Joni Freeman
On Tue, 2006-11-21 at 15:10 -0800, Eelco Hillenius wrote: > On 11/21/06, Alexei Sokolov <[EMAIL PROTECTED]> wrote: > > Actually, > > > > There is a sysdeo tomcat plugin for eclipse which can be configured with a > > special 'devloader' classloader. With this config you'll see changes right > > afte

Re: [Wicket-user] wicket-bench and the html editor

2007-01-27 Thread Joni Freeman
On Thu, 2007-01-25 at 18:17 -0800, Loren Rosen wrote: > Yes, I can create a patch. It's a one-line change (well, two lines if you > count changing > the class imports). > > (The code in question assumes the editor is a CompilationUnitEditor when in > fact > it suffices to assume an AbstractTextEdi