This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Text Box after pressing button" Watch "Text Box after pressing button" New topic

Text Box after pressing button

anwesh maity

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

Joined: Feb 05, 2001
Posts: 17249

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?


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