[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2012) User agent aware skinning
by Gavin King (JIRA)
User agent aware skinning
-------------------------
Key: JBSEAM-2012
URL: http://jira.jboss.com/jira/browse/JBSEAM-2012
Project: JBoss Seam
Issue Type: Feature Request
Components: JSF, Wiki
Affects Versions: 2.0.1.GA
Reporter: Gavin King
Assigned To: Pete Muir
Especially for the Wiki, we should develop a generalized solution for mapping user agents to skinned facelets. I'm thinking we would use the facelets ResourceResolver for this.
<theme:skinSelector>
<theme:skins>
<key>Windows CE</key><value>winCE</value>
<key>SonyEricsson</key><value>sonyEricsson</value>
<theme:skins>
</theme:skinSelector>
Then a view id like home.xhtml would actually resolve to home.xhtml, home_winCE.xhtml or home_sonyEricsson.xhtml, depending upon the user agent.
--
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
16 years, 10 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-730) User/Role/Permission model
by Gavin King (JIRA)
User/Role/Permission model
--------------------------
Key: JBSEAM-730
URL: http://jira.jboss.com/jira/browse/JBSEAM-730
Project: JBoss Seam
Issue Type: Feature Request
Components: Security
Reporter: Gavin King
Assigned To: Shane Bryzak
Fix For: 1.2.0.BETA1
There should be an optional component which plugs into Seam/Security to provide the following model:
Role (name, description, manager??)
User extends Role (password, firstName, lastName, additionalNames, email)
RoleRole (role, role)
Permission(objectName, operationName)
RolePermission(role,permission)
RoleInstancePermission(objectName, operationName, objectId)
This model would be extensible by the user, simply using inheritance.
There would be a built-in management console for creating users and roles and assigning roles and permissions.
--
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
16 years, 10 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2289) Provide no-arg constructor for SeamExpressionFactory
by Florent Guilllaume (JIRA)
Provide no-arg constructor for SeamExpressionFactory
----------------------------------------------------
Key: JBSEAM-2289
URL: http://jira.jboss.com/jira/browse/JBSEAM-2289
Project: JBoss Seam
Issue Type: Feature Request
Components: EL
Affects Versions: 2.0.0.GA
Reporter: Florent Guilllaume
Priority: Minor
I'd like a public no-arg constructor to SeamExpressionFactory:
public SeamExpressionFactory() {
super(INSTANCE);
}
The reason is that I want a facelet view handler extending FaceletViewHandler with the Seam expression factory. To do that I would use:
@Override
protected Compiler createCompiler() {
Compiler compiler = super.createCompiler();
compiler.setFeature(Compiler.EXPRESSION_FACTORY, "org.jboss.seam.el.SeamExpressionFactory");
return compiler;
}
But a Compiler.EXPRESSION_FACTORY expects a class with a no-arg constructor (see com.sun.facelets.compiler.Compiler#createExpressionFactory and #featureInstance).
As a workaround I can use my own subclass of SeamExpressionFactory but the super constructor SeamExpressionFactory(ExpressionFactory expressionFactory), which I need to call, is package-private. So I have to use the package org.jboss.seam.el just to call that constructor, which is not nice.
Just having a no-arg constructor would simplify all 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
16 years, 10 months