Thanks!
I'll try those options.
A
On Tue, Jul 5, 2011 at 11:45 AM, Martin Grigorov wrote:
> You can use ContextImage and put the image itself next to WEB-INF folder.
>
> the anti-cache parameter is added to Image components so that they are
> re-rendered when added to AjaxRequestTarget
> with W
You can use ContextImage and put the image itself next to WEB-INF folder.
the anti-cache parameter is added to Image components so that they are
re-rendered when added to AjaxRequestTarget
with Wicket 1.5-RC5.1 there is
org.apache.wicket.markup.html.image.Image.shouldAddAntiCacheParameter()
which
I see.
So how do you usually include common images in your application? Say
for instance you have a form button functionality, but you want it
displayed as an image instead of the standard html button. Here we
have used a button with an image, but the image gets rendered with the
wicket:antiCache
We should revise this code.
At least this shouldn't be a warning. I see it as debug. But as I said
I need to look in this code first before I can comment.
I personally don't use SharedResourceReferences in my app and thus
never faced this issue.
On Tue, Jul 5, 2011 at 10:13 AM, Anders Smestad
wro
But even when I follow the guidelines from the wicketstuff images
examples, I get the WARN - ResourceReferenceRegistry - Resource
reference not added to registry. reference.canBeRegistered() == false
Why cannot a shared reference be registered?
A
On Mon, Jul 4, 2011 at 10:41 PM, Anders Smestad
Done: https://issues.apache.org/jira/browse/WICKET-3869
A
On Mon, Jul 4, 2011 at 7:46 PM, Martin Grigorov wrote:
> See how http://wicketstuff.org/wicket/images/ creates the images.
> If you can create a quickstart application that shows the problem then
> attach it to a ticket.
>
> On Mon, Jul 4
See how http://wicketstuff.org/wicket/images/ creates the images.
If you can create a quickstart application that shows the problem then
attach it to a ticket.
On Mon, Jul 4, 2011 at 6:42 PM, Anders Smestad wrote:
> Hi. I have a simple (test) page with an ajax link that displays a
> modal window
Hi. I have a simple (test) page with an ajax link that displays a
modal window when clicked.
The modal window contains some text and an image-link. The image is
added to a link as
link.add(new Image("image", sharedResourceReference);
When displaying the modal window, everything displays correctl
> In my application I've added a shared resource. This resource is in a
> seperate resource package (com.test.resources). In that package there's also
> a 'dummy' class ResourceGetter, just to get access to the package. So in the
> init of my application i've putted :
>
> getSharedResources().add("
link or img tag, so wicket will look for my resource in
com.test.resources and not in the package my page is in? And can i also use
the shared name "imgStar" instead of "star.gif"?
I want something like :
< img src="imgStar" >
Thanks for the help !
--
View this mes
10 matches
Mail list logo