• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
reply
    Bookmark Topic Watch Topic
  • New Topic