London Wicket event on Wednesday

2009-06-01 Thread Alastair Maw
Hi, folks. Quick reminder that there's a London Wicket Users Group meet-up on Wednesday evening at Google UK in Victoria. It's rather late in the day for me to be announcing the topic of my talk, but it's going to be interesting: *Bookmarkable Everything* Wicket is great at managing server side

Re: AjaxButton does not work

2008-08-08 Thread Alastair Maw
OK, so you have firebug installed, which is a great start. Look at the generated HTML in your browser. Does the link have an onclick attribute? Are there any errors in the Javascript console if you turn that on in firebug? Can you show us some code? Alastair 2008/8/8 Bertrand DATAS <[EMAIL PROTEC

Re: Totally new to Wicket and planning on using Wicket 1.4

2008-07-12 Thread Alastair Maw
2008/7/12 Kent Larsson <[EMAIL PROTECTED]>: > I just thought I'd ask about which is the preferred way of learning > Wicket 1.4? Personally I've always been a fan of getting a good book, > reading it and doing the examples/exercises. As there are only three > books published on Wicket, and two of t

Re: Tomcat 5.5.9 isn't running Quickstart

2008-06-11 Thread Alastair Maw
Argh. Commons logging classloader interactions are legendarily hard to debug. :-( IIRC, this fixes it. In your tomcat directories: bin/commons-logging-api.jar common/lib/log4j.jar common/lib/commons-logging.jar In your web-app directories: Whatever you like. It's also possible to embed

Re: users, please give us your opinion: what is your take on generics with Wicket

2008-06-02 Thread Alastair Maw
On Mon, Jun 2, 2008 at 3:54 PM, Martin Funk <[EMAIL PROTECTED]> wrote: > There are quite some methods that don't return the component, > but its class. Maybe most prominently 'getHomePage()' in Application. > > This used to have the signature: > public abstract Class getHomePage(); > > And a popul

Re: Simplest way to do name-value pairs in DropDownChoice

2008-04-01 Thread Alastair Maw
Yikes. You're converting your domain data to some crazy type (NameValuePair) just so you can display it differently. Not good. Map choices = new TreeMap(); choices.put("foo", "Foo display value"); add(new DropDownChoice("foo", model, choices, new IChoiceRenderer() { Object getDisplayValue(Obj

Re: Accessing non-Wicket JavaScript variables inside Wicket

2008-04-01 Thread Alastair Maw
Your questions are rather too specific to be of much use without the code itself. How are you making the call back to Wicket? Are you writing your own AjaxBehavior? If so, AbstractDefaultAjaxBehavior, which most of the Wicket AJAX functionality extends, uses getCallbackScript(boolean) to generate

Calling all translators - UrlValidator translation

2007-09-07 Thread Alastair Maw
rectly, or reply to this thread with them. (You needn't bother with a proper patch unless you want to.) The English in question is: '${input}' is not a valid URL. Best regards, Al -- Alastair Maw MX Telecom Tel: +44 (0) 845 666 7778