*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Generating user  details in form as ReadOnly Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Generating user  details in form as ReadOnly" Watch "Generating user  details in form as ReadOnly" New topic
Author

Generating user details in form as ReadOnly

RamaKrishna Thota
Greenhorn

Joined: May 17, 2011
Posts: 12
When i select Manager from select box,i want to get the all manager details from database as ReadOnly in my Form

But i encountered with this error

/driverRegistration.jspx @60,143 valueChangeListener="#{driverRegistrationBackingBean.selectedManager}": org.hibernate.LazyInitializationException: could not initialize proxy - no Session



This is My DAO method


This is My Backing Bean
Daia Yum
Greenhorn

Joined: Mar 23, 2009
Posts: 19
can you just show me the line number in the java files where you got the error


Daia
RamaKrishna Thota
Greenhorn

Joined: May 17, 2011
Posts: 12
Daia Yum wrote:can you just show me the line number in the java files where you got the error



<ice:selectOneMenu style="width:150px;" binding="#{driverRegistrationBackingBean.managerMenu}"
disabled="#{driverRegistrationBackingBean.disableManagerMenu}" valueChangeListener="#{driverRegistrationBackingBean.selectedManager}">

This line
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generating user details in form as ReadOnly