[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3250) Business process variable is not resolved in process definition EL
by Ivan B (JIRA)
Business process variable is not resolved in process definition EL
------------------------------------------------------------------
Key: JBSEAM-3250
URL: https://jira.jboss.org/jira/browse/JBSEAM-3250
Project: Seam
Issue Type: Bug
Components: BPM
Affects Versions: 2.0.2.SP1
Environment: jbpm-jpdl-3.2.3
jboss-4.2.2.GA
Reporter: Ivan B
Business process variable, declared in a Seam component as
@Out(scope = ScopeType.BUSINESS_PROCESS, required = false)
private String bannersCount;
does not resolve in jPDL
<decision name="check banner list" expression="#{bannersCount}">
<transition to="select stub" name="no banners found"></transition>
<transition to="select banner" name="banners found"></transition>
</decision>
with the following exception
13:28:46,887 FATAL [application] javax.ejb.EJBTransactionRolledbackException: Identity 'bannersCount' does not reference a MethodExpression instance, returned type: java.lang.String
javax.faces.el.EvaluationException: javax.ejb.EJBTransactionRolledbackException: Identity 'bannersCount' does not reference a MethodExpression instance, returned type: java.lang.String
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 6 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-3045) urlrewritefilter breaks basic authentication
by Stephane Epardaud (JIRA)
urlrewritefilter breaks basic authentication
--------------------------------------------
Key: JBSEAM-3045
URL: http://jira.jboss.com/jira/browse/JBSEAM-3045
Project: Seam
Issue Type: Bug
Affects Versions: 2.0.1.GA
Reporter: Stephane Epardaud
In web.xml, if I configure the urlwritefilter before the seamfilter, any basic authentication defined in components.xml with
<web:authentication-filter url-pattern="/feed/*" auth-type="basic" realm="MyRealm" precedence="0"/>
will be ignored.
That is, pages in the /feed/* url space will not ask for authentication, and any security restrictions requiring those pages to be accessed as logged in users will throw exceptions.
If the urlrewritefilter is defined within the seamfilter, then all works well, except that I'm not sure outboud rewrite rules will work correctly.
I haven't found any documentation relating the order in which these filters must be declared in the Seam documentation.
If this is not a bug, perhaps it would be nice to document it?
--
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, 6 months
[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2499) Seam Messages strips any MessageFormat formatting parameters
by Calvin Yu (JIRA)
Seam Messages strips any MessageFormat formatting parameters
------------------------------------------------------------
Key: JBSEAM-2499
URL: http://jira.jboss.com/jira/browse/JBSEAM-2499
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.0.0.GA
Reporter: Calvin Yu
I want to use f:outputFormat to format text so that I can specify the formatting style from resource bundles.
In messages.properties:
foo=Howdy {0}\! The time is {1, date, MMMM dd}
In my Facelets view:
<h:outputFormat value="#{messages['foo']}">
<f:param value="#{exampleAction.name}"/>
<f:param value="#{exampleAction.date}"/>
</h:outputFormat>
The result of '#{messages['foo']}' is actually: Howdy {0}\! The time is {1}
The reason this is happening is because the Interpolator is using MessageFormat to evaluate {1, date, MMMM dd} with empty parameters (line #141 in Interpolator.java), which results in just {1}.
--
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, 6 months