[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-818) To add createFacesMessageFromResourceBundle method to FacesMessages class
by Fernando Montaño (JIRA)
To add createFacesMessageFromResourceBundle method to FacesMessages class
-------------------------------------------------------------------------
Key: JBSEAM-818
URL: http://jira.jboss.com/jira/browse/JBSEAM-818
Project: JBoss Seam
Issue Type: Feature Request
Components: JSF
Reporter: Fernando Montaño
When developing JSF converters and validators you are noticed that both of them have a way to add a FacesMessage when throwing the Exception (ConverterException and ValidatorException respectively), the validator exception has this constructor:
ValidatorException(javax.faces.application.FacesMessage)
Currently there is FacesMessages.createFacesMessage(..) method which returns a FacesMessage, but that method does not work if you wanna get a message from a resource bundle key (when working with i18n apps).
So, please add a new method which allows us to get a FacesMessage using a resource bundle key, something like:
public static FacesMessage createFacesMessageFromResourceBundle(Severity severity, String key, Objec
t... params)
--
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.atlassian.com/software/jira
17 years, 11 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-732) Entity security
by Gavin King (JIRA)
Entity security
---------------
Key: JBSEAM-732
URL: http://jira.jboss.com/jira/browse/JBSEAM-732
Project: JBoss Seam
Issue Type: Feature Request
Components: Security
Reporter: Gavin King
Assigned To: Shane Bryzak
Fix For: 1.2.0.BETA1
Two things:
(1) update/delete/insert security:
We should look at merging this stuff together with the entity authorization that exists in Hibernate. This might mean just copying and reimplementing the basic mechanism used in Hibernate.
(2) view attribute security
We could look into having attributes automagically nullified by an interceptor, based on attribute-level read permissions. However, there are definite problems with implementing this.
--
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.atlassian.com/software/jira
17 years, 11 months