Re: DI in wicket

2011-10-31 Thread Chantal Ackermann
Hi, don't forget that the jndi resource needs to be declared in the web.xml, as well. resource-ref res-ref-namejdbc/Chicago/res-ref-name res-typejavax.sql.DataSource/res-type res-authContainer/res-auth /resource-ref Chantal On

Re: How to create a download link that is not cached by the browsers?

2011-11-14 Thread Chantal Ackermann
Hi Ismael, here is the code for a non-cached download link. (I don't know whether this really solves your problem but just in case.) final NamesCsvStreamWriter stream = new NamesCsvStreamWriter(); ResourceStreamResource rsr = new ResourceStreamResource(stream) { @Override

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Chantal Ackermann
Hi all! Thanks for this list, Rob! Not that there would be any more to say except: * I've never seen so informative and extremely helpfull Exception/Error messages in any framework or tool so far. Thank you! * Concerning the ugly URLs: well, I don't think that the real users out there bother so

Re: display artifact version in webpage

2011-12-14 Thread Chantal Ackermann
Hi Sjoerd, my way of doing this is directly from pom to html using filtering. Add ${project.version} into the markup (for me, I add it into a top bar shared by all pages). Change the pom.xml resources configuration to filter either all html files or only that specific one. (I've simply changed

Re: display artifact version in webpage

2011-12-15 Thread Chantal Ackermann
Sjoerd Schunselaar: Thank you Chantal, Thats a very easy solution. Didn't think about that. Kind regards, Sjoerd Schunselaar On Wed, Dec 14, 2011 at 1:02 PM, Chantal Ackermann chantal.ackerm...@btelligent.de wrote: Hi Sjoerd, my way of doing this is directly from pom

Re: AW: Problem with embedded jetty using AWT

2011-12-20 Thread Chantal Ackermann
Just wondering - could SWT (Eclipse) cause that problem? Maybe it is interfering with the AWT classpath. On Tue, 2011-12-20 at 13:44 +0100, Reiche, Andreas wrote: Yep, this was the first i tried, but didn't help. Andreas -Ursprüngliche Nachricht- Von: Martijn Dashorst

Re: Using JNDI from Jetty/Start.java

2011-12-28 Thread Chantal Ackermann
Hi, I'm also using wicket 1.5 and jetty 7.5 (eclipse's) with mortbay's eclipse plugin of the same version, and I had no need to add those properties you mention. From my pom.xml: wicket.version1.5.3/wicket.version jetty.version7.5.0.v20110901/jetty.version

Re: Using JNDI from Jetty/Start.java

2011-12-29 Thread Chantal Ackermann
On Wed, 2011-12-28 at 16:52 +0100, armhold wrote: I moved the config file to src/test/jetty/jetty-env.xml because I didn't want it deployed with my production war file. It was really the two property settings I was missing. You might not even need the properties if you are using the

Re: WicketMessage: Method onFormSubmitted of interface org.apache.wicket.markup.html.form.IFormSubmitListener targeted at [ [Component id = form]] on component [ [Component id = form]] threw an except

2011-12-30 Thread Chantal Ackermann
On Fri, 2011-12-30 at 12:46 +0100, Rahman USTA wrote: Hi, i wanna add an item to DropDownChoice's List after form submitted. i used for example, private ListString *cities*=Arrays.asList(İstanbul,Ankara,Kayseri); The Exception is thrown because Arrays.asList returns a List

Re: setRenderBodyOnly(true) doesn't work for label in title

2012-02-20 Thread Chantal Ackermann
Hi Ilia, it works for me in 1.5.4. My markup looks like that: titleWindow : span wicket:id=headerPageTitle/span/title The difference might be that I am using an explicit closing tag /span. (I have not played around with it.) Chantal On Mon, 2012-02-20 at 13:01 +0100, Илья Нарыжный wrote: