You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Kurz (JIRA)" <de...@myfaces.apache.org> on 2011/09/19 15:57:08 UTC

[jira] [Created] (EXTCDI-227) @Advanced not working correctly with Ajax

@Advanced not working correctly with Ajax
-----------------------------------------

                 Key: EXTCDI-227
                 URL: https://issues.apache.org/jira/browse/EXTCDI-227
             Project: MyFaces CODI
          Issue Type: Bug
          Components: JEE-JSF20-Module
    Affects Versions: 1.0.2
            Reporter: Michael Kurz


I have a converter annotated with @Advanced that gets a bean injected into a field via @Inject. On first page view the converter works as expected, but in subsequent ajax requests the field annotated with @Inject is not injected.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (EXTCDI-227) @Advanced not working correctly with Ajax

Posted by "Michael Kurz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/EXTCDI-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108614#comment-13108614 ] 

Michael Kurz commented on EXTCDI-227:
-------------------------------------

I just analyzed the problem with Gerhard and it seems to occur in RestoreInjectionPointsObserver. Inside processComponents() getChildren() is used to walk the tree which does not work for components inside composite components.

> @Advanced not working correctly with Ajax
> -----------------------------------------
>
>                 Key: EXTCDI-227
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-227
>             Project: MyFaces CODI
>          Issue Type: Bug
>          Components: JEE-JSF20-Module
>    Affects Versions: 1.0.2
>            Reporter: Michael Kurz
>            Priority: Minor
>         Attachments: EXTCDI-227-testapp.zip
>
>
> I have a converter annotated with @Advanced that gets a bean injected into a field via @Inject. On first page view the converter works as expected, but in subsequent ajax requests the field annotated with @Inject is not injected.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (EXTCDI-227) Injection in FacesConverter in composite components

Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/EXTCDI-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gerhard Petracek resolved EXTCDI-227.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.2

> Injection in FacesConverter in composite components
> ---------------------------------------------------
>
>                 Key: EXTCDI-227
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-227
>             Project: MyFaces CODI
>          Issue Type: Bug
>          Components: JEE-JSF20-Module
>    Affects Versions: 1.0.2
>            Reporter: Michael Kurz
>            Priority: Minor
>             Fix For: 1.0.2
>
>         Attachments: EXTCDI-227-testapp.zip
>
>
> I have a converter annotated with @Advanced that gets a bean injected into a field via @Inject. On first page view the converter works as expected, but in subsequent ajax requests the field annotated with @Inject is not injected.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (EXTCDI-227) @Advanced not working correctly with Ajax

Posted by "Michael Kurz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/EXTCDI-227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13107841#comment-13107841 ] 

Michael Kurz commented on EXTCDI-227:
-------------------------------------

Additional info: Using the bean manager to resolve the bean that should be injected works like expected.

> @Advanced not working correctly with Ajax
> -----------------------------------------
>
>                 Key: EXTCDI-227
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-227
>             Project: MyFaces CODI
>          Issue Type: Bug
>          Components: JEE-JSF20-Module
>    Affects Versions: 1.0.2
>            Reporter: Michael Kurz
>         Attachments: EXTCDI-227-testapp.zip
>
>
> I have a converter annotated with @Advanced that gets a bean injected into a field via @Inject. On first page view the converter works as expected, but in subsequent ajax requests the field annotated with @Inject is not injected.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira