Just to get this out of my system: I spent hours and hours and hours trying
to solve this (Error 404: File not found:
/bookmarkable/org.apache.wicket.markup.html.link.PopupCloseLink$ClosePopupPage).
Nobody could help me here. Tried a quickstart, couldn't reproduce it there,
so obviously in my specific case Wicket decides to go left at some austere
point where it should go right.
And my usecase is so simple: press a button that closes a PopupPage. And it
worked fine in some older Wicket version.
This is so frustrating. Another example. Just this week I upgraded to Wicket
1.5.4, and all of a sudden all my Dropdownboxes generated warnings and
behaved differently (not showing the wright default value). I fixed this,
but again it cost me a lot of time.
And the 404... In the end I fixed that too:
public class WindowClosingButtonThatRealyWorks extends Button {
private static final long serialVersionUID = -8141558420171531381L;
public WindowClosingButtonThatRealyWorks(String id, IModel<String>
model) {
super(id, model);
addClosingBehaviour();
}
private void addClosingBehaviour() {
this.add(new AttributeAppender("onclick", new
Model<Serializable>("window.close()"), ";"));
}
}
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Error-404-File-not-found-bookmarkable-org-apache-wicket-markup-html-link-PopupCloseLink-ClosePopupPae-tp4169232p4338715.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]