I examined the logs when the application is used with Chrome and IE and the
differences start from the following:
In IE:
10-09-2011 19:28:32,928 DEBUG org.apache.wicket.Session.getPage:701 -
Getting page [path = 1:thumbnail_repeater:1:cols:2:view_link:image1,
versionNumber = 0]
10-09-2011 19:28:32,931 DEBUG
org.apache.wicket.RequestCycle.setRequestTarget:648 - setting request
target to [BookmarkablePageRequestTarget@779875460
pageClass=org.apache.wicket.markup.html.pages.PageExpiredErrorPage]
While in Chrome it is:
10-09-2011 19:29:42,645 DEBUG org.apache.wicket.Session.getPage:701 -
Getting page [path = 1:thumbnail_repeater:1:cols:2:view_link:image1,
versionNumber = 0]
10-09-2011 19:29:42,647 DEBUG org.apache.wicket.Session.getPage:701 -
Getting page [path = 1:thumbnail_repeater:1:cols:2:view_link:image2,
versionNumber = 0] I ALSO PUT A PRINT STATEMENT INSIDE THE GETIMAGEDATA()
METHOD OF IMAGE1. IT IS NOT CALLED WHEN APPLICATION IS BROWSED WITH IE.
STRANGE THING IS THAT, ON SECOND REQUEST EVERYTHING WORKS FINE IN IE. The
problem is not in the immediate detachment of models, it's the same way in
both browsers, I just didn't know Wicket releases loadabledetachablemodels
right after render. Any help will be greatly appreciated - I'm stuck for
several days on this issue. Thank you,
Martin
----- Цитат от Carl-Eric Menzel ([email protected]), на
09.09.2011 в 12:14 ----- Do you have a quickstart to try this?
Carl-Eric
www.wicketbuch.de
On Thu, 8 Sep 2011 13:37:03 -0000
[email protected] wrote:
Would anyone help me with this? I'm desparate on fixing it....
Thank you,
Martin
----- Цитат от [email protected], на 06.09.2011 в 15:51
-----
Hello,
I have the following problem. I have a repeater which declares Images
as so:
NonCachingImage image1 = new NonCachingImage("image1", new
BufferedDynamicImageResource() {
private static final long serialVersionUID = 1L;
@Override
protected byte[] getImageData() {
return detachable.getObject().getItem1().getThumbData();
}
});
When the repeater is rendered and displayed in IE, getImageData is not
called and therefore images are not shown. However, if I copy the
image src
and hit that URL, the image gets loaded.
I believe for some reason IE thinks the image is cached, although it
has never beed loaded and therefore does not retrieve the source of
the image. Don't know if this is the real reason.
Has anybody been into this issue before?
Regards,
Martin
-------------------------------------
Сега е по-лесно да получиш най-добрата
куриерска услуга на
телефон *3456(*DHL6)
-------------------------------------
Mail.bg: Безплатен e-mail адрес. Най-добрите
характеристики на
българския пазар - 10 GB пощенска кутия, 20 MB
прикрепен файл,
безплатен POP3, мобилна версия, SMS
известяване и други.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
-------------------------------------
Mail.bg: Безплатен e-mail адрес. Най-добрите характеристики на българския пазар
- 10 GB пощенска кутия, 20 MB прикрепен файл, безплатен POP3, мобилна версия,
SMS известяване и други.