You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Anna Simbirtsev <as...@gmail.com> on 2010/06/18 22:28:37 UTC
Anchor, not jumping in Mozilla
Hi,
I have a SubmitLink that submits the form and returns to the same page. But
I need it to jump to the result section.
I added an anchor:
form = new ShinyForm("myForm") {
private static final long serialVersionUID =
-4058461619493381294L;
protected void onComponentTag(ComponentTag tag)
{
super.onComponentTag(tag);
StringBuilder b = new
StringBuilder(tag.getString("action").toString()).append("#result");
tag.put("action", b.toString());
}
};
The anchor appears in url and it jump in Google Chrome, but not in Mozilla.
In mozilla, I need to click reload for it to jump.
Thanks,
Anna