Re: Idiomatic way to reference shared images?

2009-10-22 Thread Ceki Gulcu
: img wicket:id=helpImage src=/ Of course the interesting part is that the help.gif file is located as a resource of my web-app and *not* part of WEB-INF/lib or WEB-INF/classes. HTH, John Krasnay wrote: On Wed, Oct 21, 2009 at 07:57:12PM +0200, Ceki Gulcu wrote: Hello, I am trying

Idiomatic way to reference shared images?

2009-10-21 Thread Ceki Gulcu
Hello, I am trying to defined shared images in a Wicket application. In my prokect, the image file help.gif is located under the src/main/java/com/foo/ folder of my project. I have created an empty class called Images. package com.foo; public class Images { } In the init() method of my

Re: Open Source projects using Wicket

2009-10-19 Thread Ceki Gulcu
Hi Martin, The System.out.println() calls are superfluous and will be removed in future releases of Mistletoe. They might be replaced by logger call if and when appropriate. Your comment about the manual is duly noted. I'll try to put together something more polished the next time.

Re: Open Source projects using Wicket

2009-10-16 Thread Ceki Gulcu
I started working with Wicket just a week ago in order to develop a junit extension for integration testing called Mistletoe. See http://mistletoe.qos.ch for details. Mistletoe's design imposes a strict separation between the data-model layer and the presentation layer. I am mentioning this

Re: Open Source projects using Wicket

2009-10-16 Thread Ceki Gulcu
When I wrote: it is possible to create a web-application quickly and cleanly, I meant to say that was possible to create a web-application quickly and cleanly *with* *Wicket*. Ceki Gulcu wrote: I started working with Wicket just a week ago in order to develop a junit extension

Re: SerializableChecker$WicketNotSerializableException:

2009-10-10 Thread Ceki Gulcu
://wicketstuff.org/wicket14/stateless/ but its point was lost on me. Eelco On Fri, Oct 9, 2009 at 2:16 PM, Ceki Gulcu c...@qos.ch wrote: Eelco Hillenius wrote: Hi, It looks like GenericBaseModel has a reference to a JUnit Description? Maybe you can paste your GenericBaseModel class here

Re: SerializableChecker$WicketNotSerializableException:

2009-10-10 Thread Ceki Gulcu
Igor Vaynberg wrote: On Fri, Oct 9, 2009 at 1:41 PM, Ceki Gulcu c...@qos.ch wrote: Anyway, my application handles a complex tree-like structure, with almost all of the contents non-serializable and outside my control. I don't think I can use a Loadable Detachable Model, because loading

Re: SerializableChecker$WicketNotSerializableException:

2009-10-10 Thread Ceki Gulcu
Igor Vaynberg wrote: in other words, if you were building this app using jsps or servlets how would you carry over this data structure between requests? No, I actually would not carry the data between requests. When the page is requested, I would run my test suite to compute the results.

SerializableChecker$WicketNotSerializableException:

2009-10-09 Thread Ceki Gulcu
Hello all, I have a working wicket application but I see the follwowing output on my console. 22:28:23.921 ERROR org.apache.wicket.util.lang.Objects - Error serializing object class \ ch.qos.mistletoe.wicket.Tree [object=[Page class = ch.qos.mistletoe.wicket.Tree, id = 4 version = 0]]

Re: SerializableChecker$WicketNotSerializableException:

2009-10-09 Thread Ceki Gulcu
Eelco Hillenius wrote: Hi, It looks like GenericBaseModel has a reference to a JUnit Description? Maybe you can paste your GenericBaseModel class here? Fortunately, my application is open source. You can find its source code at http://github.com/ceki/mistletoe If you look at the

self-recursive panel

2009-10-08 Thread Ceki Gulcu
Hello, I just succeeded to create a self-recursive panel displaying a tree-like structure with less than 40 lines of java code and 10 lines of HTML. I am including the code here in case someone is interested. == public class Node implements

Re: self-recursive panel

2009-10-08 Thread Ceki Gulcu
I was not aware of the nested example in wicket-examples. Unfortunately, http://www.wicket-library.com/wicket-examples/nested/ barfs when I try to access it. Eelco Hillenius wrote: Yeah, that's like Wicket's nested example in wicket-examples. Eelco On Thu, Oct 8, 2009 at 12:27 PM, Ceki

Re: Wicket problem with slf4j 1.4

2007-09-06 Thread Ceki Gulcu
Tauren Mills tauren at tauren.com writes: Thanks everyone for the help. I got it working with the following jars: log4j-1.2.15.jar slf4j-api-1.4.2.jar slf4j-log4j12-1.4.2.jar Is that what others are using? I had troubles while using logback, but I may not have used the right jars