Re: How can I modify onclick attribute of Link (wicket7) ?

2015-09-04 Thread xesj
Thank You. This is perfect solution: add( new Link("linkWithConfirm") { @Override public void onClick() { setResponsePage(Abc.class); } @Override protected void onComponentTag(ComponentTag tag) { // parent makes attributes

Bug in Wicket 7.0.0-M6 and 7.0.0

2015-09-01 Thread xesj
= " width: " + width + ";"; border.add(new AttributeModifier("style", style)); border.add(feedback = new FeedbackPanel("feedback")); } // - } Bye, xesj -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Bug-in-Wicket

Re: Bug in Wicket 7.0.0-M6 and 7.0.0

2015-09-02 Thread xesj
Hi ! Ok, I created quickstart application, and create jira. The quickstart application has another bug (from 1.4 to 7.0.0 version): 1891.10.01 is invalid date for Wicket :) -- View this message in context:

How can I modify onclick attribute of Link (wicket7) ?

2015-09-04 Thread xesj
Hi ! When a Link doesn't open popup window, I can write onclick in html code: ... But 'popup' Link rewrites onclick attribute. I tried to modify this javascript, but this example isn't working: add( new Link("linkWithConfirm") { @Override public void onClick() {