[Wicket-user] bug on WebRequestWithCryptedUrl ?

2005-08-29 Thread Ingram Chen
The method public String[] getParameters(final String key) { return (String[])parameters.keySet().toArray(); } do not use argument 'key' and return all parameters. I guess it should be: public String[] getParameters(final String key) { return

Re: [Wicket-user] bug on WebRequestWithCryptedUrl ?

2005-08-29 Thread Juergen Donnerstag
I understand it is included in 2.4, thus wicket should support it. Would you please open a bug for it. thanks Juergen On 8/29/05, Ingram Chen [EMAIL PROTECTED] wrote: The method public String[] getParameters(final String key) { return (String[])parameters.keySet().toArray();

Re: [Wicket-user] bug on WebRequestWithCryptedUrl ?

2005-08-29 Thread Johan Compagner
Ingram Chen wrote: The method public String[] getParameters(final String key) { return (String[])parameters.keySet().toArray(); } if i look at that code (and the code it overwrites) then it looks like that is deliberate... But i don't know why... do not use argument 'key'

[Wicket-user] Wicket markup in output

2005-08-29 Thread Jan Bares
Hi, what are the reason why the wicket markup (by default) appears on output? If the only reason is debugging Wicket application, it will be better to use comment blocks for debugging, something like: !-- Wicket debug, Start of Panel from Panel.html -- ... !-- Wicket debug, End of Panel from

[Wicket-user] How to manually set an error message

2005-08-29 Thread Johannes Fahrenkrug
Hi, one simple question: How do I manually get a feedbackPanel to display an errorMessage? I have to catch an error that I can't catch with a validator, hence I have to set the error myself. I tried feedback.error(foo) but the feedbackPanel doesn't display a thing (the feedbackPanel itself

Re: [Wicket-user] How to manually set an error message (SOLVED)

2005-08-29 Thread Johannes Fahrenkrug
. nevermind. It's not the feedbackPanel that didn't work, it's Eclipse's hot code replacement (or my brain, whichever) Johannes Fahrenkrug wrote: Hi, one simple question: How do I manually get a feedbackPanel to display an errorMessage? I have to catch an error that I can't catch with a

Re: [Wicket-user] bug on WebRequestWithCryptedUrl ?

2005-08-29 Thread Ingram Chen
done ! ;-)On 8/29/05, Juergen Donnerstag [EMAIL PROTECTED] wrote: I understand it is included in 2.4, thus wicket should support it.Would you please open a bug for it.thanksJuergen -- Ingram ChenJava [EMAIL PROTECTED]Institue of BioMedical Sciences Academia Sinica Taiwanblog:

Re: [Wicket-user] Wicket markup in output

2005-08-29 Thread Eelco Hillenius
Lots of times you just want to mutate the tag, like for input tags and such. Eelco --- SF.Net email is Sponsored by the Better Software Conference EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile

Re: [Wicket-user] How to manually set an error message

2005-08-29 Thread Eelco Hillenius
You should call error on your target component, or e.g. on your page. Depends on how your messages are filtered, though I lost track of the latest feedback changes. But validators normally set the messages on the component they are attached to, so setting them manually should have the same effect.

Re: [Wicket-user] How to manually set an error message (SOLVED)

2005-08-29 Thread Eelco Hillenius
:) On 8/29/05, Johannes Fahrenkrug [EMAIL PROTECTED] wrote: . nevermind. It's not the feedbackPanel that didn't work, it's Eclipse's hot code replacement (or my brain, whichever) --- SF.Net email is Sponsored by the Better Software

Re: [Wicket-user] How to manually set an error message

2005-08-29 Thread Gwyn Evans
Note that when in a submit() implmentation, etc, you should simply be able to call info()/error()/warning()/fatal() (i.e. on the Component) to add the message. /Gwyn On 29/08/05, Johannes Fahrenkrug [EMAIL PROTECTED] wrote: Hi, one simple question: How do I manually get a feedbackPanel to

Re: [Wicket-user] OT? Tomcat not removing wicket.jar

2005-08-29 Thread Scott Sauyet
Johan Compagner wrote: ok... I can't seem to fix it read this bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4950148 Uggh, that makes sense. And it looks as though there's not much of a work-around. Perhaps it's time I try Eclipse and Jetty again... Thank you very much for

Re: [Wicket-user] Registering dynamically added controls

2005-08-29 Thread Phil Kulak
public void onSubmit() { MapString, FileItem files = ((MultipartWebRequest) getRequest()).getFiles(); // do something with the files... } Badda bing. :) On 8/29/05, Scott Sauyet [EMAIL PROTECTED] wrote: Sorry, I'm still missing some of the basics here, so this may be a dumb question.

Re: [Wicket-user] Announcements mailing list

2005-08-29 Thread Eelco Hillenius
It's not on that list (yet), but all lists are listed here: https://sourceforge.net/mail/?group_id=119783 Eelco On 8/29/05, Jon Carlson [EMAIL PROTECTED] wrote: Isn't your new mailing list supposed to be listed here?: http://wicket.sourceforge.net/mail-lists.html Just wondering how to

Re: [Wicket-user] Registering dynamically added controls

2005-08-29 Thread Scott Sauyet
Phil Kulak wrote: public void onSubmit() { MapString, FileItem files = ((MultipartWebRequest) getRequest()).getFiles(); // do something with the files... } Badda bing. :) Wow, that's easy enough. I'm quite impressed with Wicket so far. The String is the name attribute? Thanks,

[Wicket-user] Localization - resource files being used

2005-08-29 Thread Dariusz Wojtas
From what I can see in examples (eg. wicket-examples/../library/) wicket searches for resource files with the same names as 'parent' HTML pages, but extension '.properties'. Example: BookDetails.java BookDetails.html BookDetails.properties BookDetails_pl.properties ... But sometimes there

[Wicket-user] PackageResource vs StaticFileResource

2005-08-29 Thread Gili
The Javadoc of these classes is almost identical. If they do different things you better update their Javadoc to reflect that. Ideally you should explain what the difference between the two (in the Javadoc). Thanks, Gili -- http://www.desktopbeautifier.com/

[Wicket-user] ServletWebRequest

2005-08-29 Thread Gili
Does it really make sense for one to getWebRequest() and get back a WebRequest instead of a ServletWebRequest? I mean, aren't all Wicket web-requests servlet-based? I just hate explicitly casting to a subclass because who knows if it'll get changed in the future (like it just did). We