feedback message problem after redirecting
------------------------------------------
Key: WICKET-1234
URL: https://issues.apache.org/jira/browse/WICKET-1234
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.3.0-rc2
Environment: Kubuntu, Eclipse, Tomcat
Reporter: Jan Loose
I think i have found one bug: there is no message in the feedback panel after
ajax redirect (normal redirect after normal request is ok).
Source:
public class ExamplePage extends WebPage {
private FeedbackPanel feedback;
public ExamplePage() {
add(feedback = new FeedbackPanel("feedback"));
feedback.setOutputMarkupPlaceholderTag(true);
add(new Link("link") {
@Override
public void onClick() {
ExamplePage.this.info("link: onClick");
setResponsePage(ExamplePage.this); // info is displayed in
feedback panel
}
});
add(new AjaxLink("ajaxlink") {
@Override
public void onClick(AjaxRequestTarget target) {
ExamplePage.this.info("ajax link: onClick");
target.addComponent(feedback);
setResponsePage(ExamplePage.this); // TODO info is NOT
displayed in feedback panel, why?
}
});
}
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.