aspose 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 Soft Skills this week in the Jobs Discussion 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: 17260
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Text Box after pressing button