Different root between upload folder and ContextRelativeResource

2012-12-27 Thread Delange
I have an application which can upload pictures. When I use the upload with Jetty in my Eclipse directory it stores all pictures under eclipseproject /images /src/main/webapp/images But if i want to display them with ContextRelativeResource then they must be in /src/main/webapp/images Up

Re: How to resolve right path for variable images (with Jetty)

2012-12-27 Thread Delange
Do you have an example, also with html? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/How-to-resolve-right-path-for-variable-images-with-Jetty-tp4655058p4655088.html Sent from the Users forum mailing list archive at Nabble.com.

Updating a self-made Panel

2012-12-27 Thread v1nc3nt
Hey there, my self-made video-class (extending Panel) doesnt get updated, if its model changes. I got a Class "ClassA", which gets new Information through a Model, whenever i select a choice in a List on my Webpage. That already works. In this Class "A", there is a MultiLineLabel, which gets pe

Re: Parsing company id from url

2012-12-27 Thread jchappelle
Sebastian, That makes a lot of sense. I think I like that solution better because it seems simpler and more intuitive. I may write a ServletFilter that does the app lookup part and store it in the session. Thanks a lot! Josh -- View this message in context: http://apache-wicket.1842946.n4.na

Re: @SpringBean issue in CustomValidator

2012-12-27 Thread Martin Grigorov
Only Component and Behavior instances support auto-inject. You need to call: Injector.get().inject(this) in the constructor of any other type. On Thu, Dec 27, 2012 at 12:56 PM, wicket_new_user wrote: > Hi, > i've written a new custom validator and trying to Inject one bean which is > resulting i

Re: Attempting to establish session for static resources in Wicket 6

2012-12-27 Thread Martin Grigorov
I don't remember the details now. Chris confirmed privately that he will re-test his scenario. I'll be able to take a look at this soon. On Thu, Dec 27, 2012 at 12:50 PM, Sven Meier wrote: > Sorry, I wasn't aware of this back and forth. > > It's not clear to me how 7a86fe3 'fixed' WICKET-4500 t

Re: Attempting to establish session for static resources in Wicket 6

2012-12-27 Thread Sven Meier
Sorry, I wasn't aware of this back and forth. It's not clear to me how 7a86fe3 'fixed' WICKET-4500 though: If there's no session, how does it help to create one and then looking for non-present meta data? Sven On 12/27/2012 09:55 AM, Martin Grigorov wrote: The improvement made by Sven has be

Re: Wicket integration with Spring

2012-12-27 Thread Martin Grigorov
Hi, There is also https://github.com/wicketstuff/core/tree/master/jdk-1.6-parent/wicketstuff-springreference-parent / https://github.com/wicketstuff/core/wiki/SpringReference On Thu, Dec 27, 2012 at 12:11 PM, Arun Chauhan wrote: > I am making an application in which I want to integrate Wicket

Wicket integration with Spring

2012-12-27 Thread Arun Chauhan
I am making an application in which I want to integrate Wicket + Spring. Application is a grocery store on which user comes and buy something. I know there are two ways to do this. 1. Using the *annotation *aprroach. Wicket-Spring integration shows various ways on how to inject Spring Beans into

Re: Attempting to establish session for static resources in Wicket 6

2012-12-27 Thread Martin Grigorov
The improvement made by Sven has been introduced earlier with 7beaa9f and later reverted because of https://issues.apache.org/jira/browse/WICKET-4500 (7a86fe3) I.e. WICKET-4500 should be valid again. @Chris Colman: Please retest it. On Mon, Dec 24, 2012 at 2:09 AM, Chris Colman wrote: > Ah exce

Re: How to resolve right path for variable images (with Jetty)

2012-12-27 Thread Martin Grigorov
Use ByteArrayResource instead that loads the image's bytes from wherever you need. On Wed, Dec 26, 2012 at 2:54 PM, Delange wrote: > In my webapplication a user can upload images. They are displayed on other > pages. > > When I start the application with Jetty from the Eclipse directory, all >