Hi, Please create a quickstart application or WicketTester test and attach it to a ticket in JIRA. Thanks!
Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Tue, Sep 1, 2015 at 4:10 PM, xesj <[email protected]> wrote: > Hi ! > > I use FeedbackPanel.anyMessage() method. > This method doesn't work perfectly with version 7.0.0-M6 and 7.0.0 (from > 1.4 > to 7.0.0-M5 were correct). > So I use my project with 7.0.0-M5 version :( > This is my code: > > package aa; > import org.apache.wicket.AttributeModifier; > import org.apache.wicket.markup.html.WebMarkupContainer; > import org.apache.wicket.markup.html.panel.FeedbackPanel; > import org.apache.wicket.markup.html.panel.Panel; > public class MyFeedback extends Panel { > // ----- > FeedbackPanel feedback; > // ----- > public MyFeedback(String id, String width) { > super(id); > // border > WebMarkupContainer border = new WebMarkupContainer("border"){ > @Override > public boolean isVisible() { > return feedback.anyMessage(); // !!! BUG !!! > } > }; > add(border); > String style = "display: inline-block;"; > if (width != null) style += " 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-7-0-0-M6-and-7-0-0-tp4671890.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] > >
