Re: SV: Multiple wicket applications in a single WAR

2010-12-09 Thread Reinhard Nägele
I don't think it is a good idea to have multiple applications in one war. Wicket stores static state in ThreadLocals (Application, Session, etc.). All apps in the same war share the same ClassLoader and thus the same static ThreadLocal instances. There might be circumstances when the state some

Re: Wicketstuff releases?

2009-08-12 Thread Reinhard Nägele
I'd like to second Maartens point. Identical releases to Wicket itself would mean that it always depends on Wicket. Independent releases would not be possible. Bugs could not be fixed and new features could not be added without a new Wicket release. This doesn't really make sense to me. Reinha

Re: cwiki code blocks render poorly on firefox, chrome, safari

2009-08-12 Thread Reinhard Nägele
This is the proper way to linking to our documentation. The issue with the code blocks is something I'll take up with infra@ and see if there's something that can be done. Martijn On Wed, Aug 12, 2009 at 9:18 AM, Reinhard Nägele wrote: I just played around with that a bit. This

Re: cwiki code blocks render poorly on firefox, chrome, safari

2009-08-12 Thread Reinhard Nägele
I just played around with that a bit. This seems to be a Confluence problem. If you open the URL http://cwiki.apache.org/WICKET/dropdownchoice-examples.html, you get small text areas without proper styling. If you then edit the page and cancel editing again, you are redirected to http://cwiki.

Re: Output to input stream for streaming?

2009-08-10 Thread Reinhard Nägele
You need to wait until your executor thread has finished. Then it might work. Future f = Executors.newSingleThreadExecutor().submit(new Runnable() { @Override public void run() { try { wb.write(out); } catch (IOException e) { MarkupUtils.handleUnexpected

Re: Output to input stream for streaming?

2009-08-10 Thread Reinhard Nägele
How about this: ByteArrayOutputStream baos = new ByteArrayOutputStream(); wb.write(baos); InputStream is = new ByteArrayInputStream(baos.toByteArray()); Martin Makundi schrieb: Hi! I have a HSSF document which can be written to an output stream. However, I want to stream it to the website vis

Re: SVN URL for Wicket 1.4.0 sources?

2009-08-04 Thread Reinhard Nägele
The same thing happened to me recently. I wanted to check out the release tag and could not find it. I was already sort of surprised when Igor mentioned he'd release from his private sandbox. And now we have a 1.4.0 tag with a 1.4-SNAPSHOT in it and trunk which still has 1.4-SNAPSHOT. That can

Re: WicketTester and org.slf4j.LoggerFactory and org.slf4j.Logger not serializable

2009-07-27 Thread Reinhard Nägele
If you use slf4j 1.5.3 or newer, serialization should just work fine. See http://www.slf4j.org/faq.html#declared_static Reinhard Jeremy Thomerson schrieb: Your logger instances should either be transient or static - so that they are not serialized. -- Jeremy Thomerson http://www.wickettraini

Re: jWicket -- jQuery with Wicket integration

2009-07-22 Thread Reinhard Nägele
Given the fact that there is already wicket-jquery in wicketstoff-core, I wonder how come it is simply possible to add another JQuery integration to wicketstuff. What are the rules for adding stuff there? Can committers just do whatever the like? Doesn't there have to be some voting on the mail