Package org.xrace.view.formcomponents

Examples of org.xrace.view.formcomponents.SearchOption


  }

  protected void createComponents()
  {
    final SearchOption[] options = new SearchOption[]
    { new SearchOption("1", "Numero de facture"),
        new SearchOption("2", "Numero de transaction") };

    final ChoiceRenderer choiceRenderer = new ChoiceRenderer("label", "key");

    this.add(new DropDownChoice("searchby", new PropertyModel(this,
        "searchBy"), Arrays.asList(options), choiceRenderer));
View Full Code Here


  private List<T> doSearch()
  {
    if (searched)
    {
      final SearchOption searchBy = model.getSearchBy();
      final Object keyword = model.getKeyword();
      return searchSupport.search(searchBy, keyword);
    }
    else
    {
View Full Code Here

TOP

Related Classes of org.xrace.view.formcomponents.SearchOption

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.