myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Kienenberger" <>
Subject Re: Attributes enabledOnUserRole and visibleOnUserRole being deprecated?
Date Wed, 07 Feb 2007 20:30:53 GMT
Because attributes have to be documented and maintained for every
component.  They also don't work for non-Tomahawk components.

A securityContext approach is more flexible, maintainable, and
all-encompassing.   We had a long discussion on this a long time ago
on the dev list.   You could probably find it in the archives.

On 2/7/07, Paul Spencer <> wrote:
> Per the comment "the attributes enabledOnUserRole and visibleOnUserRole
> will be deprecated and replaced by rendered='#{securityContext..}'" on
> TOMAHAWK-885[1],  I am not sure I like this. Granted securityContext
> provides a lot more control, but the attributes are easier to use and
> document for the simple stuff.
> Why are the attributes being deprecated?
> When are the attribute scheduled to be deprecated?
> Should their be an Jira issue for the deprecation?
> If you would prefer to continue this discussion after the release of
> MyFaces 1.1.5, I have no objections.
> Paul Spencer
> [1]

View raw message