Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Generating user details in form as ReadOnly  RSS feed

 
Greenhorn
Posts: 12
  • 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
 
Greenhorn
Posts: 19
  • 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
  • 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
 
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!