:
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
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;
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
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
, 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
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
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
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
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
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
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
.
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
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
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
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
- 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
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
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
://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
, 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
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
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}
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
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
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
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
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
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
.
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
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
30 matches
Mail list logo