-
1. Re: Page parameter question
limousyf Sep 26, 2007 10:57 AM (in response to limousyf)Hum ... ok.
Looked like
converterId="javax.faces.Long"
is more appropriate (the converter wasn't created but the exception was long is the traffic)
But now I have a weird error :javax.faces.el.EvaluationException: Cannot set value for expression '#{activitesByCollaborateurCrossData.realise}' to a new value of type java.lang.Long (...) Caused by: javax.ejb.EJBTransactionRolledbackException: java.lang.NullPointerException (...) Caused by: java.lang.NullPointerException at crossTable.action.activitesByCollaborateurCrossDataBean.init(activitesByCollaborateurCrossDataBean.java:110)
The line 110 is a line in my @Create method, with absolutely nothing to do with the page parameter.
It just crash here in fact ... -
2. Re: Page parameter question
limousyf Sep 26, 2007 11:17 AM (in response to limousyf)My page is still not working but it looks like when a page parameter goes bad (an exception during the setParam), all others parameters are not passed (which should be logical ...)
BTW, how can I pass my parameter as a boolean instead of a long ? -
3. Re: Page parameter question
dhinojosa Sep 26, 2007 11:54 AM (in response to limousyf)What does:
at crossTable.action.activitesByCollaborateurCrossDataBean.init(activitesByCollaborateurCrossDataBe an.java:110)
Look like? -
4. Re: Page parameter question
limousyf Sep 26, 2007 12:51 PM (in response to limousyf)In fact, this line was using another page param, inserted in an EntityHome and which was working well.
When the "realise" page parameter failed, all the others parameters seems to fail also. So the NPE was normal in fact.
I still can't pass that parameter :/ -
5. Re: Page parameter question
limousyf Sep 26, 2007 1:09 PM (in response to limousyf)To avoid converter problems, I changed my parameter to type String (and removed the "converterId" from my param).
But my problem remains: the parameter is not passed (I always have my dumb default value in it) whereas all the other params are actually passed (the one pointings in EntityHome).
Did I miss something ?
Do the EntityHome objects manage the parameters differently ?