Two Laptop Bag
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
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: 17276

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 - iOS Apps
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
I agree. Here's the link:
subject: Text Box after pressing button
jQuery in Action, 3rd edition