Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
raktim banerjee
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.
 
Juan Manuel Diaz
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>
 
No prison can hold Chairface Chippendale. And on a totally different topic ... my stuff:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!