Link to static image from packaged css

2013-08-05 Thread Tom Eicher
Hello, there seems to be some difficulty linking between static and packages resources, or at least a lot of confusion in forums ;-) If I refer to a static css from a wicket:link or wicket:head, the link will be relativized automatically, right ? However, I do have a CSS that is specific to a

Re: Static image

2013-07-01 Thread arronlee
IResource and the generated url doesn't depend on the page/component. I think this is the most helpful reply. A static image will be linked successfully this way. Thanks for the nice sharing. It helps a lot. - Best Regards, Arron | Image Processing SDK | Next Tomorrow is Another Day

Re: Static image

2013-01-10 Thread René Vangsgaard
/component. On Tue, Jan 8, 2013 at 12:30 AM, René Vangsgaard rene.vangsga...@gmail.comwrote: Hi - I would like to link to a static image, and the link should be stateless. I have tried this (using Scala): val img = new Image(img, new ContextRelativeResource(images/img + imgId

Re: Static image

2013-01-08 Thread Andrea Del Bene
Have you tried with ContextImage? Hi - I would like to link to a static image, and the link should be stateless. I have tried this (using Scala): val img = new Image(img, new ContextRelativeResource(images/img + imgId + .png)) But the link becomes stateful. I just found val img = new Image

Re: Static image

2013-01-08 Thread Martin Grigorov
and the generated url doesn't depend on the page/component. On Tue, Jan 8, 2013 at 12:30 AM, René Vangsgaard rene.vangsga...@gmail.comwrote: Hi - I would like to link to a static image, and the link should be stateless. I have tried this (using Scala): val img = new Image(img, new

Static image

2013-01-07 Thread René Vangsgaard
Hi - I would like to link to a static image, and the link should be stateless. I have tried this (using Scala): val img = new Image(img, new ContextRelativeResource(images/img + imgId + .png)) But the link becomes stateful. I just found val img = new Image(img, new UrlResourceReference(new

recommended static image/resource strategy

2009-07-09 Thread Doug Leeper
Our app has been working great this past year but we recently encountered a strange behavior and wanted to get the communities input on how to proceed. Background: * Wicket 1.3.6 * JDK 1.5 * Jetty (dev) / Apache and Tomcat (prod) * The URL to our app follows this

Re: recommended static image/resource strategy

2009-07-09 Thread Igor Vaynberg
it seems like a bug in ServletWebRequest#getRelativePathPrefixToWicketHandler(), you might want to subclass that, check for those two params in the url, and add an additional ../.. as a hack for right now. also open a jira issue for us to fix it. -igor On Wed, Jul 8, 2009 at 2:46 PM, Doug

Re: recommended static image/resource strategy

2009-07-09 Thread Doug Leeper
: Igor Vaynberg igor.vaynb...@gmail.com To: users@wicket.apache.org; Doug Leeper douglee...@yahoo.com Sent: Thursday, July 9, 2009 10:13:05 AM Subject: Re: recommended static image/resource strategy it seems like a bug in ServletWebRequest#getRelativePathPrefixToWicketHandler(), you might want

Re: recommended static image/resource strategy

2009-07-09 Thread Doug Leeper
My issue appears to be not new... https://issues.apache.org/jira/browse/WICKET-1889 https://issues.apache.org/jira/browse/WICKET-1700 But this only applies to v1.4. -- View this message in context: http://www.nabble.com/recommended-static-image-resource-strategy-tp24407111p24415043.html Sent

Re: recommended static image/resource strategy

2009-07-09 Thread Doug Leeper
My issue appears to be not new... https://issues.apache.org/jira/browse/WICKET-1889 https://issues.apache.org/jira/browse/WICKET-1700 But the fix is for v1.4.x not v1.3.6 -- View this message in context: http://www.nabble.com/recommended-static-image-resource-strategy-tp24407111p24415044.html

RE: Using a static image map

2008-04-16 Thread Cristina
-02, Module02.class)); Thanks for your help, Cristina -- View this message in context: http://www.nabble.com/Using-a-static-image-map-tp16656656p16738785.html Sent from the Wicket - User mailing list archive at Nabble.com

RE: Using a static image map

2008-04-14 Thread Martijn C. Vos
Cristina wrote: Hello, I've defined a simple HTML image map from a business process diagram: div class=image-place !-- img and usemap definition here... -- map name=basic-process-500x375 area shape=rect coords=8,136,71,178 href=Module01.html title=Subprocess

Using a static image map

2008-04-12 Thread Cristina
, Cristina -- View this message in context: http://www.nabble.com/Using-a-static-image-map-tp16656656p16656656.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED