[jboss-user] [JBoss Seam] - Re: ouject a non seam bean

2007-04-19 Thread mousstik
Ok, sorry. I can't get my object Model in the constructor. My Model has not yet been created by seam... When I get in a getAttribute, it works very well. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038781#4038781 Reply to the post : http://www.jb

[jboss-user] [JBoss Seam] - Re: ouject a non seam bean

2007-04-19 Thread mousstik
ok | @Name("seam1") | @Scope(ScopeType.CONVERSATION) | public class Seam1Action { | | private Model model; | | private String updateModel{ // method called on an actionCommand in JSF |// |setModel(model); | } | } | @Name("seam2") | @Scope(ScopeType.CO

[jboss-user] [JBoss Seam] - ouject a non seam bean

2007-04-19 Thread mousstik
Hello :-) I've got two bean seam Seam1, Seam2. I ouject Seam1 in the context and I can get it in Seam2. It works well. In Seam1, I've got a getter/setter method on a non seam object Object1. When I try to get Object1 in my Seam2, I've got a nullPointerException. When I display attributes of my

[jboss-user] [JBoss Seam] - Re: questions about navigation and injection

2007-04-16 Thread mousstik
In addition, I use POJOs : @Name("bean1") | @Scope(ScopeType.CONVERSATION) | public class Bean1... @Name("bean2") | @Scope(ScopeType.CONVERSATION) | public class Bean2 { | @In | private Bean1 bean1; View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[jboss-user] [JBoss Seam] - questions about navigation and injection

2007-04-16 Thread mousstik
Hello !! I need some explanation from you. I have two JSF with two seam bean. No problem with that. I want to get information about the first bean in my second JSF. I tried to use the annotation @In in a conversation scope but my injected bean is null. How can I do to put my bean 1 into my bean

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: problem of value binding

2007-04-12 Thread mousstik
maybe it's not the good section of the forum for this question, I'm sorry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4036653#4036653 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4036653 _

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - problem of value binding

2007-04-12 Thread mousstik
Hi, I don't understand. I have this message : | Value binding '#{ben.allItems}'of UISelectItems with component-path {Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /page.xhtml][Class: javax.faces.component.html.HtmlForm,Id: codeProduitForm][Class: javax.faces.compo