Re: [Wicket-user] Problem loading dynamic image using ajax

2007-05-27 Thread Kent Tong
Michael K yahoo.com> writes: > Is that what causing the dynamic image to be expired? I don't know. You may create a sample page that really demonstrates the problem. Using the code you showed I don't see the image being expired. -

Re: [Wicket-user] Problem loading dynamic image using ajax

2007-05-27 Thread Michael K
Is that what causing the dynamic image to be expired? - Original Message From: Kent Tong <[EMAIL PROTECTED]> To: wicket-user@lists.sourceforge.net Sent: Saturday, May 26, 2007 10:49:53 PM Subject: Re: [Wicket-user] Problem loading dynamic image using ajax Michael K yahoo.com&g

Re: [Wicket-user] Problem loading dynamic image using ajax

2007-05-26 Thread Kent Tong
Michael K yahoo.com> writes: > To obtain the requestcycle in the constructor, I do RequestCycle.get(); > in the WebPage constructor. You shouldn't do that. You have a request cycle only when there is a request from the browser, not when your page is constructed. ---

Re: [Wicket-user] Problem loading dynamic image using ajax

2007-05-26 Thread Michael K
; // image1 will expired. } } To obtain the requestcycle in the constructor, I do RequestCycle.get(); in the WebPage constructor. Please help. Michael - Original Message From: Kent Tong <[EMAIL PROTECTED]> To: wicket-user@lists.sourceforge.net Sent: Saturday, May 26, 2007 2:49:

Re: [Wicket-user] Problem loading dynamic image using ajax

2007-05-26 Thread Kent Tong
Michael K yahoo.com> writes: > Hi,I have problem displaying dynamic image using ajax. The problem is > that the image url became expired after the page has rendered. The page > was loaded fine it didn't triggered page expired. I think there is something wrong with your code: How can you access

[Wicket-user] Problem loading dynamic image using ajax

2007-05-23 Thread Michael K
Hi, I have problem displaying dynamic image using ajax. The problem is that the image url became expired after the page has rendered. The page was loaded fine it didn't triggered page expired. Please check out my sample code below: public class AjaxPage extends WebPage { public AjaxPa