Details
-
Type: Task
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.5.3
-
Fix Version/s: 1.6DR#1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:all
Description
The following bean supports the syntax:
rendered="#{role.ADMIN || role.USER}"
import java.util.Map;
import java.util.AbstractMap;
import java.util.Set;
public class RoleMap extends AbstractMap {
public Object get(Object key) {
FacesContext facesContext = FacesContext.getCurrentInstance();
if (facesContext.getExternalContext()
.isUserInRole((String) key) ) {
return Boolean.TRUE;
}
return Boolean.FALSE;
}
public Set entrySet() {
return null;
}
}
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Ken Fyten
made changes -
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Resolution | Won't Fix [ 2 ] |
Ken Fyten
made changes -
Resolution | Fixed [ 1 ] | |
Status | Closed [ 6 ] | Reopened [ 4 ] |
Philip Breau
made changes -
Status | Open [ 1 ] | Closed [ 6 ] |
Fix Version/s | 1.6DR#1 [ 10035 ] | |
Resolution | Fixed [ 1 ] |
Ted Goddard
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Ken Fyten [ ken.fyten ] | Philip Breau [ philip.breau ] |
Ted Goddard
created issue -