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
Register / Login


JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Generating user details in form as ReadOnly
 
Similar Threads
To Refresh the Dynamic data to the JSF Page automatically
Problem in Icefaces Input binding attribute
Problem with JSF
HOW TO REFRESH THE FULL PAGE USING JSF ICE FACES AND TO GET THE UPDATED RECORDS INTO PAGE
how to get id of many many list within ace:dialog and c:foreach