Re: Is this right? Seems at odds with wicket philosophy

2008-08-14 Thread Matthijs Wensveen
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

Re: sneak peek - brix - wicket/jcr cms

2008-07-09 Thread Matthijs Wensveen
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

Re: generics

2008-07-09 Thread Matthijs Wensveen
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'

Re: generics

2008-07-08 Thread Matthijs Wensveen
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:

Re: generics

2008-07-06 Thread Matthijs Wensveen
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

Re: generics

2008-07-04 Thread Matthijs Wensveen
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

Re: generics

2008-07-03 Thread Matthijs Wensveen
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

Re: configuring wicket:id from Java code in in a page

2008-07-02 Thread Matthijs Wensveen
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

Re: Firefox 3 Back button and BaseTree

2008-06-29 Thread Matthijs Wensveen
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,

Re: Client side validation

2008-06-29 Thread Matthijs Wensveen
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

Re: redirect page in the constructor

2008-06-29 Thread Matthijs Wensveen
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

Re: Client side validation

2008-06-27 Thread Matthijs Wensveen
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

Re: Setting HiddenField name attrribute value

2008-06-22 Thread Matthijs Wensveen
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.

Re: Setting HiddenField name attrribute value

2008-06-21 Thread Matthijs Wensveen
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

Re: Modal Window question

2008-06-19 Thread Matthijs Wensveen
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]

Re: Modal Window question

2008-06-19 Thread Matthijs Wensveen
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

Re: Modal Window question

2008-06-18 Thread Matthijs Wensveen
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

Re: Generic component placeholder

2008-06-18 Thread Matthijs Wensveen
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]

Re: Modal Window question

2008-06-18 Thread Matthijs Wensveen
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

Re: isVisible vs. setVisible

2008-06-17 Thread Matthijs Wensveen
() 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

Re: isVisible vs. setVisible

2008-06-16 Thread Matthijs Wensveen
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

Re: isVisible vs. setVisible

2008-06-16 Thread Matthijs Wensveen
: 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

Re: isVisible vs. setVisible

2008-06-16 Thread Matthijs Wensveen
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"

Re: isVisible vs. setVisible

2008-06-16 Thread Matthijs Wensveen
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

Re: Chaining components

2008-06-16 Thread Matthijs Wensveen
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

Re: Chaining components

2008-06-16 Thread Matthijs Wensveen
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

Re: Chaining components

2008-06-15 Thread Matthijs Wensveen
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

Re: Making Component easier to Generify

2008-06-14 Thread Matthijs Wensveen
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

Re: Making Component easier to Generify

2008-06-14 Thread Matthijs Wensveen
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

Re: Making Component easier to Generify

2008-06-13 Thread Matthijs Wensveen
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

Re: Making Component easier to Generify

2008-06-13 Thread Matthijs Wensveen
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

Re: Making Component easier to Generify

2008-06-13 Thread Matthijs Wensveen
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

Re: Making Component easier to Generify

2008-06-12 Thread Matthijs Wensveen
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

Re: Making Component easier to Generify

2008-06-12 Thread Matthijs Wensveen
] 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

Re: Making Component easier to Generify

2008-06-12 Thread Matthijs Wensveen
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

Re: enclosure around listview

2008-06-11 Thread Matthijs Wensveen
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

enclosure around listview

2008-06-11 Thread 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] For additional commands, e-mail: [EMAIL PROTECTED]

Re: ComponentPropertyModel

2008-06-11 Thread Matthijs Wensveen
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

ComponentPropertyModel

2008-06-10 Thread Matthijs Wensveen
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

Re: wicket-extensions javadoc

2008-05-09 Thread Matthijs Wensveen
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

wicket-extensions javadoc

2008-05-07 Thread Matthijs Wensveen
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

Re: [announce] wicketstuff-annotation 1.0 released

2008-05-06 Thread Matthijs Wensveen
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

Re: comunication between panels

