Thank you Martin. Lovely.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Struggling-with-ContextRelativeResource-RenderedDynamicImageResource-and-SharedResources-tp4662190p4667115.html
Sent from the Users forum mailing list archive at Nabble.com.
Hi,
With the following modifications it works:
in HomePage.html:
static resource from Web Container
ContextRelativeResource with SharedResourceReference
PlaceholderImageResourceReference
in HomePage.java:
add(new Image("dotclear1", new SharedResourceReference("dotclear")));
add(new Imag
Hi Ernesto,
after a couple of weeks (months) I still haven't found a solution. Any idea?
Thanks for your helping hand.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Struggling-with-ContextRelativeResource-RenderedDynamicImageResource-and-SharedResources-tp4662190p46
Did not have time to look at it. I will try today.
On Tue, Nov 12, 2013 at 7:44 AM, Dirk Forchel wrote:
> Did anybody try to run my attached quickstart application and can explain
> why
> the additional LocaleMapper changes the path?
>
>
>
> --
> View this message in context:
> http://apache-wic
Did anybody try to run my attached quickstart application and can explain why
the additional LocaleMapper changes the path?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Struggling-with-ContextRelativeResource-RenderedDynamicImageResource-and-SharedResources-tp4662
No, actually not. We've got a complete layout for our web applications from
an external design company and they use this CSS+static image resource thing
quite often. And, as I have mentioned before, we have two Wicket web
applications running in the same container. One of them on the root context
a
may I ask what is the use case for this 1x1 PNG? Is it something that
cannot be handled via CSS + static image on resources?
On Fri, Nov 8, 2013 at 8:49 AM, Dirk Forchel wrote:
> Okay. I know, but their is no need for an additional parameter. I want to
> generate always the same image (a 1x1px P
Okay. I know, but their is no need for an additional parameter. I want to
generate always the same image (a 1x1px PNG with a transparent background).
So I don't see the need for a parameter.
But I try to prepare a quickstart.
--
View this message in context:
http://apache-wicket.1842946.n4.nabb
If you mount a global resource then you can pass a parameter to it and use
that parameter to generate dynamic image. If you create a quickstart I
could try to look at it and help (if I can).
On Fri, Nov 8, 2013 at 8:18 AM, Dirk Forchel wrote:
> Yes, I know this article and based on this one I wr
Yes, I know this article and based on this one I wrote the
PlaceholderImageResourceReference class. And it works as expected. I mean I
can add this resource reference to each component I want.
Panel:
add( new Image("placeholderImg", new PlaceholderImageResourceReference() )
);
Markup:
But this
Did you read this?
http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/
On Fri, Nov 8, 2013 at 6:56 AM, Dirk Forchel wrote:
> No comment? No idea? Probably another solution?
> Thanks
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Struggling
No comment? No idea? Probably another solution?
Thanks
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Struggling-with-ContextRelativeResource-RenderedDynamicImageResource-and-SharedResources-tp4662190p4662219.html
Sent from the Users forum mailing list archive at Na
And finally I've added two Image components to the Panel (this works as
expected).
In my Panel.class:
add( new Image("img1", new SharedResourceReference("dotclear") ) );
add( new Image("img2", new PlaceholderImageResourceReference() ) );
HTML:
Rendered URLs:
In addition we use the placeholder
13 matches
Mail list logo