File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 53
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>
 
Don't get me started about those stupid light bulbs.
 
subject: Take input from <h:inputText> in rich <modalPanel>
 
Similar Threads
facelets modalPanel template question
Problem inside a richModalPanel
sequence of invoking modal windows in jsf
File browser button
Control the execution order in jsf