2008-02-18 Thread Matthijs Wensveen
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]

Re: Block second click

2008-02-11 Thread Matthijs Wensveen
> 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

Re: Block second click

2008-02-09 Thread Matthijs Wensveen
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.

Re: Block second click

2008-02-07 Thread Matthijs Wensveen
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

Block second click

2008-02-06 Thread Matthijs Wensveen
, 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

Re: can auto fire the ajaxLink onClick function without click on the link?

2008-01-29 Thread Matthijs Wensveen
(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 ---

Re: How to read the properties file in wicket?

2008-01-17 Thread Matthijs Wensveen
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

Re: How to dynamically generate HTML page?

2007-12-06 Thread Matthijs Wensveen
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

Re: IComponentResolver question

2007-12-06 Thread Matthijs Wensveen
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

IComponentResolver question

2007-12-05 Thread Matthijs Wensveen
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

IComponentResolver question. Was: How to dynamically generate HTML page?

2007-12-04 Thread Matthijs Wensveen
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

Re: How to dynamically generate HTML page?

2007-12-04 Thread Matthijs Wensveen
----- 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

Re: Multiple tags on a single base page?

2007-11-05 Thread Matthijs Wensveen
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

Re: Changing IDEs to eclipse

2007-10-26 Thread Matthijs Wensveen
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

Re: Link embedded in localized Label/Message?

2007-10-16 Thread Matthijs Wensveen
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

Re: enable / disable MarkupContainer and all children

2007-10-16 Thread Matthijs Wensveen
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

enable / disable MarkupContainer and all children

2007-10-09 Thread Matthijs Wensveen
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]

Re: how to forward request to an external URL

2007-10-09 Thread Matthijs Wensveen
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]

Re: new class reloading solution JavaRebel

2007-10-09 Thread Matthijs Wensveen
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

Re: A button that does NOT submit form?

2007-10-08 Thread Matthijs Wensveen
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

Re: A button that does NOT submit form?

2007-10-07 Thread Matthijs Wensveen
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

Re: Changing html-template programmatically?

2007-09-27 Thread Matthijs Wensveen
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

Re: how to add dynamically typed form components?

2007-09-26 Thread Matthijs Wensveen
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

Re: how to add dynamically typed form components?

2007-09-26 Thread Matthijs Wensveen
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

Re: how to add dynamically typed form components?

2007-09-25 Thread Matthijs Wensveen
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

Re: [RFE] getMarkupId()

2007-09-23 Thread Matthijs Wensveen
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

Re: How to get a list of the connected users ?

2007-09-11 Thread Matthijs Wensveen
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

Re: Any interest in a Wicket User Group meeting in The Netherlands?

2007-09-10 Thread Matthijs Wensveen
[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

Re: Form.updateFormComponentModels bug?

2007-09-10 Thread Matthijs Wensveen
. 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

Re: Form.updateFormComponentModels bug?

2007-09-10 Thread Matthijs Wensveen
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

Re: why final?

2007-09-10 Thread Matthijs Wensveen
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

Re: Form.updateFormComponentModels bug?

2007-09-10 Thread Matthijs Wensveen
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

Form.updateFormComponentModels bug?

2007-09-10 Thread Matthijs Wensveen
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

Re: AjaxFallbackButton really require Form in constructor?

2007-09-03 Thread Matthijs Wensveen
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) {

Re: AjaxFallbackButton really require Form in constructor?

2007-09-03 Thread Matthijs Wensveen
-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]

Re: wantOnSelectionChangedNotifications causing table redraw

2007-09-02 Thread Matthijs Wensveen
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

Re: IndicatingAjaxSubmitButton and download after form submission problem

2007-08-21 Thread Matthijs Wensveen
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]

Re: Wicket vs. ZK

2007-08-19 Thread Matthijs Wensveen
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

wicket:child in a WebMarkupContainer

2007-08-15 Thread Matthijs Wensveen
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]