This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
jQuery in Action, 2nd edition
 
subject: Generating user details in form as ReadOnly
 
Similar Threads
Problem in Icefaces Input binding attribute
Problem with JSF
To Refresh the Dynamic data to the JSF Page automatically
how to get id of many many list within ace:dialog and c:foreach
HOW TO REFRESH THE FULL PAGE USING JSF ICE FACES AND TO GET THE UPDATED RECORDS INTO PAGE