[ 
http://www.stripesframework.org/jira/browse/STS-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12762#comment-12762
 ] 

Keuller Magalhaes commented on STS-245:
---------------------------------------

I suggest your think about create at least two types of messages context: 
messages for information or warning. Its allow us implement specfics CSS 
classes to represent this messages. Nowadays we just have two types: errors and 
messages, but we cant show to user if the 'message' is warning or information.

> Consider adding new stripes tags for messages
> ---------------------------------------------
>
>                 Key: STS-245
>                 URL: http://www.stripesframework.org/jira/browse/STS-245
>             Project: Stripes
>          Issue Type: New Feature
>          Components: Tag Library
>    Affects Versions: Release 1.4
>            Reporter: Mark Eagle
>            Priority: Minor
>             Fix For: Release 1.6
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to