You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by "Howard W. Smith, Jr." <sm...@gmail.com> on 2012/11/21 07:07:22 UTC

CODI BeanManagerProvider in @FacesConverter breaks PrimeFaces p:pickList p:ajax event="transfer"

*Resending* this, because I attempted to send this earlier and got an email
response that said my email was undelivered to *burntmail.com*.

Mark,

Please read/see below.

Per your recommendation in an earlier/separate thread,

Please try

*BeanManagerProvider.getInstance().getContextualReference(Yourclass.class);

inside the converter if you need it.
If it's a NormalScoped bean (Request-, Application-, SessionScoped, CODI
scopes) then you only need to do this once as you only get a proxy anyway.

LieGrue,
strub*

I tried this, and this breaks PrimeFaces p:pickList p:ajax
event="transfer". See/click URL below for my numerous tests, test results,
and conclusion. :)

Issue 4908 <http://code.google.com/p/primefaces/issues/detail?id=4908> in
PrimeFaces Issue Tracker

Is this considered as an Apache CODI defect/issue or a lesson learned?
Please confirm.

Thanks,
Howard

Backscatter (Was Re: CODI BeanManagerProvider in @FacesConverter breaks PrimeFaces p:pickList p:ajax event="transfer")

Posted by Gerald Turner <gt...@unzane.com>.
Mark Struberg <st...@yahoo.de> writes:

> mail came through just fine
>
> LieGrue,
> strub
>
>>________________________________
>> From: "Howard W. Smith, Jr." <sm...@gmail.com>
>>To: MyFaces Discussion <us...@myfaces.apache.org>; Mark Struberg <st...@yahoo.de>
>>Sent: Wednesday, November 21, 2012 7:07 AM
>>Subject: CODI BeanManagerProvider in @FacesConverter breaks PrimeFaces p:pickList p:ajax event="transfer"
>>
>>*Resending* this, because I attempted to send this earlier and got an
>>email response that said my email was undelivered to *burntmail.com*.
>>

Off-Topic: I get backscatter from burntmail.com whenever I post to
myfaces-users too.  I tried emailing admin@burntmail.com last March, no
response.  Might be a good idea to unsubscribe any @burntmail.com
addresses.

--
Gerald Turner   Email: gturner@unzane.com   JID: gturner@unzane.com
GPG: 0xFA8CD6D5  21D9 B2E8 7FE7 F19E 5F7D  4D0C 3FA0 810F FA8C D6D5

Re: CODI BeanManagerProvider in @FacesConverter breaks PrimeFaces p:pickList p:ajax event="transfer"

Posted by Mark Struberg <st...@yahoo.de>.

mail came through justĀ  fine


LieGrue,
strub




>________________________________
> From: "Howard W. Smith, Jr." <sm...@gmail.com>
>To: MyFaces Discussion <us...@myfaces.apache.org>; Mark Struberg <st...@yahoo.de> 
>Sent: Wednesday, November 21, 2012 7:07 AM
>Subject: CODI BeanManagerProvider in @FacesConverter breaks PrimeFaces p:pickList p:ajax event="transfer"
> 
>*Resending* this, because I attempted to send this earlier and got an email
>response that said my email was undelivered to *burntmail.com*.
>
>Mark,
>
>Please read/see below.
>
>Per your recommendation in an earlier/separate thread,
>
>Please try
>
>*BeanManagerProvider.getInstance().getContextualReference(Yourclass.class);
>
>inside the converter if you need it.
>If it's a NormalScoped bean (Request-, Application-, SessionScoped, CODI
>scopes) then you only need to do this once as you only get a proxy anyway.
>
>LieGrue,
>strub*
>
>I tried this, and this breaks PrimeFaces p:pickList p:ajax
>event="transfer". See/click URL below for my numerous tests, test results,
>and conclusion. :)
>
>Issue 4908 <http://code.google.com/p/primefaces/issues/detail?id=4908> in
>PrimeFaces Issue Tracker
>
>Is this considered as an Apache CODI defect/issue or a lesson learned?
>Please confirm.
>
>Thanks,
>Howard
>
>
>