Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-19 Thread Jean-Baptiste Quenot
* Carfield Yim: Astheuserwill deploytheapplicationwith difference web application name, like http://host1/app1 or http://host2/app2. The URL will be /app1/images/icon.jpg or /app2/images/icon.jpg . How can I set the image path to something like

Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-19 Thread Juergen Donnerstag
Please take a look at the examples. They are usually a good source for informaton. As far as I can tell, in Wicket you don't need it, at least I didn't. Juergen On 11/19/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Carfield Yim: Astheuserwill deploytheapplication

Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-19 Thread Jean-Baptiste Quenot
* Juergen Donnerstag: Please take a look at the examples. They are usually a good source for informaton. As far as I can tell, in Wicket you don't need it, at least I didn't. It works in the general case if you use relative paths, for example: img src=images/empty.gif But if you use

Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-19 Thread Juergen Donnerstag
ApplicationSettings.getContextPath() and PrependContextPathHandler Juergen On 11/19/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Juergen Donnerstag: Please take a look at the examples. They are usually a good source for informaton. As far as I can tell, in Wicket you don't

Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-19 Thread Johan Compagner
yes, just set the context path in the settings when you are behind a proxy/virtual host. then it should work. Please let us know what situation doesn't work for you that you expect to work. johan On 11/19/06, Juergen Donnerstag [EMAIL PROTECTED] wrote: ApplicationSettings.getContextPath()

Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-19 Thread Jean-Baptiste Quenot
* Juergen Donnerstag: ApplicationSettings.getContextPath() and PrependContextPathHandler Thanks Juergen, PrependContextPathHandler seems to be what we are looking for indeed. But what does it mean « This is a markup inline filter which by default is added to the list of markup

Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-19 Thread Juergen Donnerstag
That is added by default Juergen On 11/19/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Juergen Donnerstag: ApplicationSettings.getContextPath() and PrependContextPathHandler Thanks Juergen, PrependContextPathHandler seems to be what we are looking for indeed. But what does

Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-19 Thread Jean-Baptiste Quenot
* Juergen Donnerstag: That is added by default So, the links are already transformed automagically without the need to do anything more? I have to check that. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/

Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-19 Thread Igor Vaynberg
you have to version properties if you want back button support public void setExternalSrc(boolean externalSrc) { if (externalSrc!=this.externalSrc) { final boolean old=this.externalSrc; addStatChange(new Change() { void undo() { this.externalSrc=old; }});

Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-17 Thread Jean-Baptiste Quenot
* Erik van Oosten: I think you are looking for this information: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html I don't think this is the right answer as the URL is not generated by Wicket in this usecase. -- Jean-Baptiste Quenot aka John Banana Qwerty

[Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-16 Thread Carfield Yim
As the user will deploy the application with difference web application name, like http://host1/app1 or http://host2/app2. The URL will be /app1/images/icon.jpg or /app2/images/icon.jpg . How can I set the image path to something like $baseurl/images/icon.jpg ? I've try to setup base href=/baseurl

Re: [Wicket-user] Just wonder how everybody manage the image path when using wicket?

2006-11-16 Thread Erik van Oosten
Hi Carfield, I think you are looking for this information: http://cwiki.apache.org/WICKET/wicket-behind-a-front-end-proxy.html Regards, Erik. Carfield Yim schreef: As the user will deploy the application with difference web application name, like http://host1/app1 or http://host2/app2.