the current list item index?
thanks
Wayne
--
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
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'
might not even know
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. Internet Integration
W
a 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
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 ComponentPerson {
..
}
some other component does:
person.getOrders().get(0).setAmount(0); // first order for free
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 commands, e-mail: [EMAIL
its 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, onModelChanged
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
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
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 worth the time when you
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 +31 20 4223500
find any documentation 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
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
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
.
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 form
(within
which does the
modal-close..
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 form
(within it) is submitted in a new window. Any suggestions
Thanks in advance
--
Matthijs
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]
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
() 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 interesting.
My
. 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 Wensveen
Func. Internet
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 20 423
F +31
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
, the state can get stale.
--
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
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. Maybe I'm just being paranoid here
:
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 good
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
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
, 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 interface when
there is one. Notice that the actually decorated class is a new
SimpleWindow
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 the wrapped
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
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
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 sometimes have overridable factory methods
for child
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 5:05 PM, Matthijs Wensveen [EMAIL
));
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 beleave I can do:
public class MyPanel extends Panel
--
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]
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 list
, 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. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
/
-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 is 1.3.3. The javadoc that
maven pulls
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-mail
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.
, 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 would prefer a solution without Ajax
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 additional
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
-
To unsubscribe, e-mail
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
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
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 PROTECTED
with
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
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
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 child
?
--
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]
=AFQjCNGZ2m5UshrHFf0T40HjEF0nOCE8iAsig2=0oAqqHaBEuy2rC256-8t_Q
-
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
: [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]
model is not updated. I think this is a better solution
because it doesn't require javascript (a Link on a input element
generates onclick), and thus more accessible.
Matthijs
--
Matthijs Wensveen
Func. Internet Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
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 void delegateSubmit
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
-
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
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 PROTECTED]
--
Matthijs Wensveen
Func
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
--
Matthijs Wensveen
Func
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 Integration
W http://www.func.nl
T +31 20 423
F +31 20 4223500
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 unsubscribe, e-mail: [EMAIL
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 convertedInput
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 probably only
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
Func. Internet Integration
W http
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)
{
this(id, getForm
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 http://www.func.nl
T
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 think).
--
Matthijs
68 matches
Mail list logo