Hi,

there's no build-in message, but you can easily build your own:

MyPage() {
  FeedbackPanel feedbackPanel = new FeedbackPanel("feedback");
  add(feedbackPanel);

  add(new Label("feedbackcount", new StringResourceModel("feedbackcount", feedback.getFeedbackMessagesModel())));
}

<span wicket:id="feedbackcount"/>

feedbackcount=Please correct ${size} feedbacks.

Or encapsulate the whole stuff in your own FeedbackPanel subclass.

Have fun
Sven


Am 31.01.2018 um 21:06 schrieb Entropy:
We have ComponentFeedbackPanels in our app.  But we should a message in a top
feedback that is something like "You have errors, please fix them".  They'd
like to make it include a COUNT of the other messages out there.

Is there a specifier for that?  Like in the message in the properties file,
is there a ${count} or something?  And is there a full list of those
specifiers that are usable in the properties file?  I haven't seen one.

--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to