Dear all,
I am experiencing a strange behaviour with a composite component.
It seems to me that attributes values specified as el expressions are
computed only once, and very early, when the composite component
declaration specifies a componentType.
I published an example on
On 14/06/2012 12:40, Leonardo Uribe wrote:
Hi
I have checked the problem and what you need to do is implement your
properties into your component class using StateHelper methods,
otherwise the properties will not be saved and restored.
Take a look at:
Dear all,
I am experiencing what I think is a bug with Tomcat 6.0.33 / MyFaces
2.1.7 (I am also using CODI, but do not think this has an impact).
I posted a question on stackoverflow but had no answer yet :
On 23/07/2012 15:49, Leonardo Uribe wrote:
Hi
The stack trace shows it is a Tomcat EL bug. MyFaces is passing the
params properly. I would suggest to use another EL implementation to
see if it works, but first it is necessary to see if the listener
defines the parameter correctly or not. You
On 23/07/2012 17:53, Leonardo Uribe wrote:
Hi
Look the javadoc for composite:attribute targets property. It says
something like this:
Well, I did that and the bug still occurs.
I am trying to use jboss-el to avoid it...
Thx.
Ludovic
|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|
On 23/07/2012 18:22, l.pe...@senat.fr wrote:
On 23/07/2012 17:53, Leonardo Uribe wrote:
Hi
Look the javadoc for composite:attribute targets property. It says
something like this:
Well, I did that and the bug still occurs.
I am trying to use jboss-el to avoid it...
I finally used glashfish el
On 23/07/2012 18:46, l.pe...@senat.fr wrote:
On 23/07/2012 18:22, l.pe...@senat.fr wrote:
On 23/07/2012 17:53, Leonardo Uribe wrote:
Hi
Look the javadoc for composite:attribute targets property. It says
something like this:
Well, I did that and the bug still occurs.
I am trying to use jboss
On 23/07/2012 19:39, Leonardo Uribe wrote:
Hi
Thinking more about it, check if both composite components define the
attribute with method-signature. In theory, if there is a bug, it
should be possible to reproduce it excluding primefaces and using
actionListener or valueChangeListener instead.
On 24/07/2012 10:32, Leonardo Uribe wrote:
Hi
I tried the following example:
h:form id=mainForm
test:ajaxPanel2
onRowEditListener=#{ajaxListenerBean.ajaxRender}
value=#{ajaxListenerBean.value}/
/h:form
ajaxPanel2.xhtml
cc:interface
cc:attribute
On 23/07/2012 20:23, Rafael Pestano wrote:
Hi Ludovic,
i've had similar problem with closeListener of primefaces dialog inside
composite components, my workaround was as follows:
Dear Rafael,
thank you very much for this workaround.
I spent a great deal of time trying to find the real
Hi.
How can I configure the CODI project stage ? I crawled the doc but found
nothing. In the
org/apache/myfaces/extensions/cdi/core/api/projectstage/ProjectStage.java source
file, I found the following doc :
53 * pThe following resolution mechanism is used to determine the
current
On 08/10/2012 14:55, Mark Struberg wrote:
Hi Ludovic!
I'm using -Dfaces.PROJECT_STAGE=Development which works perfectly.
In production we have set it via JNDI in tomcats conf/context.xml:
Environment name=jsf/ProjectStage value=SystemTest
type=java.lang.String override=false/
On 20/11/2012 20:16, Gerhard Petracek wrote:
hi ludovic,
to get rid of
... no
org.apache.myfaces.extensions.cdi.core.api.provider.BeanManagerProvider in
place! ...
you have to ensure that all config-files and owb jar-files you are using
are packaged correctly.
you can compare your war-file
On 21/11/2012 10:24, Gerhard Petracek wrote:
hi ludovic,
then we would need a link to a package example which illustrates the issue.
Dear Gerhard,
while preparing this package, I constated that Mark was right and that
the problem was a combination of
an hibernate init failure combined with
On 30/01/2013 14:05, Giri Prasad wrote:
Hello All,
I have a very simple jsf page and a backing bean for this jsf, which is
implemented in hibernate using Netbeans.
Select button does properly populate the list box. Details button does
display the debug message in glassfish log, when no
Dear all,
I noticed that the constructor of the EventHandler.Listener taking two
parameters is private :
private Listener(MethodExpression methodExpOneArg,
MethodExpression methodExpZeroArg)
{
this.methodExpOneArg = methodExpOneArg;
On 31/01/2013 16:05, Giri Prasad wrote:
I recently had a problem with jsf+hibernate, with another control from the
selectOneXXX family (see
http://forum.primefaces.org/viewtopic.php?f=3t=27919#p88162 and later)
My problem was that I was comparing real objects and hibernate proxy
objects.
On 14/02/2013 12:27, Karl Kild�n wrote:
Hello!
We have decided to upgrade to myfaces. Problem: We have about 30 or so in
house components and a lot of things stopped working. Here's a concrete
problem we would really appreciate some help with:
we use onDoubleClick on our datatable and our
On 22/02/2013 14:19, Howard W. Smith, Jr. wrote:
Fair enough. Definitely not a concern of mine; seems not to be a real
concern to MyFaces Dev/users as well. :)
Dear all,
maybe a stupid question...
So, a f:view transient=true can be used to design a nice login form
leveraging JSF power ?
I do not succeed in passing EL expressions as attributes of a custom
component used in a tag file.
I could not find a clear doc on how to do that with EL 2.2.
My use case is the following :
1. a tag file taking attribute context as a parameter
2. inside the tag file, using a home made custom
in advance for your patience.
Ludovic
On 06/03/2013 10:22, l.pe...@senat.fr wrote:
I do not succeed in passing EL expressions as attributes of a custom
component used in a tag file.
I could not find a clear doc on how to do that with EL 2.2.
My use case is the following :
1. a tag file taking
On 06/03/2013 20:02, Leonardo Uribe wrote:
Hi
There are good reasons to avoid use VariableMapper. This class is used
when the EL expressions are built to store some values required to
resolve the expression later, making the expression not cacheable,
because the content of VariableMapper could
Dear all,
how can I programatically instantiate a composite component or a tag
component from a custom component ?
I proceed this way to instantiate a composite component, but I do not
really like it as I use reflection to hijack
FaceletViewDeclarationLanguage methods...
public
On 13/05/2013 14:35, Thomas Andraschko wrote:
Hi Christian,
i don't understand your solution exactly.
Whats the difference?
It would still store the #{cc.attrs.xxx} expression and #{cc} cant be
evaluated without #pushComponentToEL(cc).
Also #createView should be avoided for such a request IMO
Dear all,
this is certainl a very simple question for most of you but...
... how do you configure myfaces logging ?
I usually use log4j for my apps.
I tried do create a commons-logging.properties file containing
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
I
Dear all,
what documents do you suggest to read to get an idea of what's new in
JSF 2.2 and in our favourite JSF implementation, MyFaces ?
Best regards,
Ludovic
|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|
On 18/01/2014 09:14, Michael Kurz wrote:
You can have a look at my blog http://jsflive.wordpress.com/. I wrote
some articles about JSF 2.2 features.
Thank you, that is exactly the kind of articles I am looking for.
Best regards,
Ludovic
|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|
Dear all,
I am starting to really use JSF 2.2. I am trying to use Faces Flows. I
am starting with a very simple flow, whose name is flow1.
So, under src/main/webapp, I have a flow1 directory containing
flow1-flow.xml
flow1.xhtml
flow1b.xhtml
flow1-flow.xml contains :
?xml version=1.0
On 11/02/2014 03:30, Leonardo Uribe wrote:
Hi
Thank you for your quick reply.
2014-02-10 11:56 GMT-05:00 l.pe...@senat.fr l.pe...@senat.fr:
Dear all,
I am starting to really use JSF 2.2. I am trying to use Faces Flows. I am
starting with a very simple flow, whose name is flow1.
So, under src
On 11/02/2014 10:28, l.pe...@senat.fr wrote:
On 11/02/2014 03:30, Leonardo Uribe wrote:
[...]
@FlowScoped annotation is for CDI only, so it will not work for JSF
managed beans. In your case, I believe the bean is instantiated but it
is not stored in any context, so once is created
On 11/02/2014 14:51, l.pe...@senat.fr wrote:
On 11/02/2014 10:28, l.pe...@senat.fr wrote:
On 11/02/2014 03:30, Leonardo Uribe wrote:
[...]
@FlowScoped annotation is for CDI only, so it will not work for JSF
managed beans. In your case, I believe the bean is instantiated but it
is not stored
On 12/02/2014 00:42, Thomas Andraschko wrote:
Can't you just switch to DS?
I gave a look to «migrate codi 1.x to deltaspike 0.5» by someone who
seems to know a bit on this topic, posts on this mailing list and is
also known a Gerhard Petracek :-)
On 12/02/2014 10:22, Gerhard Petracek wrote:
hi ludovic,
@ProjectStageActivated is called @Exclude in deltaspike and you can just
drop @Advanced.
ok, thank you.
I still had the same situation with deltaspike (0.5 + your
os890-cdi-ext-jsf2-module-api and os890-cdi-ext-jsf2-module-impl or
On 12/02/2014 10:37, l.pe...@senat.fr wrote:
On 12/02/2014 10:22, Gerhard Petracek wrote:
hi ludovic,
@ProjectStageActivated is called @Exclude in deltaspike and you can just
drop @Advanced.
ok, thank you.
I still had the same situation with deltaspike (0.5 + your
os890-cdi-ext-jsf2-module
On 12/02/2014 15:13, Gerhard Petracek wrote:
hi ludovic,
the add-on is for: codi 1.0.5 - deltaspike 0.5 (that's the reason for:
1.0.5_0.5_01)
please don't use it with 0.6 (currently only @ViewAccessScoped is missing
in ds)
ok, I will do that as I do not need clientwindow support as long as I do
On 13/02/2014 19:01, Leonardo Uribe wrote:
Hi
Thanks for the example. It helps to clarify the problem. The
definition of the flow has a problem:
@Produces
@FlowDefinition
public Flow defineFlow(@FlowBuilderParameter FlowBuilder flowBuilder) {
String flowId = flux;
Dear all,
I am doing something dirty in my code. I dynamically instantiate and add
tag components to my component tree, according to some information that
I have at runtime.
My instantiation method looks like :
public static UIComponent instantiateTagComponent(Location loc,
String
On 05/06/2014 14:59, Georg Füchsle wrote:
Hallo,
my Application is deployed inside a Firewall and/or behind a Load-Balancer.
My application provies a web-app and an web-service. At some time i have to
call my own web-service from the web-app. In this case I have to use the
internal URL of my
On 05/06/2014 18:31, Georg Füchsle wrote:
Hallo Ludovic,
thanks for Your answer. But it didn't work for me. In my example the header:
String forwardedFor = req.getHeader(X-Forwarded-For)
was null.
I also found this link:
On 05/06/2014 07:27, Leonardo Uribe wrote:
Hi
Use the standard vdl.createComponent(...) included since JSF 2.2. It has
the necessary code to do the trick properly. Please note in Myfaces this
method has been extend to support facelet tags too. It should work with the
view pool.
Thank you
(republished here following the advice of Gerhard Petracek on
us...@deltaspike.apache.org)
Dear all,
I have the following NPE when view pooling is activated and
CACHE_EL_EXPRESSIONS is set to alwaysRecompile :
java.lang.NullPointerException at
On 19/06/2014 17:22, Leonardo Uribe wrote:
Hi
I have checked the problem in deep and I was not able to reproduce the
problem. The reason is view pooling algorithm saves UIViewRoot state
fully (markInitialState is set to false, and the state is used later
to clone the views), and that also
On 04/07/2014 06:52, Paul Spencer wrote:
MyFaces 2.2.3 2.2.4
jetty-maven-plugin:8.1.15.v20140411
FlowScope beans are being added to the FlowScope. I suspect this is related to
the message below.
org.apache.myfaces.util.ExternalSpecifications isCDIAvailable
INFO: MyFaces CDI
Dear all,
I just finished to struggle with the display of nullable Long or Integer
values. I am using Primefaces 5.0.1 / MyFaces 2.2.4 / OpenWebBeans 1.2.2
/ Tomcat 7.0.39.
Those values are the result of the evaluation of EL expressions that I
create with the following function :
On 16/07/2014 19:15, titou10 titou10 wrote:
Maybe you could try to add property
org.apache.el.parser.COERCE_TO_ZERO=false to your JVM
Denis/MTL
No, COERCE_TO_ZERO is useful in the opposite way, when submitting the value.
BTW, I already use it.
Thx anyway.
Ludovic
|
| AVANT D'IMPRIMER, PENSEZ
On 20/08/2014 09:41, Marc Heinz wrote:
Thanks for the quick answer!
We tried disabling PSS but this actually broke several other things, so we
would prefer not to touch it right now.
Setting the flag org.apache.myfaces.REMOVING_COMPONENTS_BUILD however
seems to do the trick... (we though about
On 12/03/2015 14:59, Romain Manni-Bucau wrote:
Can you share a project reproducing it?
I could not...
Well, I found a dirty workaround, so let's forget it.
Ludovic
|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|
Dear all,
I have a legacy application which performs hibernate session attachement
in a web filter.
It works, excepting, sometimes, on a redirect by the container to the
login page.
In my web.xml, I have :
login-config
auth-methodFORM/auth-method
form-login-config
On 01/07/2015 10:08, khush N wrote:
Hi,
Thanks for the quick reply!
Sorry, I do not have a sample project. But c:forEach aren't working on a
simplest of page for me :(
Did you put your code inside a h:form ?
Ludovic
|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|
On 01/07/2015 09:42, khush N wrote:
[...]
Can anyone please help me in understanding as to why the c:forEach tag
is not working. I have huge code which is using forEach tag. With
upgrade, I will have to remove every forEach if it is no more
supported in JSF2 :( Thanks in advance!
Do you have
On 01/07/2015 10:01, khush N wrote:
Hi Thomas,
Thank you for the quick reply!
I am using JSF 2.2. As mentioned in my previous email, I have huge code
base which is using c:forEach tag. So, it would be really great if I can
figure out the real issue with c:forEach.
If there is not other way to
Dear all,
I randomly get the following exception in one of my apps :
16-Nov-2015 16:36:35.980 SEVERE [http-apr-8444-exec-10]
org.omnifaces.exceptionhandler.FullAjaxExceptionHandler.logException
FullAjaxExceptionHandler: An exception occurred during rendering JSF
ajax response. Error page
On 17/11/2015 01:21, Howard W. Smith, Jr. wrote:
On Mon, Nov 16, 2015 at 2:59 PM, l.pe...@senat.fr <l.pe...@senat.fr> wrote:
java.lang.IllegalStateException: Must be called before the start element
is closed (attribu
On 17/11/2015 13:11, l.pe...@senat.fr wrote:
On 17/11/2015 01:21, Howard W. Smith, Jr. wrote:
On Mon, Nov 16, 2015 at 2:59 PM, l.pe...@senat.fr <l.pe...@senat.fr>
wrote:
java.lang.IllegalStateException: Must be called before the start
element
is closed (attribu
On 18/11/2015 17:53, l.pe...@senat.fr wrote:
On 17/11/2015 13:11, l.pe...@senat.fr wrote:
On 17/11/2015 01:21, Howard W. Smith, Jr. wrote:
On Mon, Nov 16, 2015 at 2:59 PM, l.pe...@senat.fr <l.pe...@senat.fr>
wrote:
java.lang.IllegalStateException: Must be called before the start
e
On 19/11/2015 11:01, l.pe...@senat.fr wrote:
On 18/11/2015 17:53, l.pe...@senat.fr wrote:
On 17/11/2015 13:11, l.pe...@senat.fr wrote:
On 17/11/2015 01:21, Howard W. Smith, Jr. wrote:
On Mon, Nov 16, 2015 at 2:59 PM, l.pe...@senat.fr
<l.pe...@senat.fr>
Hi.
I am starting to use "JSON Web Tokens" ( https://jwt.io/ ).
I implemented a tomcat valve checking those tokens and generating new
ones transparently when another valve (such as BasicAuthenticator) takes
care of the initial authentication.
This stuff works and I can use it in a JS client
57 matches
Mail list logo