[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1050) Enhanced EL working for all <s:> tags
by Greg Zoller (JIRA)
Enhanced EL working for all <s:> tags
-------------------------------------
Key: JBSEAM-1050
URL: http://jira.jboss.com/jira/browse/JBSEAM-1050
Project: JBoss Seam
Issue Type: Feature Request
Affects Versions: 1.2.0.GA
Environment: n/a
Reporter: Greg Zoller
Priority: Minor
Seam improves EL, notably the ability to call methods w/parameters, for its own attributes. For example <s:link action="#{foo.bar(a,b,c)}"> is valid and the correct method/parameters will be used.
But... It seems that non-Seam attributes of these same tags are merely passed through to JSF. For example if I add a rendered attributed to <s:link> and try to use a method call w/parameters it chokes w/an exception complaining about the '('.
I'm not advocating that Seam correct JSF's lost opportunity by redoing all JSF tags (unless you are really motivated), but certainly all the attributes of the <s:> tags Seam does support should handle the improved EL uniformly.
Apologies if this is a dup. Nothing like this jumped out at me when I searched Jira.
--
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, 7 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1015) Cannot disable built-in components
by Leszek Kowalski (JIRA)
Cannot disable built-in components
----------------------------------
Key: JBSEAM-1015
URL: http://jira.jboss.com/jira/browse/JBSEAM-1015
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 1.2.0.GA
Environment: Seam 1.2.0Patch1, Jetty 5.1.12
Reporter: Leszek Kowalski
Since rev 1.152 of Initialization.java (JIRA-897) it is not possible to disable built-in Seam component in components.xml (using <ns:componentName installed="false").
Here is problematic code:
//if this class already has the @Name annotation, the XML element
//is just adding configuration to the existing component, don't
//add another ComponentDescriptor (this is super-important to
//allow overriding!)
if ( nameAnnotation!=null && nameAnnotation.value().equals(name) )
{
Install install = clazz.getAnnotation(Install.class);
if ( install.value() )
{
className = null;
}
}
For all components with @Install annotation className is set to null and installComponentFromXmlElement() cannot create "not-installed ComponentDescriptor".
--
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, 7 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1089) Allow extended EL method expression construction programmatically
by Mike Quilleash (JIRA)
Allow extended EL method expression construction programmatically
-----------------------------------------------------------------
Key: JBSEAM-1089
URL: http://jira.jboss.com/jira/browse/JBSEAM-1089
Project: JBoss Seam
Issue Type: Feature Request
Components: JSF
Affects Versions: 1.1.6.GA
Environment: Any
Reporter: Mike Quilleash
The enhanced EL parser for method parameters is not available programmatically.
e.g.
facesContext.getApplication().getExpressionFactory().createMethodExpression( "#{bean.func( param )}" );
This is because the expression factory is only loaded into the facelets compiler not the JSF application. As Seam already has an overriden Application implementation (SeamApplication12) it should be trivial to change this so getExpressionFactory() returns the SeamExpressionFactory which would delegate down to the default getExpressionFactory(). Then the enhanced EL would be available in the API as well as facelets files. (Facelets just calls Application.getExpressionFactory() so this should work as it did before).
This would be extremely useful for me as I do a fair bit of dynamic component/EL generation.
--
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, 7 months