Re: CODI issue with CDI Observer

2014-03-24 Thread Rafael Pestano
: Gerhard, i would add the null check but we should do it in AbstractContext. Could it break anything? 2014-03-23 22:57 GMT+01:00 Rafael Pestano rmpest...@yahoo.com.br: Hi again, i just solved it in my custom scope by checking the null contextual: @Override     public T T

CODI issue with CDI Observer

2014-03-23 Thread Rafael Pestano
Hi guys, i'm facing an issue with CODI on Glassfish 4 which i can't observe CDI events with notifyObserver = Reception.IF_EXISTS if my bean uses a CODI scope, here is some code: @ViewAccessScoped @Named public class MyBean implements Serializable{     @Inject     EventMyEvent myEvent;    

Re: CODI issue with CDI Observer

2014-03-23 Thread Rafael Pestano
and Courses in English and German Professional Support for Apache MyFaces 2014-03-23 18:23 GMT+01:00 Rafael Pestano rmpest...@yahoo.com.br: Hi guys, i'm facing an issue with CODI on Glassfish 4 which i can't observe CDI events with notifyObserver = Reception.IF_EXISTS if my bean uses

Re: CODI issue with CDI Observer

2014-03-23 Thread Rafael Pestano
and German Professional Support for Apache MyFaces 2014-03-23 22:15 GMT+01:00 Rafael Pestano rmpest...@yahoo.com.br: Hi gerhard, same thing with ds 0.6: [2014-03-23T18:14:20.514-0300] [glassfish 4.0] [WARNING] [] [javax.enterprise.web.core] [tid: _ThreadID=20 _ThreadName=http-listener-1(1

Re: CODI issue with CDI Observer

2014-03-23 Thread Rafael Pestano
, 23 de Março de 2014 18:48, Rafael Pestano rmpest...@yahoo.com.br escreveu: Hi Gerhard, i can confirm its a GF4 issue, justed added a simple custom scope and received the same NPE in the scope GET method: @Override     public T T get(final ContextualT contextual, final CreationalContextT

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-20 Thread Rafael Pestano
you can also use CODI @Advanced and then inject anything in the converter, see [1]. i hope it helps. [1]:https://cwiki.apache.org/EXTCDI/jsf-usage.html#JSFUsage-DependencyInjection   Att,  Rafael M. Pestano Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul Graduando em

Re: Migrating to CDI: injecting stateless/facade in Converter via facescontext

2012-11-20 Thread Rafael Pestano
you can also use CODI @Advanced and then inject anything in the converter, see [1]. i hope it helps. [1]:https://cwiki.apache.org/EXTCDI/jsf-usage.html#JSFUsage-DependencyInjection Att,  Rafael M. Pestano Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul Graduando em

Re: Passing method parameters to nested composite component

2012-07-23 Thread Rafael Pestano
Hi Ludovic, i've had similar problem with closeListener of primefaces dialog inside composite components, my workaround was as follows:  composite:interface componentType=yourpackage.ModalComposite  composite:attribute name=closeListener method-signature=void

Re: Custom tag

2012-06-29 Thread Rafael Pestano
both syntax in MyFaces with tons of tests: http://svn.apache.org/repos/asf/myfaces/core/trunk/impl/src/test/resources/org/apache/myfaces/view/facelets/tag/composite/ and it works without problem. regards, Leonardo Uribe 2012/6/29 Rafael Pestano rmpest...@yahoo.com.br: again

Re: Custom tag

2012-06-28 Thread Rafael Pestano
you can try: cc:implementation     h:commandButton                 value=Ok rendered=#{not empty cc.attrs.action and empty cc.attrs.actionListener}                 action=#{cc.attrs.action}                    /   h:commandButton                 value=Ok rendered=#{not empty 

Re: Custom tag

2012-06-28 Thread Rafael Pestano
http://twitter.com/realpestano - Mensagem original - De: Rafael Pestano rmpest...@yahoo.com.br Para: MyFaces Discussion users@myfaces.apache.org Cc: Enviadas: Quinta-feira, 28 de Junho de 2012 23:12 Assunto: Re: Custom tag you can try: cc:implementation     h:commandButton

Re: OWB + Hibernate + Tomcat 7

2012-06-02 Thread Rafael Pestano
. Christian 2012/6/2 Rafael Pestano rmpest...@yahoo.com.br Hi everyone, im trying to migrante a simple Spring crud  app to OWB running in tomcat 7.0.27, CDI container starts without problems but im facing some problems with Hibernate, here is the startup log + error when i access the login page

OWB + Hibernate + Tomcat 7

2012-06-01 Thread Rafael Pestano
Hi everyone, im trying to migrante a simple Spring crud  app to OWB running in tomcat 7.0.27, CDI container starts without problems but im facing some problems with Hibernate, here is the startup log + error when i access the login page: http://pastebin.com/UTpuk18p the application can be

Re: [CODI] ViewAccessScoped beans without windowId in URL

2012-05-10 Thread Rafael Pestano
Hi Pavel, WindowContextConfig#isUrlParameterSupported should be enough, does serverside demo  work for you?  http://people.apache.org/~gpetracek/myfaces/codi/demos/serverside_demo_jsf12.zip keep in mind that the bean will not survive to a redirect. I hope it helps.  Att, Rafael M. Pestano

Re: MyFaces and CODI

2012-03-21 Thread Rafael Pestano
in English and German Professional Support for Apache MyFaces 2012/3/18 Rafael Pestano rmpest...@yahoo.com.br hi gerhard, tried that but got the same error, the generated war can be found here: http://bit.ly/xvbtu7 Mark, thanks for the reply, ill try that. Att, Rafael M. Pestano

Re: MyFaces and CODI

2012-03-18 Thread Rafael Pestano
- Original Message -   From: Rafael Pestano rmpest...@yahoo.com.br   To: MyFaces Discussion users@myfaces.apache.org   Cc:   Sent: Saturday, March 17, 2012 4:34 PM   Subject: Re: MyFaces and CODI   yeap, i also deployed the server side demo in tomcat and it works as expected

Re: MyFaces and CODI

2012-03-17 Thread Rafael Pestano
and Courses in English and German Professional Support for Apache MyFaces 2012/3/15 Rafael Pestano rmpest...@yahoo.com.br Hi Gehard, i didnt got the ideia, do you have any example or a link showing this approach? what i have got til now is: 1 - WindowContextIdHolderComponent is a jsf

Re: MyFaces and CODI

2012-03-15 Thread Rafael Pestano
a look at e.g. [1] which uses an internal fallback. regards, gerhard [1] http://s.apache.org/SAs http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/3/15 Rafael Pestano rmpest

Re: MyFaces and CODI

2012-03-15 Thread Rafael Pestano
://code.google.com/p/jsf-conventions-framework/ De: Rafael Pestano rmpest...@yahoo.com.br Para: MyFaces Discussion users@myfaces.apache.org Enviadas: Quinta-feira, 15 de Março de 2012 8:45 Assunto: Re: MyFaces and CODI if you don't need redirects, you could have

Re: MyFaces and CODI

2012-03-15 Thread Rafael Pestano
, Development and Courses in English and German Professional Support for Apache MyFaces 2012/3/15 Rafael Pestano rmpest...@yahoo.com.br well its not 100% yet ;(...on every ajaxCall my ViewAccessScoped bean is being instantiated, im using a4j, there is any known issue with it? for example

Re: MyFaces and CODI

2012-03-15 Thread Rafael Pestano
on the server-side (for every jsf request which starts the jsf request-lifecycle). regards, gerhard Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/3/15 Rafael Pestano rmpest...@yahoo.com.br Hi again

Re: MyFaces and CODI

2012-03-14 Thread Rafael Pestano
Hi Gerhard, i successfuly added codi and openwebbeans to an application running on weblogic 11g however its a  legacy application which uses frames, basicaly we have a menu on the left frame that targets the center frame, something like: h:commandLink value=menuLink action=#{myBean.init}

Re: MyFaces and CODI

2012-03-14 Thread Rafael Pestano
powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/3/14 Rafael Pestano rmpest...@yahoo.com.br Hi Gerhard, i successfuly added codi and openwebbeans to an application running on weblogic 11g however its a  legacy

Re: MyFaces and CODI

2012-03-14 Thread Rafael Pestano
the restrictions of browsers - you have to choose what you really need. regards, gerhard http://www.irian.at Your JSF/JavaEE powerhouse - JavaEE Consulting, Development and Courses in English and German Professional Support for Apache MyFaces 2012/3/15 Rafael Pestano rmpest...@yahoo.com.br i see, i have

Re: Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.

2012-03-13 Thread Rafael Pestano
just a question, why do you have @Model,@Named and @ViewAccessScoped in the same bean? i think you need @model OR @Named and @ViewAccessScoped or im wrong?   Att, Rafael M. Pestano Desenvolvedor Java Cia. de Processamento de Dados do Rio Grande do Sul Graduando em Ciência da Computação UFRGS

Re: Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.

2012-03-12 Thread Rafael Pestano
You can try to remove jsf-api.jar and jsf-impl.jar from glassfish, if your app still running you are using myfaces ;). RI jars are under GLASSFISH_HOME\glassfish\modules, also make sure to delete cache folder in GLASSFISH_HOME\glassfish\domains\domain1\osgi-cache Att, Rafael M. Pestano

Re: Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-implementations.

2012-03-12 Thread Rafael Pestano
da Computação UFRGS @realpestano http://code.google.com/p/jsf-conventions-framework/ - Mensagem original - De: José Luis Cetina maxtorz...@gmail.com Para: MyFaces Discussion users@myfaces.apache.org; Rafael Pestano rmpest...@yahoo.com.br Cc: Enviadas: Segunda-feira, 12 de Março de 2012

Open WebBeans + Glassfish

2011-12-10 Thread Rafael Pestano
Hello everyone,   i'm trying to run OWB on glassfish maybe you have some hints, here is the post from glassfish forum:   www.java.net/forum/topic/glassfish/glassfish/glassfish-open-web-beans thanks in advance. Rafael M. Pestano

CDI + MyFaces + Hibernate on Glassfish 3.1.1

2011-11-08 Thread Rafael Pestano
.     De: Rafael Pestano rmpest...@yahoo.com.br Para: MyFaces Discussion users@myfaces.apache.org Enviadas: Segunda-feira, 7 de Novembro de 2011 9:07 Assunto: Re: CDI issue with MyFaces on Glassfish 3.1.1 Hi there, I'm also trying to do that(same steps) but i got

Re: CDI issue with MyFaces on Glassfish 3.1.1

2011-11-07 Thread Rafael Pestano
Hi there, I'm also trying to do that(same steps) but i got another error while deploing my app:  Exception while loading the app : org.jboss.weldx.transaction.org$jboss$weld$bean-WEB-INF$lib$myfaces-extcdi-bundle-jsf20-1$0$1-Built-in-UserTransaction_$$_WeldProxy cannot be cast to