This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes JSF and the fly likes Take input from <h:inputText> in rich <modalPanel> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "Take input from <h:inputText> in rich <modalPanel>" Watch "Take input from <h:inputText> in rich <modalPanel>" New topic
Author

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

raktim banerjee
Greenhorn

Joined: Feb 13, 2011
Posts: 18
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

Joined: Mar 23, 2009
Posts: 55
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

Joined: Feb 13, 2011
Posts: 18

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>
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Take input from <h:inputText> in rich <modalPanel>
 
jQuery in Action, 3rd edition