Problem with @PageBean

2011-04-27 Thread Robert Maier
Hello everybody, I have a problem in a simple test-application whhich uses CODI with JSF2.0, Glassfish 3.1 and Weld. I posted a detailed problem-description to stackoverflow: http://stackoverflow.com/questions/5803492/apache-myfaces-codi-pagebean-argument-bean-must-not-be-null/5803922#5803922

Re: Problem with @PageBean

2011-04-27 Thread Mark Struberg
.Final/ --- On Wed, 4/27/11, Robert Maier robert.m.ma...@gmail.com wrote: From: Robert Maier robert.m.ma...@gmail.com Subject: Problem with @PageBean To: users@myfaces.apache.org Date: Wednesday, April 27, 2011, 12:57 PM Hello everybody, I have a problem in a simple test-application whhich

Re: Problem with @PageBean

2011-04-27 Thread Gerhard Petracek
hi robert, please update the weld-osgi bundle to v1.1.1 fyi: you can have a look at the glassfish 3.1 branch of the community example [1]. i've tested it with glassfish 3.1 + weld v1.1.1. (as mentioned in the readme use: mvn clean install -Denvironment=jee6 to build it) regards, gerhard [1]

Re: Problem with @PageBean

2011-04-27 Thread Gerhard Petracek
hi robert, in your example you removed the usage of @PageBean regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/4/27 Robert Maier robert.m.ma...@gmail.com Thank you

Re: Problem with @PageBean

2011-04-27 Thread Robert Maier
Oh, sorry. In my tests, I had the @PageBean annotation for the class MyPage like this: @Page @PageBean(MyPageBean.class) public class MyPage . { } 2011/4/27 Gerhard Petracek gerhard.petra...@gmail.com hi robert, in your example you removed the usage of @PageBean regards, gerhard

Re: Problem with @PageBean

2011-04-27 Thread Robert Maier
Hi Gerhard, as I'm not a mercurial-user, how can I checkout (or clone) a particular branch? I couldn't find an answer to that using google. Best regards, Robert 2011/4/27 Gerhard Petracek gerhard.petra...@gmail.com hi robert, please update the weld-osgi bundle to v1.1.1 fyi: you can have

Re: Problem with @PageBean

2011-04-27 Thread Gerhard Petracek
hi robert, a dvcs (distributed version control system) like mercurial works a bit different. clone it - e.g.: hg clone https://hg.codespot.com/a/apache-extras.org/myfaces-codi-examples/ and now you have the whole repository and you can switch to the branch - in this case via: hg update

Re: Problem with @PageBean

2011-04-27 Thread Robert Maier
Hi Gerhard, thanks for the explanation. right now i successfully deployed the demo app to my glassfish. I downloaded the glassfish-installation file which installs and configures the server. Then i was able to build the application using mvn clean install -Denvironment jee6 as stated in the