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 Text Box after pressing button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Text Box after pressing button" Watch "Text Box after pressing button" New topic
Author

Text Box after pressing button

anwesh maity
Greenhorn

Joined: Oct 31, 2007
Posts: 20
how to view a textbox on the same web page after pressing of a command button in jsf???
[ October 31, 2007: Message edited by: Mark Spritzler ]
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

What exactly do you mean. If you press a "command" button, it most likely will submit the form, and therefore send a request, you can always have your navigation such that it goes back to the same page. Also you can have the Button call be an Ajax call if you want. What is the actual behavior that you want to see?

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
gunjan bohra
Ranch Hand

Joined: Mar 24, 2004
Posts: 40
You can simply done through <navigation-rule> tag in faces-config.xml ...
Mentioned the rule do your work ...enjoy
 
 
subject: Text Box after pressing button
 
Similar Threads
request.setAttribute() and request.getAttribute()
help out
Barcode scanning
reduce gap between image and button
WTE debug option