* 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
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
* 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
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
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()
* 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
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
* 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/
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;
}});
* 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
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
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.
12 matches
Mail list logo