Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Generating user details in form as ReadOnly

 
RamaKrishna Thota
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you just show me the line number in the java files where you got the error
 
RamaKrishna Thota
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic