e is just to demonstrate what I mean. The point is I need to
manipulate the attributes of elements, just so I can setup some javascript
stuff. Is there no better way of just doing this in the markup or some form
of wicket:tag that can insert the cur
t extremely polished
yet. for more info see the website.
[1] http://brix-cms.googlecode.com
-igor
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Matthijs Wensveen
Func. In
Timo Rantalaiho wrote:
On Mon, 07 Jul 2008, Matthijs Wensveen wrote:
The thing is that when using Ajax you have to specifically add
PersonViewer to the AjaxRequestTarget when 'some other component'
modifies the Person object. The problem is that 'some other component'
listener interface for example PropertyChangeListener (but you
can make it more specific interface)
Just make a base model that has add/removePropertyChangeListener and let
your components listen to that
johan
On Mon, Jul 7, 2008 at 8:28 AM, Matthijs Wensveen <[EMAIL PROTECTED]>
wrote:
Timo Rantalaiho wrote:
On Fri, 04 Jul 2008, Matthijs Wensveen wrote:
How do you cope with deeply nested model properties? For example:
public class PersonViewer extends Component {
..
}
some other component does:
person.getOrders().get(0).setAmount(0); // first order for free (as in beer
not a big
problem.
On 7/4/08, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
Matej Knopp wrote:
On Thu, Jul 3, 2008 at 9:51 AM, Matej Knopp <[EMAIL PROTECTED]> wrote:
And there is some functionality in there that Wicket might
be better without. For example, onModelChange
ad subject has become little different than thread content :)
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
You might want to use wicket:message in cases like this. See:
http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html
Matthijs
Rakesh Sinha wrote:
Thanks Igor. That works.
Thanks Apache Wicket team once again for a wonderful framework.
On Wed, Jul 2, 2008 at 12:37 AM, Igor Vaynberg <[EMAIL PR
Is there a bugzilla id we could track (spam :) )?
Matej Knopp wrote:
Firefox caches the wrong version of DOM with the page. Unfortunately
the only workaround I know about is to force firefox reloading page on
backbutton by sending the no-store header. Look at WebPage#setHeaders.
-Matej
On Fri,
s
be done after that on the serverside
On 6/26/08, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
I know ASP.Net has this too, and falls back to the server when client
side validation is not possible (or is hacked by a smarter than average
user). Something could be done. I think would be wo
System.exit(0);
Igor Vaynberg wrote:
if you can find another way to abort creation of a class instance in
java feel free to let us know.
-igor
On Thu, Jun 26, 2008 at 4:29 AM, Eyal Golan <[EMAIL PROTECTED]> wrote:
Igor,
That is what we used before.
Then I looked on the links above, tried t
tField tf = new
tf.enableClientSideValidation();
my approach would be to borrow the T5 code to generate the required
javascript.
Is this idea worth the time?
Best regards.
Manuel.
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F
ocumentation on using templates for javascript - will
appreciate any pointers.
Thanks
Matthijs Wensveen-2 wrote:
Is there any specific reason you don't want to do this server side? Not
using javascript would make the application more accessible, and
probable also more robust and secure.
Is there any specific reason you don't want to do this server side? Not
using javascript would make the application more accessible, and
probable also more robust and secure. Unless you're targeting some very
specific user group, I always try not to depend on javascrip / ajax
(that's why I love
ys,
I am posting this question yet again, hoping to get some feedback...
The problem is regarding modal windows, as to how close it, when a form
(within it) is submitted in a new window. Any suggestions
Thanks in advance
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
the results of the
form-submission.
Matthijs Wensveen-2 wrote:
What do you mean by "submitted in a new window"? The modal window
itself?
Matthijs
mfs wrote:
Guys,
I am posting this question yet again, hoping to get some feedback...
The problem is regarding
submission.
Matthijs Wensveen-2 wrote:
What do you mean by "submitted in a new window"? The modal window itself?
Matthijs
mfs wrote:
Guys,
I am posting this question yet again, hoping to get some feedback...
The problem is regarding modal windows, as to how close it, when a
ail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
indow. Any suggestions
Thanks in advance
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
() are working fine. (and we
can test other stuff like isVisibleInHierarchy and so on.
johan
On Mon, Jun 16, 2008 at 11:52 PM, Matthijs Wensveen <[EMAIL PROTECTED]>
wrote:
Of course I have a few things to learn, and I hope I never stop learning.
The article you provide is interestin
Never underestimate the power of the Dark Side! :)
Jonathan Locke wrote:
i imagine setVisible came from me. just because setters are evil and you
should avoid them when you can does not mean you should not use them when
you need them.
Matthijs Wensveen-2 wrote:
Of course I have a few
:
http://www.javaworld.com/javaworld/jw-09-2003/jw-0905-toolbox.html
Matthijs Wensveen-2 wrote:
Jonathan Locke wrote:
true.
in the isVisible impl you could lazy-init cache a transient Boolean until
end request where you set it null.
setters are evil.
..but it's go
Martijn Dashorst wrote:
On Mon, Jun 16, 2008 at 3:48 PM, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
A little off-topic: It scares me a little when core developer make bold
statements like: "setters are evil" and "I wouldn't mind final was the
default in java"
imo because it is state driven. if you
push instead of pull, the state can get stale.
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscrib
L PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
instanceof with
AjaxRequestTarget.
Matthijs
**
Martin
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 2
n structures. This would be especially useful
with AJAX, because then all components that get onModelChanged can add
themselves to the AjaxRequestTarget.
By the way, the jira patch Igor mentioned:
https://issues.apache.org/jira/browse/WICKET-1312. I really like it.
Matthijs.
--
Matthijs Wensv
Eelco Hillenius wrote:
It's good to know that when you reach the same conclusion it is a deliberate
one.
BTW, interfaces are useful for this, but not a necessity. Or am I the only
one thinking that
No, I agree with you mostly. However, I was trying (back then) to
define separate dimensions
Ah, you beat me to that. I should've read the thread entirely before
posting :)
Martijn Dashorst wrote:
Or with qi4j (http://qi4j.org)
Martijn
On Sat, Jun 14, 2008 at 5:37 AM, Eelco Hillenius
<[EMAIL PROTECTED]> wrote:
It's good to know that when you reach the same conclusion it is a deli
Eelco Hillenius wrote:
True, it's been weighing the disadvantages vs the advantages, and so
far, ensuring that we wouldn't paint ourselves in the corner too
quickly won over flexibility.
To make this 'painless' though, we'd probably need a whole bunch of
interfaces. We've looked into movin
Igor Vaynberg wrote:
On Fri, Jun 13, 2008 at 2:44 PM, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
By the way, the article I supplied and the article on wikipedia do just the
same thing. If you look at VerticalScrollBarDecorator.draw you'll see that
it delegates the method to
other things that dont make sense.
-igor
On Thu, Jun 12, 2008 at 5:54 PM, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
Igor Vaynberg wrote:
look at the java example. notice Window is an interface.
Yeah, but that's just because it's good practice to use the i
ethods that you can't override so you
can't delegate to them (that whas my point), but not because you can't
decorate a class.
Matthijs.
PS. If you insist on that you can only decorate an interface, I'll call
it wrap-extend or something :)
-igor
On Thu, Jun 12, 2008 at
] wrote:
decorators only work with interfaces, component class is not. This is
part of the reason why we have behaviors
-igor
On 6/12/08, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
Some useful design patterns like Decorator don't work with final
methods. Wicket components someti
Some useful design patterns like Decorator don't work with final
methods. Wicket components sometimes have overridable factory methods
for child components. The decorator pattern could be very useful here,
because you'd be able to decorate the original component with some extra
functionality (L
Gwyn Evans wrote:
On Wed, Jun 11, 2008 at 10:34 AM, Matthijs Wensveen <[EMAIL PROTECTED]>
wrote:
Is there a way to hide a listview with an enclosure when there are no items
to display? One way to get it working is to toggle the visibility of the
listview based on wheter or not the l
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ew CompoundPropertyModel(model));
add(new Label("name"));
}
}
Maurice
On Tue, Jun 10, 2008 at 2:49 PM, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
Hi,
I'm trying to use ComponentPropertyModel as a replacement of PropertyModel
in some cases. The javadoc leads me to be
Of course, the workaround is to not call myPanel.setModel, but
myPanel.setModelObject, so the reference to the component's model is
preserved. That way PropertyModel can be safely used.
Thanks,
Matthijs
--
Matthijs Wensveen
Func. Inter
com/javadoc/
-Doug
Matthijs Wensveen-2 wrote:
>
> Hi,
> I'm not sure this is the right place, but anyway. The online javadoc of
> wicket-extensions at
> http://wicketframework.org/wicket-extensions/apidocs/index.html is of
> version 1.2-SNAPSHOT, but the latest release i
nline javadocs be updated please?
Thanks,
Matthijs
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e
Doug Donohoe wrote:
I am pleased to announce the 1.0 release of wicketstuff-annotation.
Nice. But the name 'wicketstuff-annotation' does not say anything about
what it does, just 'something with annotations'. IMO
'wicketstuff-mount-annotations' or somesuch would be better.
Just my 2c.
Ma
ideas?
Matthijs.
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> wrote:
On Wed, 06 Feb 2008, Matthijs Wensveen wrote:
I have a Link (not Ajax) on a component that does some heavyweight
processing in onClick. During this processing I want to block other
clicks from the same user. Is there a generic way to block multiple
requests on the same link? I
Martijn Dashorst wrote:
On 2/7/08, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
The if(!isEnabled()) will happen though, because the link is not really
disabled on the client side, but it does prevent
doSomeHeavyWeightProcessing to be called the second time which is what I
need.
variable)?
Thanks,
Matthijs
Timo Rantalaiho wrote:
On Wed, 06 Feb 2008, Matthijs Wensveen wrote:
I have a Link (not Ajax) on a component that does some heavyweight
processing in onClick. During this processing I want to block other
clicks from the same user. Is there a generic way to block
, but if that's impossible then that's okay.
Thanks,
Matthijs
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
(cRM); cRM.show(t); this.stop(); /* you only
want this once */ }
Or something alike (if it doesn't work, maybe add the behavior to the
container or something)
Matthijs
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
---
Rama-o-Rama wrote:
Hello,
I am trying to read the property file like test.properties in the wicket.
I have done previously like servletcontext.getresouceasstream().
what is the wicket way of reading the file.
~Rama
If the properties file 'belongs' to a Component, like
MyComponent.propertie
hanks Matthijs,
I got a chance to look at Wouter Huijnink slides. This is what exactly I am
looking. Can you please forward the AutoComponentPanel code. That would be
great.
~Praveen
Matthijs Wensveen-2 wrote:
Hello Praveen,
Wouter Huijnink presented something similar to what you need a
for references to it.
I did do that, but I was unsure whether or not to use it myself.
Thanks for the explanation,
Matthijs
-igor
On Dec 5, 2007 7:15 AM, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
Hello,
I have developed a panel named AutoComponentPanel that automatically
r with
Application.getPageSettings().addComponentResolver(resolver)?
Thanks,
Matthijs Wensveen
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTE
Application.getPageSettings().addComponentResolver(resolver)?
Thanks,
Matthijs Wensveen
Matthijs Wensveen wrote:
Hello Praveen,
Wouter Huijnink presented something similar to what you need at the
wicket meetup in Amsterdam. We generate html dynamically from xml,
using xslt. A component
-----
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
Yes Stefan, I would think that would be a better approach to use a new set of
tags. It also allows you to choose more correct naming (because inheritance
isn't actually a parent/child relationship so the word child just confuses the
issue).
Maybe wicket:abstract in the base and wicket:implem
Double-click the server, click the modules tab, uncheck 'enable
reloading' on the module that is the project you are working on.
BTW, I use Eclipse and Maven and it just works great together.
Unfortunately there is no support for WTP 2.0 yet for the maven eclipse
(or should I say eclipse maven
The problem is that you want the link to appear within the localized
message, right?
The easy way is to split the localized message into 3 parts: a localized
part before the link, a localized link label and a localized part after
the link. This is a little cumbersome but works without much hassl
children when it itself is disabled or
enabled.
Matthijs
PS. The onBeforeRender implementation I have (uses IVisitor to disable
children) works well enough. This mail is just because I'm curious how
this should be done.
Matthijs Wensveen wrote:
Hi,
I have a Panel (myPanel) containing some
Any ideas?
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
e-mail: [EMAIL PROTECTED]
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
rk.org%2F&ei=p5kLR_7lHZPEepmm4ZwF&usg=AFQjCNGZ2m5UshrHFf0T40HjEF0nOCE8iA&sig2=0oAqqHaBEuy2rC256-8t_Q
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Matthijs Wensveen
Func
it :)
-igor
On 10/7/07, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
Al Maw wrote:
Stanczak Group wrote:
I don't want the cancel button to submit the form, is this the best
method? I'm not sure I see how to do this. Is there examples?
@Override
protected voi
the form's model is not updated. I think this is a better solution
because it doesn't require javascript (a Link on a element
generates onclick), and thus more accessible.
Matthijs
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 4230
wfaler wrote:
Hi,
Is it possible to change the default html-template file loaded for a class
programmatically (for instance, changing from a classpath file, to a file in
another file-directory)?
For instance, if I want to change the underlying html-template on the fly,
but keeping the same compon
ut feels
'just wrong'.
I said in another mail in this thread (parallel to this mail) that
parsing the xml in java code is harder than using xslt. If I understand
the factory suggestion correctly, this would problem would still remain.
Thanks and regards (to all),
Matthijs
--
Matthi
s?
Regards,
Wouter
--
Wouter Huijnink
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECT
423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 422
the wrong way. It'd been interesting to see
though how you'd manage to keep Ajax working and all. Outputting the
java class as html class might be nice though. It would be useful to
style wicket components in css. But it's easy to do this yourself already.
Matthijs
--
Matthij
want to tread on the lower-level servlet API, maybe you
could do something with WebApplication.sessionDestroyed or
ISessionStore.unbind. Although I'm not exactly sure when they are called
(just browsing javadoc, that's all).
Matthijs
--
Matthijs Wensveen
Func. Internet I
[EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For a
. I do
think that such a choice should not only be made on the basis of memory
usage. But since the choice is already made, I'll go with it until I can
find a more convincing argument (although the link I supplied has some
quite convincing ones).
Matthijs
--
Matthijs Wensveen
Fun
signspec/events.html).
While wicket is not swing or awt, it's an interesting read.
Matthijs
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-ma
Martijn Dashorst wrote:
On 9/10/07, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
Off-topic: Why are so much methods marked final? This might prevent
API-misuse but also prevents innovative _use_! I can understand you want
framework users to do it the wicket way, because they will pr
Johan Compagner wrote:
On 9/10/07, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
Hi,
According to the javadoc Form.updateFormComponentModels should update
all the models of all FormComponents in a form (without validation
presumably?). This sets all the model objects to the converte
to
events that are very deeply nested (fetch the component, register a
listener), which is almost impossible now.
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To un
Ah yes, you're right. Sorry 'bout that.
Matej Knopp wrote:
This would be wrong, as during constructor the component is not yet added to
any parent.
-Matej
On 9/3/07, Matthijs Wensveen <[EMAIL PROTECTED]> wrote:
Or maybe:
public AjaxButton(String id)
{
-Form-in-constructor--tf4370843.html#a12457890
Sent from the Wicket - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
o redraw my table in other instances so that
the table redraw is smooth. Is there any way I can catch the selection
changed event and have the table not redraw? I can redraw it myself with an
AJAX target after I set the value in the textfield.
--
Matthijs Wensveen
Func. Internet Integration
W
me("sample.zip");
}
};
requestCycle.setRequestTarget(exportTarget);
}
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
more browsers
would support it, we could drop HTML altogether :)
I suppose one could write XUL components with wicket and have a servlet
filter translate it to XHTML. The challenge would be wiring the events
from the generated HTML to the wicket framework. It's an interesting
idea though (I th
y ideas?
BTW: I use wicket 1.3.0-beta2.
Regards,
Matthijs
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
81 matches
Mail list logo