List Info

Thread: Closed: (JBSEAM-780) support message severities in redirect with mes




Closed: (JBSEAM-780) support message severities in redirect with mes
country flaguser name
United States
2007-02-10 18:44:30
     [ http://jira.jboss.com/jira/browse/JBSEAM-780?page=all
]

Gavin King closed JBSEAM-780.
-----------------------------

    Resolution: Done

Done in CVS, please try it out for me.

> support message severities in redirect with message
> ---------------------------------------------------
>
>                 Key: JBSEAM-780
>                 URL: http://j
ira.jboss.com/jira/browse/JBSEAM-780
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 1.1.5.GA
>            Reporter: Keith Naas
>         Assigned To: Gavin King
>            Priority: Minor
>             Fix For: 1.1.7.GA
>
>
> It would be nice if redirect directives would allow for
message severities to be defined for them.  This happens a
lot for scenarios where exceptions cause a redirect. 
Instead of the user seeing an INFO message, we want them to
see an ERROR or WARN FacesMessage.
> For instance, if a severity flag was added to the
message, we could do this in pages.xml using the following:
> 
>     <exception
class="org.jboss.seam.security.AuthorizationException&q
uot;>
>         <end-conversation />
>         <redirect
view-id="/myglobal/unprot/pages/login.xhtml" >
>             <message severity="error">
>                 Login failed. Please try again.
>             </message>
>         </redirect>
>     </exception>
> 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the
administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atl
assian.com/software/jira

        
_______________________________________________
jbossseam-issues mailing list
jbossseam-issueslists.jboss.org
https://lists.jboss.org/mailman/listinfo/jbossseam-issu
es

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )