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
> 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
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/
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("
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)
{
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
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
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