[Wicket-user] Where is the mailing list archive?

2007-05-13 Thread Mark van Leeuwen
I've just joined the mailing list and wish to search the archive so that I don't bother you with questions already answered. But where is the archive? The archive links on http://wicketframework.org/mail-lists.html result in errors and searching on sourceforge yields nothing. Mark -

Re: [Wicket-user] Where is the mailing list archive?

2007-05-13 Thread Mark van Leeuwen
tml> http://wicketframework.org/mail-lists.html : http://sourceforge.net/mailarchive/forum.php?forum=wicket-user) _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark van Leeuwen Sent: Monday, 14 May 2007 3:37 PM To: wicket-user@lists.sourceforge.net Subject: [Wicket-user] Where is

[Wicket-user] Partial page rendering with AjaxSubmitButton

2007-05-15 Thread Mark van Leeuwen
I have a form on a page which I want to replace with another form when a Next button is pressed. I want to do this with AJAX. The form should only be replaced if there are no validation errors. Two questions: - the AjaxSubmitButton.onSubmit method is not being invoked when the button is clicked. S

Re: [Wicket-user] Partial page rendering with AjaxSubmitButton

2007-05-16 Thread Mark van Leeuwen
; } In the above code, the ajax submit fails to do anything when pageMap is returned as null. > > 2. form.replaceWith(anotherComponent); > > -Matej > > On 5/16/07, Mark van Leeuwen <[EMAIL PROTECTED]> wrote: > > I have a form on a page which I want to replace with anot

Re: [Wicket-user] Partial page rendering with AjaxSubmitButton

2007-05-16 Thread Mark van Leeuwen
y 2007 7:49 AM > To: wicket-user@lists.sourceforge.net > Subject: Re: [Wicket-user] Partial page rendering with AjaxSubmitButton > > But there must be a reason why pagemap is returned as null. Session > expiration maybe? > > -Matej > > On 5/16/07, Mark van Leeuwen &

[Wicket-user] Best way to insert inline Javascript

2007-05-22 Thread Mark van Leeuwen
Writing my first custom component... I want to initialise the component using inline Javascript placed immediately after the component markup. Searching the message archive I found one solution which is to use a label to output the script. Seems a bit of a hack. Is there a better way? --

Re: [Wicket-user] Best way to insert inline Javascript

2007-05-23 Thread Mark van Leeuwen
Thanks for the suggestions but I don't like either of these solutions. First one involving the use of the label is the hack to which I have already referred. In my case I am extending DropDownChoice and it would be messy to require a special label component to go with it. I want to use just the on

Re: [Wicket-user] Best way to insert inline Javascript

2007-05-23 Thread Mark van Leeuwen
e progress indicator this way, although I used > the onclick event. > > regards Nino > > Mark van Leeuwen wrote: > > Thanks for the suggestions but I don't like either of these solutions. > > > > First one involving the use of the label is the hack to which

Re: [Wicket-user] Best way to insert inline Javascript

2007-05-23 Thread Mark van Leeuwen
Thanks, that's interesting, I didn't realise that AbstractBehaviour could be used for rendering into the html body. I ended up overriding the DropDownChoice onRender method to get what I wanted. In my case the script is so specific that there's little point in creating a reusable behavior. Thanks

[Wicket-user] Setting date format with the DateTimeField component

2007-07-27 Thread Mark van Leeuwen
Hi all, How can I set the date format with the DateTimeField? Looking at the code, the format appears to be set in DateTimeField.init() with the line: add(dateField = DateTextField.forShortStyle("date", new PropertyModel(this, "date"))); and there seems no simple way to override this behaviour.