[JSF2] spec issue ? (was: Trinidad 2 JIRA: TRINIDAD-1724)

2010-02-13 Thread Matthias Wessendorf
Hey guys, background: https://issues.apache.org/jira/browse/TRINIDAD-1724 Max, so you are saying the changed the API (XSD) file for the facelettaglibrary (not the faces-config, right?) But the online version of it, simply lacks the method-signature:

Re: [JSF2] spec issue ? (was: Trinidad 2 JIRA: TRINIDAD-1724)

2010-02-13 Thread Matthias Wessendorf
Ok, here is the bug: https://issues.apache.org/jira/browse/MYFACES-2554 -Matthias On Sat, Feb 13, 2010 at 10:45 AM, Matthias Wessendorf mat...@apache.org wrote: Hey guys, background: https://issues.apache.org/jira/browse/TRINIDAD-1724 Max, so you are saying the changed the API (XSD) file

[jira] Created: (MYFACES-2554) myfaces's facelettaglibrary XSD incomplete

2010-02-13 Thread JIRA
myfaces's facelettaglibrary XSD incomplete -- Key: MYFACES-2554 URL: https://issues.apache.org/jira/browse/MYFACES-2554 Project: MyFaces Core Issue Type: Bug Components: JSR-314 Affects

[jira] Created: (TRINIDAD-1725) Component metadata is still going against JSF version 1.2

2010-02-13 Thread JIRA
Component metadata is still going against JSF version 1.2 - Key: TRINIDAD-1725 URL: https://issues.apache.org/jira/browse/TRINIDAD-1725 Project: MyFaces Trinidad Issue Type: Bug

[jira] Commented: (MYFACES-2553) Handle MethodExpressions on composite:attribute correctly

2010-02-13 Thread Jakob Korherr (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12833370#action_12833370 ] Jakob Korherr commented on MYFACES-2553: A really good solution, Leonardo :)

AW: [Ext-CDI] @Transactional

2010-02-13 Thread Arne Limburg
Hi Gerhard, Did you mean i used UserTransaction? If not, how do you receive your EntityTransaction? I am working on a solution to get request-scoped EntityManagers injected within a servlet-container that does not even support the web-profile (which are the current jetty and the current

Re: [Ext-CDI] @Transactional

2010-02-13 Thread Gerhard Petracek
hi arne, i used the EntityManager to get an EntityTransaction. you have to use cdi to create and inject it. (i used some producer methods.) i created @PersistenceUnit which is a cdi qualifier and @Transactional which is a cdi interceptor binding. basically it works and it isn't hard to use.

AW: [Ext-CDI] @Transactional

2010-02-13 Thread Arne Limburg
Hi Gerhard, OK, I got what you did, basically I did the same. You are right, that was pretty straight-forward, but I had to hard-code the persistence-unit name. I have two ideas to inject the persistence-unit name into the producer-method for the EntityManager: First idea: A

AW: [Ext-CDI] @Transactional

2010-02-13 Thread Mark Struberg
Hi! The JSR-299 spec defines that we have to support injection of EE-Resources. This was more explicit in the old version of the spec, but unless the wording got shortened, I still think injection of @PersistenceUnit and @PersistenceContext must be supported by any JSR-299 container (at least

AW: [Ext-CDI] @Transactional

2010-02-13 Thread Arne Limburg
Hi Mark, thank you for your feedback. I was aware of the requirement of CDI-containers to inject JavaEE resources in a JavaEE-environment, but Gerhard and I are thinking about a generic non-JavaEE-solution for EntityManager-injection. And at least weld does no injection of JavaEE-resources in

AW: [Ext-CDI] @Transactional

2010-02-13 Thread Mark Struberg
I am afraid supporting multiple persistence-units in that scenario is very difficult... Nope, it's really easy. I simply use Qualifiers to distinguish between them. @Qualifier public @instance Core {} @Qualifier public @instance Other {} @RequestScoped public class EMProducer {

AW: [Ext-CDI] @Transactional

2010-02-13 Thread Arne Limburg
Hi Mark, yes, that is simple when you have a working @PersistenceContext(unitName=...) annotation. In none-EE-environments you don't have that and generic producer-methods are more complicated since you have to inject your unit-name. Regards, Arne -- Arne Limburg - Enterprise Developer

[jira] Created: (MYFACES-2555) org.apache.myfaces.config.annotation.LifecycleProvider context parameter is ignored

2010-02-13 Thread Ali Ok (JIRA)
org.apache.myfaces.config.annotation.LifecycleProvider context parameter is ignored --- Key: MYFACES-2555 URL: https://issues.apache.org/jira/browse/MYFACES-2555

[jira] Updated: (MYFACES-2555) org.apache.myfaces.config.annotation.LifecycleProvider context parameter is ignored

2010-02-13 Thread Ali Ok (JIRA)
[ https://issues.apache.org/jira/browse/MYFACES-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ali Ok updated MYFACES-2555: Status: Patch Available (was: Open) org.apache.myfaces.config.annotation.LifecycleProvider context

ExpressionFactoryImpl

2010-02-13 Thread Ali Ok
Hi, On Jsp2.0 environment using Myfaces 2.0 beta, users should provide the ExpressionFactory implementation. And if Jasper EL Impl or Sun's RI is available on the classpath, they are automatically set. However, impl class name of RI may be wrong. Until revision 761982, it was