Re: nean producer and creation

2011-07-08 Thread Pieter Martin
Ok, thanks Pieter On 08/07/2011 09:14, Gerhard Petracek wrote: hi pieter, no - that's specified by cdi itself. please don't place code in the constructor (use @PostConstruct instead). regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in Englis

Re: nean producer and creation

2011-07-08 Thread Gerhard Petracek
hi pieter, no - that's specified by cdi itself. please don't place code in the constructor (use @PostConstruct instead). regards, gerhard http://www.irian.at Your JSF powerhouse - JSF Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2011/7/8

RE: nean producer and creation

2011-07-07 Thread Pieter Martin
Hi, I have a the following producer method @Named("contextRoot") @Produces @ConversationScoped @ContextRoot public CmApplication getContextRoot() { return (CmApplication) db.getCompositeRoots().get(0); } and I reference it in jsf value="#{contextRoot.name}" />