0 Replies Latest reply on May 24, 2010 10:05 AM by Anitha Raj

    How to create customised search

    Anitha Raj Newbie


      I have a small problem in search functionality. I have created an application using seam-gen. I have two tables customer and location. Customer table is at the higher level. Customer id is used as a foreign key in location. Both the tables are related. I have customerlist.xhtml file generated by seam gen which does the basic search. Now i want to add another field Location name in the search filter and search based on the location name entered. How to do this? Should i add any new restrictions, add new methods? what should i do? What are the modifications should be done in .xhtml files?

      Since i'm new to these explain me in detail.. If possible explain me with a sample code.