Re: [Wicket-user] AjaxLink not updating Image

2007-07-04 Thread Sven Schliesing
Done: https://issues.apache.org/jira/browse/WICKET-720 But unfortunately the TestCase works as expected, while the "in the wild" test fails. -- View this message in context: http://www.nabble.com/AjaxLink-not-updating-Image-tf3915168.html#a11425908 Sent from the Wicket - User mailing list archi

Re: [Wicket-user] AjaxLink not updating Image

2007-07-03 Thread Eelco Hillenius
> I am experiencing the same behavior with 1.3.0-beta2. My code: > > final Image image = new Image("image", "gfx/online.gif"); > Link imageLink = new AjaxFallbackLink("imageToggle") { > > @Override > public void onClick(AjaxRequestTarget target) { > image.setModel(ne

Re: [Wicket-user] AjaxLink not updating Image

2007-07-03 Thread muffl0n
I am experiencing the same behavior with 1.3.0-beta2. My code: final Image image = new Image("image", "gfx/online.gif"); Link imageLink = new AjaxFallbackLink("imageToggle") { @Override public void onClick(AjaxRequestTarget target) { image.setModel(new Model("gfx/

Re: [Wicket-user] AjaxLink not updating Image

2007-06-17 Thread ravi.gidwani
Also dont forget to : ajaxRequestTarget.add(label); ~Ravi Gidwani. ravi.gidwani wrote: > > Hey Jeremy, > You can try the attribute modifier. Try this: > > final Label label = new Label("image"); > > > AjaxLink someLink = new AjaxLink("

Re: [Wicket-user] AjaxLink not updating Image

2007-06-17 Thread ravi.gidwani
Hey Jeremy, You can try the attribute modifier. Try this: final Label label = new Label("image"); AjaxLink someLink = new AjaxLink(".") { public void onClick(AjaxRequestTarget ajaxRequestTarget) {

Re: [Wicket-user] AjaxLink not updating Image

2007-06-15 Thread Jeremy Levy
Any ideas? On 6/13/07, Jeremy Levy <[EMAIL PROTECTED]> wrote: Yes, thats seems to be the case, if I call getModel().toString() right after it prints out the updated value but the Debug output still has the old/wrong value. Jeremy On 6/13/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > so t

Re: [Wicket-user] AjaxLink not updating Image

2007-06-13 Thread Jeremy Levy
Yes, thats seems to be the case, if I call getModel().toString() right after it prints out the updated value but the Debug output still has the old/wrong value. Jeremy On 6/13/07, Johan Compagner <[EMAIL PROTECTED]> wrote: so the problem is that in the ajax request you still send the initial i

Re: [Wicket-user] AjaxLink not updating Image

2007-06-13 Thread Johan Compagner
so the problem is that in the ajax request you still send the initial image? so it seems that set model on the nci has no effect at all? On 6/13/07, Jeremy Levy <[EMAIL PROTECTED]> wrote: > I have an AjaxLink link that I am trying to use to update an image, in the > onClick method I am replacing t

[Wicket-user] AjaxLink not updating Image

2007-06-13 Thread Jeremy Levy
I have an AjaxLink link that I am trying to use to update an image, in the onClick method I am replacing the Model of the image to the new path, however it's not working. I've tried it with Image and NonCachingImage, and also turned off Caching in FireFox. I'm not sure but the XML being sent doe