This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generating user details in form as ReadOnly
 
Similar Threads
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
Problem with JSF
To Refresh the Dynamic data to the JSF Page automatically
Problem in Icefaces Input binding attribute