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 On a button click need to load a select one menu with required= 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 "On a button click need to load a select one menu with required="true" to some components" Watch "On a button click need to load a select one menu with required="true" to some components" New topic
Author

On a button click need to load a select one menu with required="true" to some components

Babu Raj K R
Greenhorn

Joined: Jul 17, 2008
Posts: 13
Hi,

1) I have a text field, one button and a select one menu.
2) Its actually a search option, user will enter some text inside text field and click button, then those data will be loaded to the select one menu.
3) Also i have some text fields with attribute required="true".
4) Actually this is an add/edit organization form.
5) User can create new organization or search and edit existing organization.
6) But now what is happening is search button is a command button, so when i click search button the validation of the text field is happening and no action is going to the backing bean.
7) So what i required is when i click on the search button, no validation should be called, but action need to go to the backing bean..
8) please provide me a solution.
9) please see the source code attached here

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: On a button click need to load a select one menu with required="true" to some components