FeedbackPanel customization

2013-07-17 Thread Daniel Watrous
Hi, I'm working on a modification of the FeedbackPanel to work better with my theme. I would like to prevent the class for the actual message from being appended to. Right now MessageListView is a private final class and the populateItem adds an AttributeModifier to both the label and the

Re: FeedbackPanel customization

2013-07-17 Thread Sebastien
Hi Daniel, In such a case, you have to not use getCSSClass, but override newMessageDisplayComponent instead. You have a sample here: https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui/src/main/java/com/googlecode/wicket/jquery/ui/panel/JQueryFeedbackPanel.java

RE: FeedbackPanel customization

2013-07-17 Thread Paul Bors
{ background-color: lightgreen; border: 1px solid darkgreen; } ~ Thank you, Paul Bors -Original Message- From: Sebastien [mailto:seb...@gmail.com] Sent: Wednesday, July 17, 2013 5:21 PM To: users@wicket.apache.org Subject: Re: FeedbackPanel customization Hi Daniel, In such a case, you

Re: FeedbackPanel customization

2013-07-17 Thread Cedric Gatay
Hi,the fix for the issue you face with Css classes has been integrated into Wicket 7.0 (https://issues.apache.org/jira/browse/WICKET-4852).Regards, On 17 juillet 2013 at 22:54:37, Daniel Watrous (dwmaill...@gmail.com) wrote: Hi, I'm working on a modification of the FeedbackPanel to work better

Re: FeedbackPanel customization

2013-07-17 Thread Daniel Watrous
Hi Sebastian, I looked at your example, but it's not quite what I need. I want the style applied to 'messages' but not to 'message'. Your example seems to allow for a style to be applied to 'message' and not to 'messages' I've tried implementing it, but that's where I'm stuck. Am I missing

Re: FeedbackPanel customization

2013-07-17 Thread Daniel Watrous
; } ~ Thank you, Paul Bors -Original Message- From: Sebastien [mailto:seb...@gmail.com] Sent: Wednesday, July 17, 2013 5:21 PM To: users@wicket.apache.org Subject: Re: FeedbackPanel customization Hi Daniel, In such a case, you have to not use getCSSClass, but override