Re: Image source location problems, examples did not help

2012-11-07 Thread Ernesto Reinaldo Barreiro
Why not use ContextImage?

On Wed, Nov 7, 2012 at 11:37 AM, Delange  wrote:

> sorry, the directory structure is exactly
>
> myapplication
> >css
> >images
> >opdrachten
> >WEB-INF
> >  classes etc etc
>
>
> Both directories (images and opdrachten) contain images. The images from
> opdrachten are uploads from the website
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Image-source-location-problems-examples-did-not-help-tp4653664p4653673.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>


Re: Image source location problems, examples did not help

2012-11-07 Thread Delange
sorry, the directory structure is exactly

myapplication 
>css 
>images 
>opdrachten
>WEB-INF 
>  classes etc etc 


Both directories (images and opdrachten) contain images. The images from
opdrachten are uploads from the website



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Image-source-location-problems-examples-did-not-help-tp4653664p4653673.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Image source location problems, examples did not help

2012-11-06 Thread Martin Grigorov
Hi,

How 'opdracten' is related to 'images' folder (the one that is next to
WEB-INF) ?


On Tue, Nov 6, 2012 at 11:20 PM, Delange  wrote:

> Maybe it's easy but I struggle to long with it. In my webapplication I have
> this structure
> myapplication
>css
>images
>WEB-INF
>  classes etc etc
>
> My Html looks like this
> 
>
> My Java is:
> StaticImage imageTest = new StaticImage("imagetest",new
> Model("/opdrachten/284/P1010841.JPG"));
> form.add(imageTest);
>
> Then on my page the link is
> 
>
>
> I also tried Image but that didn't work either. What's wrong?
>
> And what to do when the location in another directory on the same system?
>
>
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Image-source-location-problems-examples-did-not-help-tp4653664.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>


Re: Image source location problems, examples did not help

2012-11-06 Thread Delange
Yes I mistypped it. 
Do you have a suggestion how to solve this problem?




--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Image-source-location-problems-examples-did-not-help-tp4653664p4653666.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Image source location problems, examples did not help

2012-11-06 Thread Richard W. Adams
Perhaps I misunderstand the question, but  is 
not valid HTML. Perhaps you want something like this?


_

I have yet to meet a C compiler that is more friendly and easier to use 
than eating soup with a knife.




From:   Delange 
To: users@wicket.apache.org
Date:   11/06/2012 03:20 PM
Subject:Image source location problems, examples did not help



Maybe it's easy but I struggle to long with it. In my webapplication I 
have
this structure
myapplication
   css
   images
   WEB-INF
 classes etc etc

My Html looks like this
 

My Java is:
StaticImage imageTest = new StaticImage("imagetest",new
Model("/opdrachten/284/P1010841.JPG"));
form.add(imageTest);

Then on my page the link is
 


I also tried Image but that didn't work either. What's wrong?

And what to do when the location in another directory on the same system?





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Image-source-location-problems-examples-did-not-help-tp4653664.html

Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




**

This email and any attachments may contain information that is confidential 
and/or privileged for the sole use of the intended recipient.  Any use, review, 
disclosure, copying, distribution or reliance by others, and any forwarding of 
this email or its contents, without the express permission of the sender is 
strictly prohibited by law.  If you are not the intended recipient, please 
contact the sender immediately, delete the e-mail and destroy all copies.
**


Image source location problems, examples did not help

2012-11-06 Thread Delange
Maybe it's easy but I struggle to long with it. In my webapplication I have
this structure
myapplication
   css
   images
   WEB-INF
 classes etc etc

My Html looks like this
 

My Java is:
StaticImage imageTest = new StaticImage("imagetest",new
Model("/opdrachten/284/P1010841.JPG"));
form.add(imageTest);

Then on my page the link is
 


I also tried Image but that didn't work either. What's wrong?

And what to do when the location in another directory on the same system?





--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Image-source-location-problems-examples-did-not-help-tp4653664.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org