[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13804588#comment-13804588
]
Leonardo Uribe commented on MYFACES-3786:
-
Added improvement enforce CDI
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794977#comment-13794977
]
Gerhard Petracek commented on MYFACES-3786:
---
trying something only makes sense
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795077#comment-13795077
]
Gerhard Petracek commented on MYFACES-3786:
---
see the patch of the first draft
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795121#comment-13795121
]
Dora Rajappan commented on MYFACES-3786:
Sounds to me that you are replicating
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795131#comment-13795131
]
Dora Rajappan commented on MYFACES-3786:
Is CDI managing
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795144#comment-13795144
]
Gerhard Petracek commented on MYFACES-3786:
---
@dora:
for now we don't have to
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795158#comment-13795158
]
Gerhard Petracek commented on MYFACES-3786:
---
the clear advantage of #5 (vs
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795180#comment-13795180
]
Dora Rajappan commented on MYFACES-3786:
ListBeanEntry injectedBeanStorage can
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795185#comment-13795185
]
Gerhard Petracek commented on MYFACES-3786:
---
agreed - if we have to guarantee
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795191#comment-13795191
]
Leonardo Uribe commented on MYFACES-3786:
-
#5 is way more complex. Now we need
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795196#comment-13795196
]
Dora Rajappan commented on MYFACES-3786:
True. Instead of putting the injected
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795212#comment-13795212
]
Gerhard Petracek commented on MYFACES-3786:
---
again: cdi can't do it if you
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795241#comment-13795241
]
Leonardo Uribe commented on MYFACES-3786:
-
... if you bypass the cdi
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795246#comment-13795246
]
Dora Rajappan commented on MYFACES-3786:
Thank @Gerald for explaining the rule
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795249#comment-13795249
]
Gerhard Petracek commented on MYFACES-3786:
---
no - that's not correct in case
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795277#comment-13795277
]
Leonardo Uribe commented on MYFACES-3786:
-
Which supports my case in favor of #3
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795261#comment-13795261
]
Leonardo Uribe commented on MYFACES-3786:
-
Note JSF spec doesn't mention CDI as
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795281#comment-13795281
]
Gerhard Petracek commented on MYFACES-3786:
---
then you again have the issue
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795283#comment-13795283
]
Gerhard Petracek commented on MYFACES-3786:
---
the latest patch is the preview
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795293#comment-13795293
]
Leonardo Uribe commented on MYFACES-3786:
-
All those issues are problem of CDI,
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795299#comment-13795299
]
Gerhard Petracek commented on MYFACES-3786:
---
@leo: no and sorry, but i won't
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795268#comment-13795268
]
Gerhard Petracek commented on MYFACES-3786:
---
in a cdi specific
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795319#comment-13795319
]
Leonardo Uribe commented on MYFACES-3786:
-
First, we only need to support the
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795334#comment-13795334
]
Gerhard Petracek commented on MYFACES-3786:
---
initially i said that we can
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795346#comment-13795346
]
Leonardo Uribe commented on MYFACES-3786:
-
If you are building an spi interface
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795357#comment-13795357
]
Gerhard Petracek commented on MYFACES-3786:
---
there is never one ultimate
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795381#comment-13795381
]
Dora Rajappan commented on MYFACES-3786:
Is there a problem sending an object
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13795387#comment-13795387
]
Gerhard Petracek commented on MYFACES-3786:
---
@dora: that isn't an issue - the
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794076#comment-13794076
]
Dora Rajappan commented on MYFACES-3786:
MYFACES-3786-2.patch is very good. No
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794127#comment-13794127
]
Leonardo Uribe commented on MYFACES-3786:
-
@Gerhard unfortunately the change you
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794207#comment-13794207
]
Gerhard Petracek commented on MYFACES-3786:
---
@leo:
the change itself works.
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794219#comment-13794219
]
Leonardo Uribe commented on MYFACES-3786:
-
@Gerhard :
I see. We could try pass
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794246#comment-13794246
]
Gerhard Petracek commented on MYFACES-3786:
---
yes - that's the 2nd option i had
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794263#comment-13794263
]
Leonardo Uribe commented on MYFACES-3786:
-
I would prefer only one abstract
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794281#comment-13794281
]
Gerhard Petracek commented on MYFACES-3786:
---
the disadvantage of #2 and #3 is
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794325#comment-13794325
]
Leonardo Uribe commented on MYFACES-3786:
-
In this case, since all injected
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794407#comment-13794407
]
Gerhard Petracek commented on MYFACES-3786:
---
to avoid something like:
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794412#comment-13794412
]
Gerhard Petracek commented on MYFACES-3786:
---
@my last comment:
it's easier to
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794427#comment-13794427
]
Leonardo Uribe commented on MYFACES-3786:
-
Use:
public void inject(Object
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794468#comment-13794468
]
Gerhard Petracek commented on MYFACES-3786:
---
if we ever need to support custom
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794609#comment-13794609
]
Leonardo Uribe commented on MYFACES-3786:
-
Let's be clear about this.
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794717#comment-13794717
]
Gerhard Petracek commented on MYFACES-3786:
---
no - maybe it wasn't clear
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794746#comment-13794746
]
Gerhard Petracek commented on MYFACES-3786:
---
however, since we don't need it
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13794804#comment-13794804
]
Leonardo Uribe commented on MYFACES-3786:
-
Let's try the solution using the
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13793587#comment-13793587
]
Gerhard Petracek commented on MYFACES-3786:
---
if so, then mojarra clearly
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13793762#comment-13793762
]
Gerhard Petracek commented on MYFACES-3786:
---
resource injection depends on
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13793363#comment-13793363
]
Leonardo Uribe commented on MYFACES-3786:
-
I think it is clear the justification
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13793477#comment-13793477
]
Leonardo Uribe commented on MYFACES-3786:
-
What do you mean? Could you provide a
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13793478#comment-13793478
]
Gerhard Petracek commented on MYFACES-3786:
---
if a default implementation is
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13793482#comment-13793482
]
Leonardo Uribe commented on MYFACES-3786:
-
The problem is that code is out of
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13793490#comment-13793490
]
Gerhard Petracek commented on MYFACES-3786:
---
you already handle @EJB#name - so
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13793495#comment-13793495
]
Leonardo Uribe commented on MYFACES-3786:
-
I have found a code in
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13793499#comment-13793499
]
Gerhard Petracek commented on MYFACES-3786:
---
we should avoid copying code
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13793560#comment-13793560
]
Gerhard Petracek commented on MYFACES-3786:
---
please read my hints again. you
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13793565#comment-13793565
]
Leonardo Uribe commented on MYFACES-3786:
-
The proposed solution goes as far as
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13792687#comment-13792687
]
Dora Rajappan commented on MYFACES-3786:
Unable to apply this patch and verify
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13792718#comment-13792718
]
Dora Rajappan commented on MYFACES-3786:
According to what @Gerhard via
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13792738#comment-13792738
]
Dora Rajappan commented on MYFACES-3786:
jsf2.2 Spec says JSF Implementations
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13792791#comment-13792791
]
Dora Rajappan commented on MYFACES-3786:
Spec never say anything about
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13792807#comment-13792807
]
Leonardo Uribe commented on MYFACES-3786:
-
I have attached another patch, I'm
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13792881#comment-13792881
]
Gerhard Petracek commented on MYFACES-3786:
---
@dora:
yes - only the
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13791397#comment-13791397
]
Leonardo Uribe commented on MYFACES-3786:
-
Thinking more about this really the
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13791701#comment-13791701
]
Gerhard Petracek commented on MYFACES-3786:
---
@leo:
please have a look at my
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13791789#comment-13791789
]
Leonardo Uribe commented on MYFACES-3786:
-
@gerhard:
I have seen them. The
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13791940#comment-13791940
]
Gerhard Petracek commented on MYFACES-3786:
---
yes and no - there are good
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13792001#comment-13792001
]
Leonardo Uribe commented on MYFACES-3786:
-
Precisely what I want to show here is
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13792253#comment-13792253
]
Leonardo Uribe commented on MYFACES-3786:
-
I have attached a prototype for this
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13790719#comment-13790719
]
Leonardo Uribe commented on MYFACES-3786:
-
This problem is not about CDI at all.
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13790836#comment-13790836
]
Gerhard Petracek commented on MYFACES-3786:
---
@dora:
that isn't appropriate.
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13791143#comment-13791143
]
Leonardo Uribe commented on MYFACES-3786:
-
There is a confusion behind how CDI
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13789267#comment-13789267
]
Dora Rajappan commented on MYFACES-3786:
CDI is very difficult for
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13789313#comment-13789313
]
Gerhard Petracek commented on MYFACES-3786:
---
if you would like to support it
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13789334#comment-13789334
]
Dora Rajappan commented on MYFACES-3786:
Nice to know how this could work. Thank
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13788006#comment-13788006
]
Leonardo Uribe commented on MYFACES-3786:
-
@Martin Koci : the issue with
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13788058#comment-13788058
]
Dora Rajappan commented on MYFACES-3786:
Additional steps to configure cdi in
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13788073#comment-13788073
]
Dora Rajappan commented on MYFACES-3786:
MYFACES-3797 patch is good for
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13788085#comment-13788085
]
Gerhard Petracek commented on MYFACES-3786:
---
@dora:
thx, but we don't need the
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13788253#comment-13788253
]
Dora Rajappan commented on MYFACES-3786:
MYFACES-3797 cdi package is very good
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13788267#comment-13788267
]
Gerhard Petracek commented on MYFACES-3786:
---
no - you can have a look e.g. at
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13788360#comment-13788360
]
Gerhard Petracek commented on MYFACES-3786:
---
i haven't said that it isn't
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13787604#comment-13787604
]
Gerhard Petracek commented on MYFACES-3786:
---
@martin:
see MYFACES-3797
(we
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13785316#comment-13785316
]
Dora Rajappan commented on MYFACES-3786:
And the cdi is not good for
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13782987#comment-13782987
]
Martin Kočí commented on MYFACES-3786:
--
Unfortunately, no injection into Converter
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13781725#comment-13781725
]
Dora Rajappan commented on MYFACES-3786:
Steps to configure cdi in tomcat 7
[
https://issues.apache.org/jira/browse/MYFACES-3786?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13781787#comment-13781787
]
Dora Rajappan commented on MYFACES-3786:
1. Specify the artifacts apart from
85 matches
Mail list logo