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.
[ ]
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 PROTECTED] wrote:
I have a curious
);
}
public boolean validate(Form form) {
if(checkbox.isChecked) {
for(StringValidator sv : validators) {
sv.onValidate(formComponent, formComponent.getInput());
}
}
}
}
Martijn
On 7/3/06, Joni Freeman [EMAIL
our special EnablePanels so that the setEnable
is also called on all the childs.
But one problem with that.
If a child component was already disabled and then the parent first
gets disabled and then enabled.
What should happen to that child?
johan
On 7/4/06, Joni Freeman [EMAIL
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:
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.
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
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 doesn't
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());
}
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
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 replaced by ListView?
Joni
On 8/8/06, Joni Freeman [EMAIL
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
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(Form)
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 differnet then wat we do now
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=572396start=30tstart=120
Joni
On Mon, 2006-08-28 at 10:08 -0700, Eelco Hillenius wrote:
Yeah. We're dependent on the Java environment itself to
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 plugin so i
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
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
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. So, I decided
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 problem?
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 point
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
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 project I
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 another way
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, I
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
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 the
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 I can't
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
after you saved
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 AbstractTextEditor.
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 version
31 matches
Mail list logo