);
}
};
showAllLink.setOutputMarkupId(true);
Date: Thu, 22 Oct 2009 18:05:46 -0700
Subject: Re: AjaxFallbackLink problem on Internet Explorer 6
From: danelave...@gmail.com
To: users@wicket.apache.org
You need to add the spans to the target in onClick, and the links need
Hi tried to follow this and having problem with it . Could someone please let
me know what I'm doing wrong
Here is the code
package com.swishmark.tugboat;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import org.apache.wicket.PageParameters;
import
It's suppose to hide Show All and show Show Mine when I click on Show All but
that doesn't happen. on the onclick of showmine it is supposed to be
showMineSpan.setVisible(false);
showAllSpan.setVisible(true);
instead
You need to add the spans to the target in onClick, and the links need to
have their outputMarkupId set to true, as follows (I've added the ***
lines):
final Link showMineLink =new AjaxFallbackLink(trafficreportlistmine) {
public void onClick(AjaxRequestTarget target) {
);
target.addComponent(showAllSpan);
target.addComponent(replacement);
}
};
showAllLink.setOutputMarkupId(true);
Date: Thu, 22 Oct 2009 18:05:46 -0700
Subject: Re: AjaxFallbackLink problem on Internet Explorer 6
I found the solutionit is not a wicket problem. The problem was in my
CSS files.
marius1maru wrote:
Hello,
I'm using a ListView of links limited to only 5 links, an
AjaxFallbackLink (showMore) that will remove the limitation, and another
AjaxFallbackLink
(showLess) that will
I'm sorry, I just saw that I have some writting errors:
its
final AjaxFallbackLink showMoreLink = new AjaxFallbackLink
istead of
final AjaxFallbackLink showMoreLink = new AjaxLink
and
final WebMarkupContainer