[ https://issues.apache.org/jira/browse/WICKET-4831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov updated WICKET-4831: ------------------------------------ Summary: Append the feedback message CSS class instead of overriding it (was: Split custom CSS for Feedback message (list and label)) > Append the feedback message CSS class instead of overriding it > -------------------------------------------------------------- > > Key: WICKET-4831 > URL: https://issues.apache.org/jira/browse/WICKET-4831 > Project: Wicket > Issue Type: Improvement > Components: wicket > Affects Versions: 1.5.8 > Reporter: Sebastien Briquet > Priority: Minor > Labels: patch > Attachments: > 0001-Updated-FeedbackPanel-added-getListCSSClass-getLabel.patch > > > Hi, > Following the users@ thread entitled "Custom CSS for Feedback message is > broken in 1.5", please find attached a patch that provides #getListCSSClass > (applied onto <li /> elements) and #getLabelCSSClass (applied onto the > underneath <span /> element). > Both methods return #getCSSClass by default for backward compatibility. > Please note that #getCSSClass has been marked as deprecated (and to be > changed to private in next version) to prevent confusion. (imagine the user > overrides all 3 methods for instance, its #getCSSClass will be ineffective). > The patch has been done based on wicket-1.5.x branch (github). I did not see > a relevant dev branch for 1.5.9 specifically. > Best regards, > Sebastien -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira