Stripes

Consider adding new stripes tags for messages

Details

  • Type: New Feature New Feature
  • Status: Open Open
  • Priority: Minor 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.

Activity

Hide
Tim Fennell added a comment - 20/Jan/08 7:27 PM

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.

Show
Tim Fennell added a comment - 20/Jan/08 7:27 PM 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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    20/Aug/06 5:07 PM
    Updated:
    20/Jan/08 7:27 PM