• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 57
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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>
 
reply
    Bookmark Topic Watch Topic
  • New Topic