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
> As Andrea mentioned you can use ContextImage which also doesn't use > 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 l

Re: Static image

2013-01-10 Thread René Vangsgaard
27;t use > IResource and the generated url doesn't depend on the page/component. > > > On Tue, Jan 8, 2013 at 12:30 AM, René Vangsgaard > wrote: > > > Hi - I would like to link to a static image, and the link should be > > stateless. > > > > I

Re: Static image

2013-01-08 Thread Martin Grigorov
use IResource and the generated url doesn't depend on the page/component. On Tue, Jan 8, 2013 at 12:30 AM, René Vangsgaard wrote: > 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

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

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

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: 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
I have added a quick start to exemplifies the issue at hand. Please see https://issues.apache.org/jira/browse/WICKET-2361 for those that are interested. Thanks -- View this message in context: http://www.nabble.com/recommended-static-image-resource-strategy-tp24407111p24413328.html Sent

Re: recommended static image/resource strategy

2009-07-09 Thread Doug Leeper
e() method. From: Igor Vaynberg To: users@wicket.apache.org; Doug Leeper 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 to subclass that, check for those

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 Leeper

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: Using a static image map

2008-04-16 Thread Cristina
map... add(new PageLink("module-01", Module01.class)); add(new PageLink("module-02", Module02.class)); Thanks for your help, Cristina -- View this message in context: http://www.nabble.com/Using-a-static-ima

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: > > > > > href="Module01.html" title="Subprocess 1" /> > href="Module02.html" title="Subprocess 2" /> > href="Module03.html"

Using a static image map

2008-04-12 Thread Cristina
t: 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] For additional commands, e-mail: [EMAIL PROTECTED]