• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Bear Bibeault
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • salvin francis
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Jj Roberts

Take input from <h:inputText> in rich <modalPanel>

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Sir!

I am trying to take input value from an input box placed in Modal Panel. the input text should update password property in bin.java, but I am getting NULL value, when getPassword() is called. Here is the code for Modal Panel:





How to solve the problem? I am new in JSF.
 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI!,

Is "bin" declared properly as a managed bean in faces-config.xml?

More info about your error could be helpful!

Regards,
JM
 
raktim banerjee
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Yes bin is declared properly as a managed bean. ::
<managed-bean>
<managed-bean-name>bin</managed-bean-name>
<managed-bean-class>p1.bin</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>
 
eat bricks! HA! And here's another one! And a tiny ad!
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic