Hi, When I put my seam action bean into testng test, I can see that my bean isn't being injected.
Snippet of my seam action bean: | @Stateful | @Name( "wizardCityAction" ) | @Conversational( ifNotBegunOutcome = "wizardStart" ) | public class WizardCityActionBean implements Serializable, WizardCityAction { | [EMAIL PROTECTED]( create = true )@Out | private WizardBackBeans backBeans; | ... | and part of my test code: | ... | WizardBackBeans wbb = new WizardBackBeansBean( ); | wbb.setCityId( 1 );Contexts.getConversationContext( ).set( "backBeans", wbb );WizardCityAction wca = (WizardCityAction) Component.getInstance( "wizardCityAction", true ); | ... | I tried to configure environment as it has been done in Seam examples. Debugging shows that there is backBeans == null in my seam bean. What's wrong with my code/settings? Slawek View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946809#3946809 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946809 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user