Details
-
Type:
New Feature
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: Release 1.4
-
Fix Version/s: Release 1.6
-
Component/s: Tag Library
-
Labels:None
Description
Would you consider adding new tags for messages to mirror the existing error tags? I would like to see equivalents for stripes:errors-header, stripes:errors-footer, and stripes:individual-error for stripes:messages-header, stripes:messages-footer, and stripes:individual-message respectively.
We are currently handling the customization of messages in the StripesResources.properties file like this:
stripes.messages.header=<br><table cellpadding="5" width="50%" cellspacing="8px" class="message" border="0" align="center"><colgroup><col width='24'><col></colgroup><tr><td valign='top'><img src="check.gif" align="absmiddle" alt="" border="0"></td><td valign='top'>
stripes.messages.beforeMessage=
stripes.messages.afterMessage=
stripes.messages.footer=</td></tr></table>
It would be nice if there was a way to customize messages in a layout definition instead of a properties file. This would add consistency in the framework for errors and messages in my opinion.
Pushing to 1.6 as we're really trying to get 1.5 into beta. I'm hoping we can implement this in a 1.5.x release though.