Currently I'm using the JSF bean as Session scoped, so everything ok.
But when i change to request scoped, and make the Spring bean transient in
my JSF bean, nullpointer because Spring bean is not saved when serialized.
Any of you have any work around for this, headache...
--
View this message
Currently I'm using JSF myfaces, do I need to use Spring + Hibernate? Find
them quite complex to use...
--
View this message in context:
http://www.nabble.com/Need-to-use-Spring-t1562778.html#a4244067
Sent from the MyFaces - Users forum at Nabble.com.
Still stuck. Deadline getting near.
Anyone has any master detail codes to share, will be much appreciated. In
deep trouble now.
--
View this message in context:
http://www.nabble.com/savestate-problem%2C-help%21%21-t1478833.html#a4021076
Sent from the MyFaces - Users forum at Nabble.com.
hi, not sure about your method.
But i use the following method in master detail:
I remove the datamodel, use arraylist so that it can be serializable. Use
savestate to store the arraylist. Then use updateactionlistener to fire the
current row to the bean.
t:saveState
Thanks for your reply. I managed to get it work the following way:
i use the following method in master detail:
I remove the datamodel, use arraylist so that it can be serializable. Use
savestate to store the arraylist. Then use updateactionlistener to fire the
current row to the bean.
I'm using bean with sorting:
public UserBean() {
//user_id is the default field for sorting
super(user_id);
}
When i put this bean in savestate, i encounter:
javax.faces.FacesException: java.io.InvalidClassException:
com..admin.UserBean; no valid
hi all,
My listdatamodel is not getting saved. Whenever I clicked on the
datascroller button, I have tried so many times, either i get serialiable
error or illegalexception -10 error, base is null exception..
Currently, I have the following in my jsp.
t:saveState value=#{processBean} /,
hi all,
My listdatamodel is not getting saved. Whenever I clicked on the
datascroller button, I have tried so many times, either i get serialiable
error or illegalexception -10 error, base is null exception..
Currently, I have the following in my jsp.
t:saveState value=#{processBean} /,
Let me put this simply:
Previously, I'm using session scope, now i changed to request scope. I'm
using ListDataModel wrapping around an arraylist. Also using datatable and
datascroller. I'm using savestate outside of f:view: t:saveState
value=#{processBean} /
Whenever i clicked page 2 on
I have managed to make it work if STATE_SAVING_METHOD is server, but it is
storing to session.
I'm using wrappedData to prevent the serializable error on my listdatamodel:
t:saveState value=#{processBean.processResultsModel.wrappedData} /
But when i click on the forward and backward buttons of
hi all,
I'm using datatable with sorting option for quite a number of pages, with
session beans for nearly all beans.
If I switch to use request scope bean, the sorting will not work for the
datatable.
Is it alright that nearly all my beans are session scoped? Or is there any
other option such
hi,
I changed the filter pattern in web.xml from /user/* to /*.jsf, then it goes
into infinite loop, keep calling login.jsf.
I tried checking the uri with endWith login.jsf and login.jsp, then stop
looping, but images and css files cannot come thru.
Anyone has a filter to spare?
hi,
Thanks for your help.
I have tried, but weird thing is that the css file and images files cannot
be seen on the login page...
The filter take out these css and images?
--
View this message in context:
http://www.nabble.com/RE%3A-Servlet-Filter--t8978.html#a3800292
Sent from the MyFaces
hi all,
Currently, i'm using JDBC statements, and using Oracle db. But got a feeling
these JDBC statements are going to be Oracle specific... Please help me
confirm this is true?
If using Hibernate, will it tie to Oracle db or it will be regardless of the
backend db, it can just run in any db
I'm very new to spring and hibernate.
Appreciate someone can let me know why Spring is needed as the middle tier
between faces and hibernate?
Is faces able to access Hibernate directly?
Currently I'm only using Myfaces and using jdbc to access database...
--
View this message in context:
hi,
I have read thru appfuse site. So to integrate spring, hibernate into jsf, I
need to create some dao interface and imple object, xml file mapped to table
for hibernate.
For spring, i need to create manager interface and imple object.
So jsf will talk to spring and spring will talk to
hi all, thanks for replying.
I can understand using hibernate will remove jdbc coding. But currently, I'm
using Myfaces, it already has all the linking between webpages in
xx-config.xml, web.xml, so is there any need for Spring? Or maybe i should
go n read up more on Spring :) but just want to
hi all, thanks for replying.
I can understand using hibernate will remove jdbc coding. But currently, I'm
using Myfaces, it already has all the linking between webpages in
xx-config.xml, web.xml, so is there any need for Spring? Or maybe i should
go n read up more on Spring :) but just want to
hi all, thanks for replying.
I can understand using hibernate will remove jdbc coding. But currently, I'm
using Myfaces, it already has all the linking between webpages in
xx-config.xml, web.xml, so is there any need for Spring? Or maybe i should
go n read up more on Spring :) but just want to
Currently I'm using only myfaces to do my application. Is it advisable to use
Spring and Hibernate? Can I proceed without them?
Currently, whenever connect to db to do something, I'm writing jdbc
statements, not using hibernate.
And never use Spring.
Only 1 jsp page linked to 1 managed bean.
hi all,
I have used log4j for logging, but the messages from below also appear on my
log file, i only want those messages from my application and not messages
from faces technology
Anyone know how to filter off these system faces messages?
21 matches
Mail list logo