Announcement Announcement Module
Collapse
No announcement yet.
Conversation Scope for a Managed Bean Annotations Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Conversation Scope for a Managed Bean Annotations

    Hi,

    I am trying to implement Annotations.
    I have annotated my managed bean ad

    Code:
    @ManagedBean(name="searchInventoryDetail")
    @ConversationScoped
    public class SearchInventoryDetail extends ListHandler implements Serializable{
    
    }
    When I run the application I get the following error

    Code:
     EL1008E:(pos 0): Field or property 'searchInventoryDetail' cannot be found on object of type 'org.springframework.webflow.engine.impl.RequestControlContextImpl'
    I have added <context:component-scan base-package="com.xxx.yyy" /> to my config.xml

    I figured that @ConversationScoped is javax.enterprise.context.ConversationScoped; and not from javax.faces
    Does this matter?

    Is there any way to configure the scope of the bean to conversation scope in the config.xml

    Thanks
    Vinaya
Working...
X